OpenCohost programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id plynte-labs.OpenCohost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id plynte-labs.OpenCohost -e --silentwinget uninstall --id plynte-labs.OpenCohost -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS) · Yalnızca bu kullanıcı
Sessiz kurulum
OpenCohost-0.5.0-x64-setup.exe /SFarklı klasör
OpenCohost-0.5.0-x64-setup.exe /S /D=C:\Apps\opencohostPowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-opencohost.ps1
$url = 'https://github.com/plynte-labs/OpenCohost/releases/download/v0.5.0/OpenCohost-0.5.0-x64-setup.exe'
$sha256 = '5EBBF5D85AEDC20F607EE97180A311A0CFBCF54030A69B65FFC16DFBE8D1BB72'
$file = Join-Path $env:TEMP 'OpenCohost-0.5.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