أوامر لتثبيت برنامج Plotly Studio دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Plotly.Studio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Plotly.Studio -e --silentwinget uninstall --id Plotly.Studio -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i plotly_studio_x64_no_update_v0.0.85.msi /qn /norestartكتابة ملف سجل
msiexec /i plotly_studio_x64_no_update_v0.0.85.msi /qn /norestart /l*v "%TEMP%\plotly-studio-install.log"إلغاء التثبيت
msiexec /x {20FB3D3C-572A-4286-B687-51C9F0D96ECD} /qn /norestart- رمز منتج MSI
- {20FB3D3C-572A-4286-B687-51C9F0D96ECD}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{20FB3D3C-572A-4286-B687-51C9F0D96ECD}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-plotly-studio.ps1
$url = 'https://plotly-cloud-production-desktop-installer-bucket.s3.amazonaws.com/plotly_studio_x64_no_update_v0.0.85.msi'
$sha256 = '7281CF170CD2C28A94441A78F63560E61BAA41669B0C1C89720DDCE6CAB1C10D'
$file = Join-Path $env:TEMP 'plotly_studio_x64_no_update_v0.0.85.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait