Kommandon för att installera Winchisel 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 lejy.Winchisel -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lejy.Winchisel -e --silentwinget uninstall --id lejy.Winchisel -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
Winchisel-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Winchisel-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\winchisel"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A1C0E001-0A00-4000-8000-000000000001}_is1
- Installationsmapp
- %ProgramFiles%\Winchisel
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-winchisel.ps1
$url = 'https://github.com/lejyfps/winchisel/releases/download/v1.0.9.1/Winchisel-Setup-x64.exe'
$sha256 = '1C372E64C8299D945164C7F5574616F67295CAB54E1FC3D1F7E8FC4A4D8DEE98'
$file = Join-Path $env:TEMP 'Winchisel-Setup-x64.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