Kommandon för att installera Polypane 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 Firstversionist.Polypane -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Firstversionist.Polypane -e --silentwinget uninstall --id Firstversionist.Polypane -e --silentPer installationsfil
32-bitars · EXE (NSIS) · en-US
Tyst installation
Polypane-Setup-31.0.0.exe /SEgen mapp
Polypane-Setup-31.0.0.exe /S /D=C:\Apps\polypaneAvinstallation
msiexec /x {012FE6C4-73F4-51A6-B048-4C0DC64649F7} /qn /norestart- MSI-produktkod
- {012FE6C4-73F4-51A6-B048-4C0DC64649F7}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{012FE6C4-73F4-51A6-B048-4C0DC64649F7}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-polypane.ps1
$url = 'https://github.com/firstversionist/polypane/releases/download/v31.0.0/Polypane-Setup-31.0.0.exe'
$sha256 = 'F3F24D3DA0616C0C6F0E5EBAFAF80891F6563FF4E9D51CF6129371FF94CCE20B'
$file = Join-Path $env:TEMP 'Polypane-Setup-31.0.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 '/S' -Wait