أوامر لتثبيت برنامج NeeView دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id neelabo.NeeView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id neelabo.NeeView -e --silentwinget uninstall --id neelabo.NeeView -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i NeeView46.3.msi /qn /norestartكتابة ملف سجل
msiexec /i NeeView46.3.msi /qn /norestart /l*v "%TEMP%\neeview-install.log"إلغاء التثبيت
msiexec /x {DC4344EA-7CA8-4081-8266-58EBB68C04A1} /qn /norestart- رمز منتج MSI
- {DC4344EA-7CA8-4081-8266-58EBB68C04A1}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC4344EA-7CA8-4081-8266-58EBB68C04A1}
- UpgradeCode
- {6DB6317B-B2A3-42B3-AA6E-102B0D7BB0DC}
- مجلد التثبيت
- %ProgramFiles%\.\NeeLaboratory\NeeView
- DisplayVersion
- 46.3.4312
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-neeview.ps1
$url = 'https://github.com/neelabo/NeeView/releases/download/46.3/NeeView46.3.msi'
$sha256 = '5EEE24AE5A1A111DBFBD339D803F45C25C02ABBE57CD717219854E6A364C00A1'
$file = Join-Path $env:TEMP 'NeeView46.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