Kommandon för att installera ExcelsisView 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 Excelsis.ExcelsisView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Excelsis.ExcelsisView -e --silentwinget uninstall --id Excelsis.ExcelsisView -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
ExcelsisView-Setup-1.1.48.exe /SEgen mapp
ExcelsisView-Setup-1.1.48.exe /S /D=C:\Apps\excelsisviewPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-excelsisview.ps1
$url = 'https://github.com/simonsystem609/ExcelsisViewer/releases/download/excelsis-view-v1.1.48/ExcelsisView-Setup-1.1.48.exe'
$sha256 = '2A1CF610F74838F7EDF6D867978FF4898A3BDE3FBF20896561BBD776CA43F871'
$file = Join-Path $env:TEMP 'ExcelsisView-Setup-1.1.48.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 '/S' -Wait