أوامر لتثبيت برنامج GGCode Desktop دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id gg.ai.ggcode-desktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gg.ai.ggcode-desktop -e --silentwinget uninstall --id gg.ai.ggcode-desktop -e --silentحسب المثبّت
64 بت · MSI · المستخدم الحالي
التثبيت الصامت
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qnكتابة ملف سجل
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"إلغاء التثبيت
msiexec /x {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD} /qn /norestart- رمز منتج MSI
- {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
ARM64 · MSI · المستخدم الحالي
التثبيت الصامت
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qnكتابة ملف سجل
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"إلغاء التثبيت
msiexec /x {8BCABE40-542E-4110-B44D-3EE770D9BB6B} /qn /norestart- رمز منتج MSI
- {8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-ggcode-desktop.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode-desktop_1.3.267_windows_x64.msi'
$sha256 = 'FCAA6086812B887A87A70403769B7122573AE4EF80EDCF822C747849228A345A'
$file = Join-Path $env:TEMP 'ggcode-desktop_1.3.267_windows_x64.msi'
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', '/qn' -Wait install-ggcode-desktop.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode-desktop_1.3.267_windows_arm64.msi'
$sha256 = '2F4089C55041B80F9D82EBAD63C0D569B704A13922657F1ED545A1A406D4675B'
$file = Join-Path $env:TEMP 'ggcode-desktop_1.3.267_windows_arm64.msi'
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', '/qn' -Wait