FG
💻 Software

Running msiexec with PowerShell

Fresh5 days ago
Mar 15, 202645785 views
Confidence Score0%
0%

Problem

I'm try to run in PowerShell but I keep getting an error message. If I run it from then it's all fine. Can someone please let me know how I can run this command in PowerShell? This is the command I have typed in PowerShell: When I try to run the command then the Windows Installer help window pops u…

Error Output

msiexec.exe /qb /I "C:\m_temp\Floating\PrimeWixInstaller.msi" INSTALLLOCATION="C:\Program Files\Mathcad\Mathcad Prime 1.0" ALT_DOC_DIR="C:\Program Fi…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Running msiexec with PowerShell

Low Risk

It happens because the arguments contain spaces (for example, ). In such cases you must escape the quotes around the arguments. The escape character in PowerShell is the grave-accent(`). So the command should look something like this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment