Kommandon för att installera Sheet Viewer 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 Japplis.SheetViewer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Japplis.SheetViewer -e --silentwinget uninstall --id Japplis.SheetViewer -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
SheetViewer-1.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
SheetViewer-1.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sheet-viewer"64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
SheetViewer-1.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
SheetViewer-1.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sheet-viewer"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-sheet-viewer.ps1
$url = 'https://www.japplis.com/sheet-viewer/versions/SheetViewer-1.2.exe'
$sha256 = '4C3BA23BC8F47EC0E884CD1B10BE0A17B3AD10417A4F73FDF7CE37621D39FBA6'
$file = Join-Path $env:TEMP 'SheetViewer-1.2.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 install-sheet-viewer.ps1
$url = 'https://www.japplis.com/sheet-viewer/versions/SheetViewer-1.2.exe'
$sha256 = '4C3BA23BC8F47EC0E884CD1B10BE0A17B3AD10417A4F73FDF7CE37621D39FBA6'
$file = Join-Path $env:TEMP 'SheetViewer-1.2.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