Kommandon för att installera QueueExplorer 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 Cogin.QueueExplorer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cogin.QueueExplorer -e --silentwinget uninstall --id Cogin.QueueExplorer -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
QueueExplorer5.0.58.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
QueueExplorer5.0.58.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\queueexplorer"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\QueueExplorerUniversal_is1
- Installationsmapp
- %ProgramFiles%\QueueExplorer
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-queueexplorer.ps1
$url = 'https://www.cogin.com/download/mq/QueueExplorer5.0.58.exe'
$sha256 = 'A1044D23CCF6655DF25148BF7C8B396B7A54144566A517517FE684F5E77F50D1'
$file = Join-Path $env:TEMP 'QueueExplorer5.0.58.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