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
- :
- Install relative to parent feature
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
Jan 10, 2008
06:01 PM
Install relative to parent feature
I am trying to figure out how to make a feature install relative to it's parent features Destination. For instance, if I have Feature1, with two sub features, SubFeature1 and SubFeature2, I would like to have SubFeature1 and SubFeature2 install to [ParentFeatureFolder]\SubFeature1, [ParentFeatureFolder]\SubFeature2
Obviously, there is no ParentFeatureFolder property (nor anything like it that I am aware of), so is this possible?
I need to be able to move the parent features install dir and have all of it's children move with it, and I need to be able to set that install dir in a custom action, it can't be hardcoded at build time. I have it setup now where all the sub features use a directory entires that I change, but that requires a custom action per sub feature. I'd really like to be able to just re-target the parent and have the sub features auto-magically follow. Is this possible?
Obviously, there is no ParentFeatureFolder property (nor anything like it that I am aware of), so is this possible?
I need to be able to move the parent features install dir and have all of it's children move with it, and I need to be able to set that install dir in a custom action, it can't be hardcoded at build time. I have it setup now where all the sub features use a directory entires that I change, but that requires a custom action per sub feature. I'd really like to be able to just re-target the parent and have the sub features auto-magically follow. Is this possible?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 11, 2008
04:52 PM
If you had only the parent feature, you could set its destination to (say) [INSTALLDIR], and give components inside it destinations such as [INSTALLDIR], [INSTALLDIR]sub1, and [INSTALLDIR]sub2.
If you want (visible and selectable) subfeatures, you can create them and give them the components with destinations [INSTALLDIR]sub1 and so on. You could then give each child feature an empty destination property, and the destinations would follow the parent feature.
If you want (visible and selectable) subfeatures, you can create them and give them the components with destinations [INSTALLDIR]sub1 and so on. You could then give each child feature an empty destination property, and the destinations would follow the parent feature.
![](/skins/images/D3004062EE959BB5114D71A9BAF91CB3/responsive_peak/images/icon_anonymous_message.png)