This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How tell if INSTALLDIR is set from the Command line
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2008
07:51 AM
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"
This is a basic MSI project. I am basically looking to set a condition like this on my custom action:
NOT COMMANDLINE><"INSTALLDIR"
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2008
08:39 AM
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 🙂
http://community.installshield.com/showthread.php?t=165331&highlight=INSTALLDIR
Hope its helpful 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2008
09:14 AM
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.
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.