أوامر لتثبيت برنامج TegraRcmGUI دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id eliboa.TegraRcmGUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id eliboa.TegraRcmGUI -e --silentwinget uninstall --id eliboa.TegraRcmGUI -e --silentحسب المثبّت
جميع المعالجات · MSI · en-US
التثبيت الصامت
msiexec /i TegraRcmGUI_v2.6_Installer.msi /qn /norestartكتابة ملف سجل
msiexec /i TegraRcmGUI_v2.6_Installer.msi /qn /norestart /l*v "%TEMP%\tegrarcmgui-install.log"إلغاء التثبيت
msiexec /x {FD7196C9-BD86-4736-AF9D-7CFCB9E03E67} /qn /norestart- رمز منتج MSI
- {FD7196C9-BD86-4736-AF9D-7CFCB9E03E67}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FD7196C9-BD86-4736-AF9D-7CFCB9E03E67}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-tegrarcmgui.ps1
$url = 'https://github.com/eliboa/TegraRcmGUI/releases/download/2.6/TegraRcmGUI_v2.6_Installer.msi'
$sha256 = '43F63F2A45E5861A3B7C53421C3A20E8DF2DC2D1B3DAEC01DBAC7DDC8C11C53F'
$file = Join-Path $env:TEMP 'TegraRcmGUI_v2.6_Installer.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' -Wait