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
- :
- Re: Using the InstallShield automation interface to create features
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
‎Jul 08, 2010
10:54 AM
Using the InstallShield automation interface to create features
I am using the InstallShield Automation interface to add features.
See the following
Set pFeat1 = pProject.AddFeature(sFeat1Name)
The problem is I need to add features as a subfeature to an existing feature. All the examples show how to create a feature and create sub features of that feature like the following
Set pFeat2 = pFeat1.AddFeature(newfeature)
I need to add a feature with an existing feature as the parent.
See the following
Set pFeat1 = pProject.AddFeature(sFeat1Name)
The problem is I need to add features as a subfeature to an existing feature. All the examples show how to create a feature and create sub features of that feature like the following
Set pFeat2 = pFeat1.AddFeature(newfeature)
I need to add a feature with an existing feature as the parent.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2010
11:48 AM
You should be able to use the ISWiFeatures collection off of ISWiProject to get a collection of the existing features. Then you can get the object pertaining to the feature you are looking for from this collection.
Reference:
http://helpnet.flexerasoftware.com/robo/projects/installshield16helplib/IHelpAutoISWiFeature.htm
Reference:
http://helpnet.flexerasoftware.com/robo/projects/installshield16helplib/IHelpAutoISWiFeature.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2010
01:31 PM
That worked great.
Thanks
Thanks
