Ukazi za namestitev programa VocalCode 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 DamingWu.VocalCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DamingWu.VocalCode -e --silentwinget uninstall --id DamingWu.VocalCode -e --silentPo namestitvenih datotekah
64-bitno · EXE (Inno Setup) · Trenutni uporabnik
Tiha namestitev
VocalCodeSetup-1.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Druga mapa
VocalCodeSetup-1.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vocalcode"PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-vocalcode.ps1
$url = 'https://github.com/wudaming00/vocalcode-docs/releases/download/v1.0.13/VocalCodeSetup-1.0.13.exe'
$sha256 = 'B33DEB0C6E5383D778E95D25436FB3C55E40BAE76C67D9887224C96EBA27F6E8'
$file = Join-Path $env:TEMP 'VocalCodeSetup-1.0.13.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