Kommandon för att installera Snipe 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 SnipeGroupLimited.Snipe -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SnipeGroupLimited.Snipe -e --silentwinget uninstall --id SnipeGroupLimited.Snipe -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
SnipeBrowser-140.0.7339.129-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mapp
SnipeBrowser-140.0.7339.129-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\snipe"32-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
SnipeBrowser-140.0.7339.129-win-x86-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mapp
SnipeBrowser-140.0.7339.129-win-x86-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\snipe"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-snipe.ps1
$url = 'https://github.com/snipe-browser/scoop-bucket/releases/download/v140.0.7339.129/SnipeBrowser-140.0.7339.129-win-x64-setup.exe'
$sha256 = '0F2B509A8C7363950451CEF9CE57DA561CDA4D4CF3E2372E93DD63C302881856'
$file = Join-Path $env:TEMP 'SnipeBrowser-140.0.7339.129-win-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' -Wait install-snipe.ps1
$url = 'https://github.com/snipe-browser/scoop-bucket/releases/download/v140.0.7339.129/SnipeBrowser-140.0.7339.129-win-x86-setup.exe'
$sha256 = 'B33673B6E5408ED834AEF1745ABBC02B72EC9BA67EA39789A341280955578C32'
$file = Join-Path $env:TEMP 'SnipeBrowser-140.0.7339.129-win-x86-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' -Wait