0patch Agent लाई कुनै प्रश्न नसोधी इन्स्टल गर्ने, फेरि हटाउने र डिप्लोइमेन्ट टुलले पहिचान गर्ने कमान्डहरू। कुनै कमान्ड पक्का भएमा मात्र देखाइन्छ: म्यानिफेस्टबाट, वा इन्स्टलर प्रविधिको दस्तावेज गरिएको डिफल्टबाट।
सम्बन्धित गाइड: साइलेन्ट इन्स्टल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री वा PowerShell बाट प्रोग्राम अनइन्स्टल गर्नुहोस्
winget बाट
PowerShell
winget install --id ACROSSecurity.0patch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ACROSSecurity.0patch -e --silentwinget uninstall --id ACROSSecurity.0patch -e --silentइन्स्टलर अनुसार
६४-बिट · MSI · सबै प्रयोगकर्ता
साइलेन्ट इन्स्टल
msiexec /i latestagent /qn /norestartलग फाइल लेख्नुहोस्
msiexec /i latestagent /qn /norestart /l*v "%TEMP%\0patch-agent-install.log"PowerShell: डाउनलोड, जाँच, इन्स्टल
आधिकारिक फाइल डाउनलोड गर्छ, त्यसको SHA256 जाँच्छ र साइलेन्ट मोडमा इन्स्टल गर्छ।
install-0patch-agent.ps1
$url = 'https://dist.0patch.com/download/latestagent'
$sha256 = '856C1446329A8C70B72881A8E853352EDCBB06E3C32C57B0E4694BE36890BF86'
$file = Join-Path $env:TEMP 'latestagent'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait