Kommandon för att installera ShiftPad 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 ShiftPad.ShiftPad -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ShiftPad.ShiftPad -e --silentwinget uninstall --id ShiftPad.ShiftPad -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
ShiftPad-Setup-2.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
ShiftPad-Setup-2.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\shiftpad"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4D9F0E5B-7C2A-4B8E-9D1F-3C5E8A7F0B12}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-shiftpad.ps1
$url = 'https://github.com/APPLEVODKARUS/ShiftPad/releases/download/v2.2.0/ShiftPad-Setup-2.2.0.exe'
$sha256 = '0ACF2A319FBA3D8BF8C148B0EA365FECC3600D9714DC2BB9379639A82282D476'
$file = Join-Path $env:TEMP 'ShiftPad-Setup-2.2.0.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