أوامر لتثبيت برنامج DotVis دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id sagami121.DotVis -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sagami121.DotVis -e --silentwinget uninstall --id sagami121.DotVis -e --silentحسب المثبّت
64 بت · MSI · ja-JP
التثبيت الصامت
msiexec /i DotVis_0.1.0_x64_ja-JP.msi /qn /norestartكتابة ملف سجل
msiexec /i DotVis_0.1.0_x64_ja-JP.msi /qn /norestart /l*v "%TEMP%\dotvis-install.log"إلغاء التثبيت
msiexec /x {871E13AE-CE61-4DF6-B761-3716C7396887} /qn /norestart- رمز منتج MSI
- {871E13AE-CE61-4DF6-B761-3716C7396887}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{871E13AE-CE61-4DF6-B761-3716C7396887}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-dotvis.ps1
$url = 'https://github.com/sagami121/DotVis/releases/download/0.1.0/DotVis_0.1.0_x64_ja-JP.msi'
$sha256 = '9C6F6A062E5E5EB96ACF8448B399104268F5CB9E8773E6F55F55AA78BE8EC134'
$file = Join-Path $env:TEMP 'DotVis_0.1.0_x64_ja-JP.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