Creating a Set Directory action

Article:HOWTO5060  |  Created: 2005-09-29  |  Updated: 2007-06-19  |  Article URL http://www.symantec.com/docs/HOWTO5060
Article Type
How To



Question
How do I change the location of a directory during installation?

Answer

Place a Set Directory action after InstallValidate in Execute Immediate section of the MSI Script. 

Custom Action Name:  <Your Preference>
Directory: <Browse to directory that you are changing the value for>
Directory Value: <New path for the directory include directory name>

If the directory does not appear in the Directory browse dialog, you should go to Setup Editor > Tables >Directory.  Find the Directory name for the DefaultDir value you are changing the directory location for. The Directory value for that entry needs to be in all caps. Type this value into the Directory field.


Legacy ID



2742


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


Terms of use for this information are found in Legal Notices