cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eladef
Level 7

Installing components relative to INSTALLDIR

Hi

On basic MSI project
What is the best way to install components relative to the INSTALLDIR ?
For example if the user choose to install the setup under C:\Program Files\Company\TEST\ ( which is now INSTALLDIR )
I want that several components will be installed under the C:\Program Files\Company\ directory.
Labels (1)
0 Kudos
(1) Reply
klacounte
Level 6

I think you'll need to write a CA that gets the parent directory of INSTALLDIR then use MsiSetTargetPath to modify the directory associated with those components.
0 Kudos