Agent Console 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 CylCastillo.AgentConsole -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CylCastillo.AgentConsole -e --silentwinget uninstall --id CylCastillo.AgentConsole -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS) · Yalnızca bu kullanıcı · en-US
Sessiz kurulum
Agent.Console_0.94.0_x64-setup.exe /SFarklı klasör
Agent.Console_0.94.0_x64-setup.exe /S /D=C:\Apps\agent-console- Kaldırma kayıt defteri anahtarı
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent Console
- Kurulum klasörü
- %LocalAppData%\Agent Console
- DisplayVersion
- 0.94.0
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-agent-console.ps1
$url = 'https://github.com/cyl-castillo/agent-console/releases/download/v0.94.0/Agent.Console_0.94.0_x64-setup.exe'
$sha256 = '57EB78B8ECFAC8170E7778F171E489F01B1BE78E5954E6FE28CA75526EBF6592'
$file = Join-Path $env:TEMP 'Agent.Console_0.94.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