0patch Agentን ያለ ጥያቄ ለመጫን፣ መልሶ ለማራገፍ እና ከማሰማሪያ መሣሪያዎች ለማወቅ የሚያገለግሉ ትዕዛዞች። ትዕዛዝ የሚታየው እርግጠኛ ሲሆን ብቻ ነው፦ ከማኒፌስቱ ወይም ከጫኚው ቴክኖሎጂ የተመዘገበ ነባሪ።
ተዛማጅ መመሪያ: የጸጥ ያለ ጭነት መቀየሪያዎች፦ MSI፣ NSIS፣ Inno Setup · ፕሮግራምን በመዝገብ (Registry) ወይም በ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በጫኚ
64-bit · 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