أوامر لتثبيت برنامج MobiOffice دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id MobiSystems.MobiOffice -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MobiSystems.MobiOffice -e --silentwinget uninstall --id MobiSystems.MobiOffice -e --silentحسب المثبّت
64 بت · MSIX
التثبيت الصامت
Add-AppxPackage -Path MobiOffice.Package_11.90.18542.0_x64.msixbundleإلغاء التثبيت
Get-AppxPackage -Name MobiSystems.MobiOffice | Remove-AppxPackagePowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-mobioffice.ps1
$url = 'https://cfg.mobisystems.com/update/com.mobisystems.windows.appx.mobioffice/11.90.18542/full/MobiOffice.Package_11.90.18542.0_x64.msixbundle'
$sha256 = 'E24853354CD41D1EA228C5A7C603B15A872DC8244C4C27C0D09F7C67F1F5C5E2'
$file = Join-Path $env:TEMP 'MobiOffice.Package_11.90.18542.0_x64.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file