Commands for installing MobiDrive 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.MobiDrive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MobiSystems.MobiDrive -e --silentwinget uninstall --id MobiSystems.MobiDrive -e --silentBy installer
64-bit · MSIX
Silent install
Add-AppxPackage -Path MobiDrive.Package_4.3.16159.0_x64.msixUninstall
Get-AppxPackage -Name MobiSystems.MobiDriveSync | Remove-AppxPackagePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mobidrive.ps1
$url = 'https://cfg.mobisystems.com/update/com.mobisystems.windows.appx.mobidrive/4.3.16159/full/MobiDrive.Package_4.3.16159.0_x64.msix'
$sha256 = 'E2F0A77562F11316DB7CC6EA21594966DD6AC993F5FD8C8BA797006A1BD88E00'
$file = Join-Path $env:TEMP 'MobiDrive.Package_4.3.16159.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