Changing INSTALLDIR from command line does not work

Article:TECH42354  |  Created: 2009-06-22  |  Updated: 2009-06-22  |  Article URL http://www.symantec.com/docs/TECH42354
Article Type
Technical Solution



Issue



Why is INSTALLDIR not getting set from command line?

Environment



Windows XP

Cause



Cannot set a directory from the command line. You can only set properties.

Solution



Use a Set Directory custom action for INSTALLDIR. In the Directory Value, use a property name enclosed in square brackets.  You can substitute the full path, part of the path or drive letter with a property. Then, pass the value of the property in the command line. This will then assign INSTALLDIR with the desired value from the command line to be installed.


Legacy ID



47765


Article URL http://www.symantec.com/docs/TECH42354


Terms of use for this information are found in Legal Notices