Component Name for Merge Module?
I have created a merge module, and I'm including it in another Basic MSI installer. I have a custom action, in the merge module, which I believe I need to call in my main installer.
When I setup the custom action in the execute sequence, and build the project, I get a warning ( -6558 ), telling me that I should have a condition on running the custom action.
According to the kb article above, I need to add a condition using the component name. What I need to know is what is the component name of my merge module? Is it the name I see when I see "Name" in the Description for the merge modules in the Redistributable Files pane? For me, this name has spaces. How do I deal with those in the condition for running the custom action?
If you want to use $ComponentName=3 then the ComponentName would be the name of whichever component you want to check is installed locally. You can see this in the Component GUI view or the component table in the direct editor within the merge module.
How are you sequencing the action? Within the merge module using the ModuleInstallExecute table?
There's no way to sequence custom actions in the Developer UI for Merge Modules, and nothing in any of the books I have talks about doing it.
I was sequencing the action in the parent installer's Execute Sequence.
Is that the wrong place to do it?
This could be why I'm having problems with the component name.
Yes you would have to use the tables in the direct editor of the merge module to change the sequences.
Drop me a mail and I can send you a little tutorial on how to do this;