Kommandon för att installera palctl 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 SteveWeed79.palctl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SteveWeed79.palctl -e --silentwinget uninstall --id SteveWeed79.palctl -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
palctl-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
palctl-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\palctl"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F2A6B14-3C9E-4D7A-BE85-1F0C6D9A2E37}_is1
- Installationsmapp
- %ProgramFiles%\palctl
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-palctl.ps1
$url = 'https://github.com/SteveWeed79/palctl/releases/download/1.2.8.2/palctl-setup.exe'
$sha256 = 'E337622CF8242B12ED9E6854EC95781E1BEBE67520C99FDA8A53787A2B2AFD7E'
$file = Join-Path $env:TEMP 'palctl-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