Kommandoer til at installere Snipe uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
SnipeBrowser-140.0.7339.129-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mappe
SnipeBrowser-140.0.7339.129-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\snipe"32-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
SnipeBrowser-140.0.7339.129-win-x86-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTEgen mappe
SnipeBrowser-140.0.7339.129-win-x86-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\snipe"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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