Commands for installing MobiPDF without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id MobiSystems.MobiPDF -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MobiSystems.MobiPDF -e --silentwinget uninstall --id MobiSystems.MobiPDF -e --silentBy installer
64-bit · MSIX
Silent install
Add-AppxPackage -Path MobiPDF.Package_11.90.18542.0_x64.msixUninstall
Get-AppxPackage -Name MobiSystems.MobiPdf | Remove-AppxPackagePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mobipdf.ps1
$url = 'https://cfg.mobisystems.com/update/com.mobisystems.windows.appx.mobipdf/11.90.18542/full/MobiPDF.Package_11.90.18542.0_x64.msix'
$sha256 = 'F2216586C81C9F5148CA2580B167E678E28FD969D6ABE87EE9259CF850BF26B3'
$file = Join-Path $env:TEMP 'MobiPDF.Package_11.90.18542.0_x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file