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
- :
- Feature selection in Installscript project not working properly
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
Nov 07, 2013
02:28 PM
Feature selection in Installscript project not working properly
In both IS2011 and IS2013, I am seeing this same behavior. I have a project with 2 features. The component associated to each feature has the same directory and sub-directories for each component except they have a different wildcard for what files to exclude. So there are 10 files in the source folder and 2 of them are NOT included in the first component and 3 different ones are NOT included in the 2nd component. When you look at the file list in the IS IDE everything looks correct as far as the file list goes.
But, when you run the installation, all 10 files are layed down regardless of which feature you choose.
Anyone seen this behavior before? Is it a problem that both components are pointing to the same source location? I have not seen this problem before when the source folders differ for the 2 components.
But, when you run the installation, all 10 files are layed down regardless of which feature you choose.
Anyone seen this behavior before? Is it a problem that both components are pointing to the same source location? I have not seen this problem before when the source folders differ for the 2 components.
- Tags:
- featuregetdata
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 19, 2013
03:19 PM
Hi,
The behavior you are experiencing should not be happening by default. From your description, it sounds like you have multiple copies of the same files included into your project.
Ex: In the example below, there are 2 copies of the same file in your installation (fileB and fileC)
Component 1 has files: fileA, fileB, fileC
Component 2 has files: fileB, fileC, fileD
Try breaking your installation into 3 components and associate the components to their features.
Ex:
Feature1 has Component 1 and Component 2:
Feature2 has Component 2 and Component 3:
Component 1 has files fileA
Component 2 has files fileB, fileC
Component 3 has files fileD
In the example above, there is only one copy of each file in your installation.
Associating components to features can be done in the Files and Folders view in the Installation Designer tab under the Application Data folder.
1. Navigate to the Files and Folders view.
Select the Installation Designer tab --> Expand out the Application data folder --> Select the Files and Folders view.
2. Show components and subfolders
In the lower left hand panel titled Destination computer's folders select and right click Destination Computer and checkmark Show Components and SubFolders.
3. Find the component(s) that you would like to associate with features.
Expand out the folders till you see the name of your component you would like to modify
4. Set the Features to associate the component with.
Select --> Right click --> Click Properties --> Select the Features Tab --> Select the Check Box next to the appropriate features
The behavior you are experiencing should not be happening by default. From your description, it sounds like you have multiple copies of the same files included into your project.
Ex: In the example below, there are 2 copies of the same file in your installation (fileB and fileC)
Component 1 has files: fileA, fileB, fileC
Component 2 has files: fileB, fileC, fileD
Try breaking your installation into 3 components and associate the components to their features.
Ex:
Feature1 has Component 1 and Component 2:
Feature2 has Component 2 and Component 3:
Component 1 has files fileA
Component 2 has files fileB, fileC
Component 3 has files fileD
In the example above, there is only one copy of each file in your installation.
Associating components to features can be done in the Files and Folders view in the Installation Designer tab under the Application Data folder.
1. Navigate to the Files and Folders view.
Select the Installation Designer tab --> Expand out the Application data folder --> Select the Files and Folders view.
2. Show components and subfolders
In the lower left hand panel titled Destination computer's folders select and right click Destination Computer and checkmark Show Components and SubFolders.
3. Find the component(s) that you would like to associate with features.
Expand out the folders till you see the name of your component you would like to modify
4. Set the Features to associate the component with.
Select --> Right click --> Click Properties --> Select the Features Tab --> Select the Check Box next to the appropriate features