Ordres per instal·lar HeavyLoad 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
winget install --id JAMSoftware.HeavyLoad -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JAMSoftware.HeavyLoad -e --silentwinget uninstall --id JAMSoftware.HeavyLoad -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
HeavyLoad-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-HeavyLoad-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\heavyload"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HeavyLoad_is1
- Carpeta d’instal·lació
- %ProgramFiles%\JAM Software\HeavyLoad
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$url = 'https://downloads.jam-software.de/heavyload/archive/v4.0.0.400/HeavyLoad-x64-Setup.exe'
$sha256 = '082CCA6D7790B11B930E66F75CFFF8EAF1B6E8AB975DAAA672091F958E666DAC'
$file = Join-Path $env:TEMP 'HeavyLoad-x64-Setup.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