Kommandon för att installera Happ - Proxy Utility utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Happ.Happ -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Happ.Happ -e --silentwinget uninstall --id Happ.Happ -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
setup-Happ.x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
setup-Happ.x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\happ-proxy-utility"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3e689cea-b2c3-401f-b42e-0fb22a105679}_is1
- Installationsmapp
- %ProgramFiles%\FlyFrogLLC\Happ
- DisplayVersion
- 4.8.3(525)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-happ-proxy-utility.ps1
$url = 'https://github.com/Happ-proxy/happ-desktop/releases/download/4.8.3/setup-Happ.x64.exe'
$sha256 = '90AB45058C65B30B704EB0CB4F6FE16527F89F83B7B6CFF3AB6CD31A3E19C0A6'
$file = Join-Path $env:TEMP 'setup-Happ.x64.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