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
- :
- Merge Module Dependencies
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
‎Sep 09, 2008
04:11 PM
Merge Module Dependencies
I have a question about Merge Module dependencies.
I have an install with a number of features, two of which are optional (OptFeatA and OptFeatB). OptFeatA contains the ATL71 MM and OptFeatB contains a MM (we'll call it LargeMM) which depends on the ATL71 MM. When I add LargeMM to OptFeatB it does not link the ATL71 MM to that feature because it is already associated with OptFeatA.
My question is, do the ATL71 files get installed if OptFeatA is not installed because OptFeatB contains a MM that has a dependency linking it the the ATL71 MM?
I have an install with a number of features, two of which are optional (OptFeatA and OptFeatB). OptFeatA contains the ATL71 MM and OptFeatB contains a MM (we'll call it LargeMM) which depends on the ATL71 MM. When I add LargeMM to OptFeatB it does not link the ATL71 MM to that feature because it is already associated with OptFeatA.
My question is, do the ATL71 files get installed if OptFeatA is not installed because OptFeatB contains a MM that has a dependency linking it the the ATL71 MM?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 09, 2008
07:17 PM
MergeModules have no concept of the Feature or FeatureComponents table. Instead you have Components and ModuleComponents. When you add a merge module ( or any of it's dependencies ) to an InstallShield project you associate the merge module to one or more features.
After the package is built, the merge modules cease to exist. Their components now belong in the FeatureComponents and Components tables as if you authored them diretcly into the installer and associated to components.
So the component action state is tied to the feature action state.
The real gotcha you will find though is that if you associate a merge module to [INSTALLDIR] you'll find that the dependency modules won't respect that setting.
After the package is built, the merge modules cease to exist. Their components now belong in the FeatureComponents and Components tables as if you authored them diretcly into the installer and associated to components.
So the component action state is tied to the feature action state.
The real gotcha you will find though is that if you associate a merge module to [INSTALLDIR] you'll find that the dependency modules won't respect that setting.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2010
01:28 PM
The real gotcha you will find though is that if you associate a merge module to [INSTALLDIR] you'll find that the dependency modules won't respect that setting.
How do you fix this issue? Anyone.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2010
02:47 PM
I just custom build automation after the IS Build occurs to "fix" my directory table in the MSI. Otherwise you could avoid module dependencies and flatten your tree out.