Kommandon för att installera KeyMaster-Pro 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 KeyMasterPro.KeyMasterPro -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KeyMasterPro.KeyMasterPro -e --silentwinget uninstall --id KeyMasterPro.KeyMasterPro -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare · en-US
Tyst installation
KeyMaster-Pro_0.5.1_x64-setup.exe /SEgen mapp
KeyMaster-Pro_0.5.1_x64-setup.exe /S /D=C:\Apps\keymaster-pro- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeyMaster-Pro
- Installationsmapp
- %ProgramFiles%\KeyMaster-Pro
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-keymaster-pro.ps1
$url = 'https://github.com/zsanya322-maker/keymaster-pro/releases/download/v0.5.1/KeyMaster-Pro_0.5.1_x64-setup.exe'
$sha256 = 'BBD9437C368087538F6D7CFE88DACC98D666822E2601B53854EFA94D4A933AD1'
$file = Join-Path $env:TEMP 'KeyMaster-Pro_0.5.1_x64-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 '/S' -Wait