Kommandon för att installera iMA Menu 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 ima.menu -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ima.menu -e --silentwinget uninstall --id ima.menu -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
iMA.Menu.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
iMA.Menu.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ima-menu"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C6E2E1A4-F2D7-4B5C-9E4B-8E2E8C2B3F6D}_is1
- DisplayVersion
- 2.0.0.3
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-ima-menu.ps1
$url = 'https://github.com/iMAboud/iMA-Menu/releases/download/2.1.5/iMA.Menu.exe'
$sha256 = 'EF9A00EF427117CEF5C854AB12723146DC988DCEE4A9F31A698CA2D32841C1A6'
$file = Join-Path $env:TEMP 'iMA.Menu.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