cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DLee65
Level 13

How tell if INSTALLDIR is set from the Command line

I am trying to figure out what property to check to see if INSTALLDIR is set on the command line so that my custom action does not overwrite the user's command line setting.

This is a basic MSI project. I am basically looking to set a condition like this on my custom action:
NOT COMMANDLINE><"INSTALLDIR"
Labels (1)
0 Kudos
(2) Replies
kdelloyd
Level 3

While not exactly what you asked, this thread should give you enough to run with...
http://community.installshield.com/showthread.php?t=165331&highlight=INSTALLDIR

Hope its helpful 🙂
0 Kudos
DLee65
Level 13

I think I can get something like this to work. Unfortunately I cannot get it to work exactly as Christopher indicates because I cannot set INSTALLDIR until the user enters a license key and the key is verified.

But I can create a property based on this and then use this property to determine if INSTALLDIR was set on the command line.

Thanks for the tip.
0 Kudos