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
- :
- Build BUG - FeatureComponents table
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
‎Mar 23, 2011
10:36 AM
Build BUG - FeatureComponents table
Hello,
I have a installer with multiple features and when selecting 1 feature then some files of another feature are also installed.
Example:
[CODE][InstallDir]
+ FeatureDirA
+ Bin
- File1
- File2
+ FeatureASubDir
- File3
+ FeatureDirB
+ Bin
- File4
- File5
+ FeatureBSubDir
- File6[/CODE]
Result after installing only FeatureA:
Hello,
I have a installer with multiple features and when selecting 1 feature then some files of another feature are also installed.
Example:
[CODE][InstallDir]
+ FeatureDirA
+ Bin
- File1
- File2
+ FeatureASubDir
- File3
+ FeatureDirB
+ Bin
- File4
- File5[/CODE]
Every component is set to only 1 feature! (Components appear once in FeatureComponents table)
When building the installer and opening the MSI that InstallShield created then File4 and File5 component appears twice in the FeatureComonents table.
Why does the buildproduce something very different?
What causes this and what can I do about it.
Many thanks,
NasB
I have a installer with multiple features and when selecting 1 feature then some files of another feature are also installed.
Example:
[CODE][InstallDir]
+ FeatureDirA
+ Bin
- File1
- File2
+ FeatureASubDir
- File3
+ FeatureDirB
+ Bin
- File4
- File5
+ FeatureBSubDir
- File6[/CODE]
Result after installing only FeatureA:
Hello,
I have a installer with multiple features and when selecting 1 feature then some files of another feature are also installed.
Example:
[CODE][InstallDir]
+ FeatureDirA
+ Bin
- File1
- File2
+ FeatureASubDir
- File3
+ FeatureDirB
+ Bin
- File4
- File5[/CODE]
Every component is set to only 1 feature! (Components appear once in FeatureComponents table)
When building the installer and opening the MSI that InstallShield created then File4 and File5 component appears twice in the FeatureComonents table.
Why does the buildproduce something very different?
What causes this and what can I do about it.
Many thanks,
NasB
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2011
02:45 AM
Is there no one that can help me.
It's a medium sized installer and I want to prevent recreating the installer from zero.
It's a medium sized installer and I want to prevent recreating the installer from zero.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2011
04:47 PM
Can you clarify what the problem is that you are seeing? You mention that components are all being associated to one feature, but the diagrams listed only show directories/files. If you go to the Setup Design view in your project, what does the feature/component tree look like?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
02:46 AM
The feature/component tree for the given example:
After building the project and reopening it in direct mode it look like
Component 4 and 5 is now also listed in FeatureA
FeatureA
- Component1 (File1 'target\subdirA\bin\assemblyA.dll')
- Component2 (File2 'target\subdirA\bin\assemblyB.dll')
- Component3 (File3 'target\subdirA\assemblyC.dll')
FeatureB
- Component4 (File4 'target\subdirB\bin\assemblyA.dll')
- Component5 (File5 'target\subdirB\bin\assemblyB.dll')
- Component6 (File6 'target\subdirB\assemblyD.dll')
After building the project and reopening it in direct mode it look like
FeatureA
- Component1 (File1)
- Component2 (File2)
- Component3 (File3)
- Component4 (File4)
- Component5 (File5)
FeatureB
- Component4 (File4)
- Component5 (File5)
- Component6 (File6)
Component 4 and 5 is now also listed in FeatureA
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
01:09 PM
Are any of the files contained in components 1, 2, and 3 .NET assemblies? If so, do these components have their .NET Scan at Build settings set to "Dependencies and Properties"? If any of these are set as such, does changing the settings to "Properties Only" change the behavior?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2011
03:59 AM
Hello,
Thank you for you answer.
The files in components are .NET assemblies and all components are set by default to "Dependencies and Properties"
I have modified them to "properties Only" as you suggested. This solves my issue (Thanks a lot)
I just don't understand why InstallShield decides to add identical .net assemblies from other features/location.
Note that that building a release with the IS IDE produces another output than building a release with the IS Standalone Build.
Anyway, thanks a lot for your support.
NasB
Thank you for you answer.
The files in components are .NET assemblies and all components are set by default to "Dependencies and Properties"
I have modified them to "properties Only" as you suggested. This solves my issue (Thanks a lot)
I just don't understand why InstallShield decides to add identical .net assemblies from other features/location.
Note that that building a release with the IS IDE produces another output than building a release with the IS Standalone Build.
Anyway, thanks a lot for your support.
NasB
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)