Ukazi za namestitev programa zcode-switch brez vprašanj, za njegovo odstranitev in za zaznavanje v orodjih za uvajanje. Ukaz je prikazan le, kadar je zanesljiv: iz manifesta ali iz dokumentiranih privzetih stikal tehnologije namestitvene datoteke.
Povezan vodnik: Stikala za tiho namestitev: MSI, NSIS, Inno Setup · Odstranitev programa prek registra ali PowerShella
Z wingetom
PowerShell
winget install --id pjpv.zcode-switch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pjpv.zcode-switch -e --silentwinget uninstall --id pjpv.zcode-switch -e --silentPo namestitvenih datotekah
64-bitno · EXE (NSIS) · Trenutni uporabnik
Tiha namestitev
zcode-switch_1.6.0_x64-setup.exe /SDruga mapa
zcode-switch_1.6.0_x64-setup.exe /S /D=C:\Apps\zcode-switch- Ključ za odstranitev v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\zcode-switch
- Namestitvena mapa
- %LocalAppData%\zcode-switch
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-zcode-switch.ps1
$url = 'https://github.com/pjpv/zcode-switch/releases/download/v1.6.0/zcode-switch_1.6.0_x64-setup.exe'
$sha256 = '6411BB9BDE0C1A1E4CB8A60374A98B1FD2A232745684E6B3013E6D1F84ECB7B1'
$file = Join-Path $env:TEMP 'zcode-switch_1.6.0_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