أوامر لتثبيت برنامج Grunt دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Grunt.Grunt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Grunt.Grunt -e --silentwinget uninstall --id Grunt.Grunt -e --silentحسب المثبّت
64 بت · MSI
التثبيت الصامت
msiexec /i grunt-2026.3-r1-6367-winx64.msi /qn /norestartكتابة ملف سجل
msiexec /i grunt-2026.3-r1-6367-winx64.msi /qn /norestart /l*v "%TEMP%\grunt-install.log"إلغاء التثبيت
msiexec /x {9FFACFB2-1D68-4F34-9573-EAF2A401ADB1} /qn /norestart- رمز منتج MSI
- {9FFACFB2-1D68-4F34-9573-EAF2A401ADB1}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9FFACFB2-1D68-4F34-9573-EAF2A401ADB1}
- UpgradeCode
- {E98C1BF9-9AF8-47CF-940B-14F8937CED83}
- مجلد التثبيت
- %ProgramFiles%\Grunt\6367
- DisplayVersion
- 26.0.6367
32 بت · MSI
التثبيت الصامت
msiexec /i grunt-2026.3-r1-6367-winx86.msi /qn /norestartكتابة ملف سجل
msiexec /i grunt-2026.3-r1-6367-winx86.msi /qn /norestart /l*v "%TEMP%\grunt-install.log"إلغاء التثبيت
msiexec /x {5038969E-66E4-4566-B35E-E7B0983898BC} /qn /norestart- رمز منتج MSI
- {5038969E-66E4-4566-B35E-E7B0983898BC}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5038969E-66E4-4566-B35E-E7B0983898BC}
- UpgradeCode
- {2660D05B-0C2A-4797-899C-4CE03085D32E}
- مجلد التثبيت
- %ProgramFiles(x86)%\Grunt\6367
- DisplayVersion
- 26.0.6367
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-grunt.ps1
$url = 'https://altuarm.blob.core.windows.net/download/grunt-2026.3-r1-6367-winx64.msi'
$sha256 = 'EC170D9946EB2867DDBAB4F76D31217D417A537DD4F2725259512E064366175B'
$file = Join-Path $env:TEMP 'grunt-2026.3-r1-6367-winx64.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 install-grunt.ps1
$url = 'https://altuarm.blob.core.windows.net/download/grunt-2026.3-r1-6367-winx86.msi'
$sha256 = 'FA041E86EAD0A2F1A2BB30BB166239873F7533F22D980C6649D079A84D3D9CE9'
$file = Join-Path $env:TEMP 'grunt-2026.3-r1-6367-winx86.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