Dependency Agent कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id Microsoft.DependencyAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DependencyAgent -e --silentwinget uninstall --id Microsoft.DependencyAgent -e --silentइन्स्टॉलरनुसार
64-बिट · EXE (NSIS) · सर्व युजर
सायलेंट इन्स्टॉल
InstallDependencyAgent-Windows.exe /S /RebootMode=manualआपला फोल्डर
InstallDependencyAgent-Windows.exe /S /RebootMode=manual /D=C:\Apps\dependency-agent- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DependencyAgent
PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-dependency-agent.ps1
$url = 'https://da-release-ehacb6gnczcma8hc.b01.azurefd.net/public/InstallDependencyAgent-Windows.exe'
$sha256 = 'D07B4FDFDF515589E32B7A68519D92D05D8A6F3AA2D7AEA0D27280C9CB51B22D'
$file = Join-Path $env:TEMP 'InstallDependencyAgent-Windows.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 /RebootMode=manual' -Wait