Context Capsule 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 ContextCapsule.ContextCapsule -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ContextCapsule.ContextCapsule -e --silentwinget uninstall --id ContextCapsule.ContextCapsule -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS)
Sessiz kurulum
Context.Capsule_0.1.0_x64-setup.exe /SFarklı klasör
Context.Capsule_0.1.0_x64-setup.exe /S /D=C:\Apps\context-capsulePowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-context-capsule.ps1
$url = 'https://github.com/Context-Capsule/Capsule-Desktop-App/releases/download/v0.1.0/Context.Capsule_0.1.0_x64-setup.exe'
$sha256 = '5845401B86BEF89EF8D6E91F84DBB717FA6F890395B73F0613ABBD2931A7504E'
$file = Join-Path $env:TEMP 'Context.Capsule_0.1.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