Kommandon för att installera Sheet Set Editor 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 BoekSolutions.SheetSetEditor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BoekSolutions.SheetSetEditor -e --silentwinget uninstall --id BoekSolutions.SheetSetEditor -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
SheetSetEditor-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
SheetSetEditor-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sheet-set-editor"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8D3C9FE1-824B-47B7-A3F4-EA2D8F7C6ED4}_is1
- Installationsmapp
- %ProgramFiles%\BoekSolutions\SheetSetEditor
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-sheet-set-editor.ps1
$url = 'https://github.com/JohnBoek/boeksolutions.sheetseteditor-releases/releases/download/v1.3.1/SheetSetEditor-Setup.exe'
$sha256 = '1BC6BA7D4AC5A312040AF18E5FDE72A20E9090EE46C6B2E29FF5F88E56049E93'
$file = Join-Path $env:TEMP 'SheetSetEditor-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 /SP-' -Wait