أوامر لتثبيت برنامج Bubble Beta دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id RedCactus.BubbleBeta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RedCactus.BubbleBeta -e --silentwinget uninstall --id RedCactus.BubbleBeta -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i 494342c8-f3e9-491d-b6f2-4654c8ac8cbd /qn /norestartكتابة ملف سجل
msiexec /i 494342c8-f3e9-491d-b6f2-4654c8ac8cbd /qn /norestart /l*v "%TEMP%\bubble-beta-install.log"إلغاء التثبيت
msiexec /x {2FBD6A3B-9174-485E-BFA0-A1E050181EA8} /qn /norestart- رمز منتج MSI
- {2FBD6A3B-9174-485E-BFA0-A1E050181EA8}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2FBD6A3B-9174-485E-BFA0-A1E050181EA8}
- UpgradeCode
- {56FC8793-125F-40DC-8864-EC6FCADC95D4}
- مجلد التثبيت
- APPDIR:.
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-bubble-beta.ps1
$url = 'https://api.eu.redcactus.cloud/v1/public/software/download/494342c8-f3e9-491d-b6f2-4654c8ac8cbd'
$sha256 = '3CA7120BC930F3DA5876323B68E2E157859AD344FFB67F8D700AA53C9A54F23E'
$file = Join-Path $env:TEMP '494342c8-f3e9-491d-b6f2-4654c8ac8cbd'
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