cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eladef
Level 7

Prevent running the MSI

Hi

I'm using basic MSI project and want to prevent running the msi directly since there are prerequisite must be run first through the setup.exe.
I understand ISSETUPDRIVEN do the opposite – can I still use it somehow or other way ?
Labels (1)
0 Kudos

(1) Reply
Alpesh
Flexera Alumni

Hi,

Try using a launch condition for SETUPEXEDIR property. This property only gets set when run from Setup.exe. Hence, it will cancel the setup, if run from msi.

I hope this helps!
0 Kudos