أوامر لتثبيت برنامج func-e دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Tetrate.func-e -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tetrate.func-e -e --silentwinget uninstall --id Tetrate.func-e -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i func-e_1.1.4_windows_amd64.msi /qn /norestartكتابة ملف سجل
msiexec /i func-e_1.1.4_windows_amd64.msi /qn /norestart /l*v "%TEMP%\func-e-install.log"إلغاء التثبيت
msiexec /x {04EBEFF2-13A8-498C-9958-30F07D7F2F22} /qn /norestart- رمز منتج MSI
- {04EBEFF2-13A8-498C-9958-30F07D7F2F22}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04EBEFF2-13A8-498C-9958-30F07D7F2F22}
- UpgradeCode
- {FC6C326B-1DB7-4D48-8F05-E13E79DF4D0E}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-func-e.ps1
$url = 'https://github.com/tetratelabs/func-e/releases/download/v1.1.4/func-e_1.1.4_windows_amd64.msi'
$sha256 = '9F72C6DFC37FB22FE3E39A6312EAC350F2527FE8006493CD16E5CFB7D48EDDD5'
$file = Join-Path $env:TEMP 'func-e_1.1.4_windows_amd64.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