[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,
Helge
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Main" Language="1033" Version="1.0.0.0"
Manufacturer="ItsMe"
UpgradeCode="23639ad3-f130-4750-a477-b3534e746022">
<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" />
</Feature>
<!-- how to remove the legacy product with this UpgradeCode ?? -->
<!-->Upgrade Id="e7d6738a-c71c-4783-903f-3fccfacc0d75">
</Upgrade-->
<Upgrade Id="23639ad3-f130-4750-a477-b3534e746022">
</Upgrade>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="Replacement" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component>
<File Id="TheFile" Source="Product.wxs">
</File>
</Component>
</ComponentGroup>
</Fragment>
</Wix>
More information about the wix-users
mailing list