คำสั่งสำหรับติดตั้ง OpenCodex โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
winget install --id RyensX.OpenCodex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RyensX.OpenCodex -e --silentwinget uninstall --id RyensX.OpenCodex -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
$url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.0.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 $url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.0.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