Opdragte om VocalCode sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die register of PowerShell
Met winget
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 --silentVolgens installeerder
64-bis · EXE (Inno Setup) · Huidige gebruiker
Stil installasie
VocalCodeSetup-1.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eie lêergids
VocalCodeSetup-1.0.13.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vocalcode"PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
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