Commando’s om Plotly Studio zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met 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 --silentPer installer
64-bits · MSI · en-US
Stille installatie
msiexec /i plotly_studio_x64_no_update_v0.0.95.msi /qn /norestartLogbestand schrijven
msiexec /i plotly_studio_x64_no_update_v0.0.95.msi /qn /norestart /l*v "%TEMP%\plotly-studio-install.log"Verwijderen
msiexec /x {C81EB675-C57F-41C6-A082-4B96BF622ABD} /qn /norestart- MSI-productcode
- {C81EB675-C57F-41C6-A082-4B96BF622ABD}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C81EB675-C57F-41C6-A082-4B96BF622ABD}
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-plotly-studio.ps1
$url = 'https://plotly-cloud-production-desktop-installer-bucket.s3.amazonaws.com/plotly_studio_x64_no_update_v0.0.95.msi'
$sha256 = 'FAEE8DB9430013339A66BA589DE41AEE27C575BEE8DDB28D2AE22BA436407A8F'
$file = Join-Path $env:TEMP 'plotly_studio_x64_no_update_v0.0.95.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