[wix-users] Assimilate other applications

Helge Kruse Helge.Kruse at gmx.net
Sat Aug 11 09:31:50 PDT 2018

Am 11.08.2018 um 17:12 schrieb Walter Dexter:
> As I recall you just have to put the supplementary MSIs in the main MSI upgrade table. I had to do this a few years ago for similar reasons.

I found references to the MSI upgrade table while searching in the web.
Unfortunately I don't have any idea how this is implemented in the
main.wxs. Do you have a (hopefully) simple example?

I attach the minimum working example for my main product, probably it's
easy to fill the necessary change.

Best regards,

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="*" Name="Main" Language="1033" Version=""
    <Package InstallerVersion="200" Compressed="yes"
             InstallScope="perMachine" />

    <MajorUpgrade DowngradeErrorMessage="A newer version of
[ProductName] is already installed." />
    <MediaTemplate />

    <Feature Id="ProductFeature" Title="Replacement" Level="1">
      <ComponentGroupRef Id="ProductComponents" />

    <!-- how to remove the legacy product with this UpgradeCode ?? -->
    <!-->Upgrade Id="e7d6738a-c71c-4783-903f-3fccfacc0d75">
    <Upgrade Id="23639ad3-f130-4750-a477-b3534e746022">

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLFOLDER" Name="Replacement" />

    <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
        <File Id="TheFile" Source="Product.wxs">

More information about the wix-users mailing list