[wix-users] Using Merge Module with my existing project.

Kaveesh Dashora kaveeshd at googlemail.com
Sun Feb 13 20:15:03 PST 2022


Thank you. This worked.
These MSMs have been created by a different team. I will work with
them to use a newer schema.

On Sat, Feb 12, 2022 at 9:31 PM Rob Mensching <rob at firegiant.com> wrote:
>
> Your MSMs are really old (or built with old tools) and use the old schema. The issue will resolve if you add at least one Component to your MSI. Or if you don't plan to/want to add a Component, try using <EnsureTable Id="FeatureComponents" />
>
> - - - - - - - - - - - - - - -
> I provide short answers on wix-users. Full commercial support is offered by FireGiant at http://www.firegiant.com/services
>
>
>
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Kaveesh Dashora via wix-users
> Sent: Saturday, February 12, 2022 12:55 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Kaveesh Dashora <kaveeshd at gmail.com>
> Subject: [wix-users] Using Merge Module with my existing project.
>
> Hi,
>
> I am trying to add Merge Modules to my existing MSI.
> While building I am getting the following error, error LGHT0204: ICE32: Possible Mis-Aligned Foreign Keys
>   Feature.1 = s38
>   FeatureComponents.Feature_ = s32
>
> The below is my Product.wxs. Can someone please help me with what I am missing?
> Or there is some problem with with the Merge Module itself?
>
>     <?xml version="1.0" encoding="UTF-8"?>
>     <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
>       <Product Id="*" Name="SharedComponents" Language="1033"
> Version="1.0.0.0" Manufacturer="Kaveesh Corporation"
> UpgradeCode="016c6b9e-f088-4a2c-8f20-3d414ac02127">
>         <Package InstallerVersion="200" Compressed="yes"
> InstallScope="perMachine" />
>
>         <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
>         <MediaTemplate />
>
>         <Feature Id="SharedComponents" Title="Shared Components" Level="1">
>           <MergeRef Id="MM1" />
>           <MergeRef Id="MM2" />
>         </Feature>
>       </Product>
>
>       <Fragment>
>         <Directory Id="TARGETDIR" Name="SourceDir">
>           <Merge Id="MM1" SourceFile="First.msm" DiskId="1" Language="1033" />
>           <Merge Id="MM2" SourceFile="Second.msm" DiskId="1" Language="1033" />
>         </Directory>
>       </Fragment>
>
>     </Wix>
> --
> Kaveesh
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list