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

Kaveesh Dashora kaveeshd at gmail.com
Sat Feb 12 00:55:15 PST 2022


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


More information about the wix-users mailing list