Ukazi za namestitev programa Codey 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 SuperGness.Codey -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SuperGness.Codey -e --silentwinget uninstall --id SuperGness.Codey -e --silentPo namestitvenih datotekah
64-bitno · EXE (NSIS) · Trenutni uporabnik
Tiha namestitev
Codey-1.3.7-windows-x64-setup.exe /SDruga mapa
Codey-1.3.7-windows-x64-setup.exe /S /D=C:\Apps\codey- Ključ za odstranitev v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Codey
- Namestitvena mapa
- %LocalAppData%\Programs\Codey
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-codey.ps1
$url = 'https://github.com/SuperGness/codey/releases/download/v1.3.7/Codey-1.3.7-windows-x64-setup.exe'
$sha256 = 'B28C521D5E09C8B655EFFC2023482F8D16A5F98AB30FA1A768F1E7CC0C454478'
$file = Join-Path $env:TEMP 'Codey-1.3.7-windows-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