I am trying to understand how to set a public property for a specific directory. I am trying to use property switch in msiexec to redirect a folder other than [INSTALLDIR]

destination for installdirectory can be changed from C:\ to D:\ by using the switch [INSTALLDIR]=D:\Program Files\Dummy
how can I do the same for a non installdir? I know I would have to set a public property for the directory, but how? Can someone plz help?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Go to Directory table and create the new row. Fill up the Directory and DefaultDir columns with a directory name, for example TEST and leave the Directory_Parent blank.

You can change this directory structure from command line as

msiexec /i <MSIName> TEST=c:\progra~1\MyApp.
Answered 11/02/2005 by: MSIram
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity