Skip to content

msiexec command builder

Build msiexec command lines for silent install, uninstall and repair, with verbose logging, no-restart and properties — for cmd and PowerShell.

Action
UI
cmd
msiexec /i "package.msi" /qn /norestart /l*v "%TEMP%\package-install.log"
PowerShell
$p = Start-Process msiexec.exe -Wait -PassThru -ArgumentList '/i "package.msi" /qn /norestart /l*v "$env:TEMP\package-install.log"'
$p.ExitCode

Drop the .msi in the analyzer to see its real public properties, features and install folder, pre-filled.