cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vickenk
Level 4

Component installation directory

Hi,

Any ideas how to retrieve the installation path for component X at run-time after user changes "feature" installation path in Custom Setup?

Thanks.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

As you know, a component's path will change only if the feature and component have the same public Directory-table property.

Knowing that, it depends how you want to get and use that property value. You can use [DIRECTORY_PROP_NAME] in many places in your installation, or use something like MsiGetTargetPath or MsiGetProperty to get the value in code.
0 Kudos
vickenk
Level 4

Thanks for the tip mate, worked like a charm!
0 Kudos