Results 1 to 4 of 4

Thread: Component Name for Merge Module?

  1. #1
    Join Date
    Feb 2004
    Location
    Redwood Shores, CA. USA.
    Posts
    65

    Question 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.

    http://support.installshield.com/kb/...icleid=q108519

    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?

    Thanks.
    --Terry

  2. #2
    Join Date
    Apr 2003
    Location
    Bristol
    Posts
    259
    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?

  3. #3
    Join Date
    Feb 2004
    Location
    Redwood Shores, CA. USA.
    Posts
    65
    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.

    --Terry

  4. #4
    Join Date
    Apr 2003
    Location
    Bristol
    Posts
    259
    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;
    davidl@installshield.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •