Ordres per instal·lar CHERRY Utility Software sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id CHERRY.UTILITY -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CHERRY.UTILITY -e --silentwinget uninstall --id CHERRY.UTILITY -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
CHERRY_Utility_Software_x32-3.12.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
CHERRY_Utility_Software_x32-3.12.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cherry-utility-software"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BAB5DAF3-92D2-4A22-ABD0-E55EAE2C6CE6}_is1
- Carpeta d’instal·lació
- %ProgramFiles(x86)%\CHERRY Utility Software
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-cherry-utility-software.ps1
$url = 'https://www.cherry.de/fileadmin/media/Corporate/Software/CHERRY_Utility_Software_x32-3.12.exe'
$sha256 = '2FA52325747EE96B560F8BA8C304FEDC10D4AB75389258BFD8001168AF4BB238'
$file = Join-Path $env:TEMP 'CHERRY_Utility_Software_x32-3.12.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait