This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Component installation directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2011
06:17 AM
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.
Any ideas how to retrieve the installation path for component X at run-time after user changes "feature" installation path in Custom Setup?
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2011
05:24 PM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 22, 2011
09:31 AM
Thanks for the tip mate, worked like a charm!