cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dmetzler
Level 6

Using msiexec to install .msi from command line

Is there a property set internally to determine if an .msi is run via command line or whether the installer is run with the UI?

Thanks in advance,

Don Metzler
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

I don't think there's any difference; if you run ftype msi.package or just look in the registry, you'll see that double-clicking an MSI package just runs msiexec /i ProductName.msi with no special switches.

(Now, it is possible to detect if the MSI was launched with setup.exe, but that's another story.)
0 Kudos