أوامر لتثبيت برنامج FutureRestore GUI دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id CoocooFroggy.FutureRestore-GUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CoocooFroggy.FutureRestore-GUI -e --silentwinget uninstall --id CoocooFroggy.FutureRestore-GUI -e --silentحسب المثبّت
64 بت · MSI
التثبيت الصامت
msiexec /i FutureRestore-GUI-Windows-1.98.3.msi /qn /norestartكتابة ملف سجل
msiexec /i FutureRestore-GUI-Windows-1.98.3.msi /qn /norestart /l*v "%TEMP%\futurerestore-gui-install.log"إلغاء التثبيت
msiexec /x {EB4E45EB-BFC3-30D6-9D37-05E6BE8D2FE6} /qn /norestart- رمز منتج MSI
- {EB4E45EB-BFC3-30D6-9D37-05E6BE8D2FE6}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EB4E45EB-BFC3-30D6-9D37-05E6BE8D2FE6}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-futurerestore-gui.ps1
$url = 'https://github.com/CoocooFroggy/FutureRestore-GUI/releases/download/v1.98.3/FutureRestore-GUI-Windows-1.98.3.msi'
$sha256 = '42F9AC7F002F74845D8A4599F4D8424F6B5B39CFFC4CD3FF4321470D68A24154'
$file = Join-Path $env:TEMP 'FutureRestore-GUI-Windows-1.98.3.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