Les commandes pour installer Diffoniq 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 CSitteSoftwaretechnik.Diffoniq -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CSitteSoftwaretechnik.Diffoniq -e --silentwinget uninstall --id CSitteSoftwaretechnik.Diffoniq -e --silentPar installateur
64 bits · MSI · Tous les utilisateurs · en-US
Installation silencieuse
msiexec /i Diffoniq-2.5.0-x64.msi /qn /norestartÉcrire un journal
msiexec /i Diffoniq-2.5.0-x64.msi /qn /norestart /l*v "%TEMP%\diffoniq-install.log"Désinstallation
msiexec /x {23DF07DB-4AA3-4F38-802D-05610BBDBBB2} /qn /norestart- Code produit MSI
- {23DF07DB-4AA3-4F38-802D-05610BBDBBB2}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{23DF07DB-4AA3-4F38-802D-05610BBDBBB2}
- UpgradeCode
- {B9E4F2A7-3C61-4D58-9F2E-1A7C6D0B83E5}
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-diffoniq.ps1
$url = 'https://diffoniq.com/files/Diffoniq-2.5.0-x64.msi'
$sha256 = 'FE29EF6A7D296D416D41BF762F0E3497CA4F484946A1C863B3995F0737FB77D7'
$file = Join-Path $env:TEMP 'Diffoniq-2.5.0-x64.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