Nothing looks wrong in the authoring.  What about the verbose log file?  Does 
the Merge Module have a CustomAction that refers to the file that is causing 
you problems?  If so, then the Merge Module is what is causing you grief.

-----Original Message-----
From: John D. Marinuzzi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 07:50
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Error 2753 on Merge Module...

I read that a few times on the net in forums and stuff, but it doesn't seem
to be the case here.  I have a feature that has a mergeref that refers to
Merge listed under a directory.  Here is the basic structure (dots and
'whatever's added for simplicity):

      <Property Id="INSTALLDIR" Value="c:\Whatever" />
      <Directory Id="TARGETDIR" Name="SourceDir">

         <Directory Id="INSTALLDIR" Name="Whatever">
            <Component Id="InstallDir_Key"
Guid="7B586717-8A31-486e-8598-713B0D6287FC">
               <RegistryValue Id="InstallDir_Key_Value" Root="HKLM"
Key="..." Name="InstallDir" Action="write" Type="string"
Value="[INSTALLDIR]" />
            </Component>
         </Directory>

         <Directory Id="ProgramMenuFolder" Name="Programs">
            <Directory Id="ProgramMenuDir" Name="..." />
         </Directory>

         <Directory Id="DesktopFolder" Name="Desktop" />

         <Merge Id="hinst.6F334D91-DCB7-11DC-AAEA-00059A3C7800"
Language="1033" DiskId="1" SourceFile="hinst.msm" />
                .
                .
      </Directory>

      <Feature Id="f_Main" Title="..." Description="Install the files
required to run ..." Level="1" ConfigurableDirectory="INSTALLDIR"
AllowAdvertise="no" InstallDefault="local">
         <ComponentRef Id="InstallDir_Key" />
         <ComponentRef Id="root_executables" />
         <ComponentRef Id="root_dlls" />
         <ComponentRef Id="root_misc" />
      </Feature>

      <Feature Id="f_HL" Title="HL Drivers" Description="Installing this
file could create problems with older versions of ....  If you are using
version ... or earlier as well as version 2008, you should not install this
driver." Level="1" AllowAdvertise="no" InstallDefault="local">
         <MergeRef Id="hinst.6F334D91-DCB7-11DC-AAEA-00059A3C7800" />
      </Feature>

.
.
.

The problem comes with feature "f_HL".  If it is selected, no problems, if
it is set not install, I get the error.

Thanks,

John

> -----Original Message-----
> From: Wilson, Phil [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2008 4:24 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error 2753 on Merge Module...
>
> You typically get this error when you try to call a custom action that
> refers to a file in the MSI, but that file is not actually installed
> because (for example) there is a higher version of the file already on
> the system.   In your case,  you have a custom action that refers to a
> file that isn't being installed because the feature selection omits it.
>
> Phil Wilson
>
>
> -----Original Message-----
> From: John D. Marinuzzi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2008 11:50 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Error 2753 on Merge Module...
>
> Hello All,
>
>
>
> I have Merge tag under a Directory (the Target Directory), and then use
> the
> MergeRef as an optional install Feature.  If I do not select that
> feature,
> then I get the error 2573.  I am obviously doing something incorrect.
> How
> would Igo about including the Merge file only if the user selected that
> Feature?
>
>
>
> Thank You,
>
>
>
> John
>
> -----------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> -----------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to