Les commandes pour installer Plotly Studio sans aucune question, le désinstaller et le détecter depuis un outil de déploiement. Une commande n’apparaît que si elle est certaine : issue du manifeste ou valeur par défaut documentée de la technologie d’installation.
Guide associé: Installation silencieuse : MSI, NSIS, Inno Setup · Désinstaller un programme via le registre ou PowerShell
Avec 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 --silentPar installateur
64 bits · MSI · en-US
Installation silencieuse
msiexec /i plotly_studio_x64_no_update_v0.0.85.msi /qn /norestartÉcrire un journal
msiexec /i plotly_studio_x64_no_update_v0.0.85.msi /qn /norestart /l*v "%TEMP%\plotly-studio-install.log"Désinstallation
msiexec /x {20FB3D3C-572A-4286-B687-51C9F0D96ECD} /qn /norestart- Code produit MSI
- {20FB3D3C-572A-4286-B687-51C9F0D96ECD}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{20FB3D3C-572A-4286-B687-51C9F0D96ECD}
PowerShell : télécharger, vérifier, installer
Télécharge le fichier officiel, vérifie son empreinte SHA256 et l’installe en mode silencieux.
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