أوامر لتثبيت برنامج Coder Desktop (Core) دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Coder.CoderDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Coder.CoderDesktop -e --silentwinget uninstall --id Coder.CoderDesktop -e --silentحسب المثبّت
64 بت · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
CoderDesktop-0.8.5-x64.exe /quiet /norestartإلغاء التثبيت
msiexec /x {90CEFACA-BA0B-4399-BBA6-B8A9043440F8} /qn /norestart- رمز منتج MSI
- {90CEFACA-BA0B-4399-BBA6-B8A9043440F8}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90CEFACA-BA0B-4399-BBA6-B8A9043440F8}
- UpgradeCode
- {8A773CF1-029C-4BA8-A3F8-DDA90F9E641B}
- مجلد التثبيت
- %ProgramFiles%\Coder Desktop
ARM64 · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
CoderDesktop-0.8.5-arm64.exe /quiet /norestartإلغاء التثبيت
msiexec /x {6D25D6B3-8B4F-4F59-AB52-695088174DCA} /qn /norestart- رمز منتج MSI
- {6D25D6B3-8B4F-4F59-AB52-695088174DCA}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6D25D6B3-8B4F-4F59-AB52-695088174DCA}
- UpgradeCode
- {8A773CF1-029C-4BA8-A3F8-DDA90F9E641B}
- مجلد التثبيت
- %ProgramFiles%\Coder Desktop
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-coder-desktop-core.ps1
$url = 'https://github.com/coder/coder-desktop-windows/releases/download/v0.8.5/CoderDesktop-0.8.5-x64.exe'
$sha256 = '88D1D0138C5383C8307B8A8767633C93A8B6876FCFEE7C3B17FEAAE57BD1D55D'
$file = Join-Path $env:TEMP 'CoderDesktop-0.8.5-x64.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 '/quiet /norestart' -Wait install-coder-desktop-core.ps1
$url = 'https://github.com/coder/coder-desktop-windows/releases/download/v0.8.5/CoderDesktop-0.8.5-arm64.exe'
$sha256 = 'EC78D0B364C77AFF5574000550C78CD8CA0CE30F67DB16F74531C5F0B1887173'
$file = Join-Path $env:TEMP 'CoderDesktop-0.8.5-arm64.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 '/quiet /norestart' -Wait