I suspect I'm "stuck" but thought I'd ask. I have two existing MSIs, call them "Base.msi" and "Dell.msi". They install separate facets of my product - the base files, then additional files needed to support particular Dell hardware.
I now want to create a new single MSI that replaces "Base.msi" and "Dell.msi." Call it "both.msi". Is there a way, strictly in "both.msi", to keep "Base.msi" and "Dell.msi" from installing if "both.msi" is already installed? As I have "both.msi" defined now, "both.msi" has the same UpgradeCode as "base.msi." The relevant (I think) parts of my WiX package are below. Any advice or suggestions would be much appreciated. ------------------------------------------------------------------------------------------------------------------------------------ These are in a .wxi: <Include> <?define ProductName="Blah blah name blah blah" ?> <?define UpgradeCode="{1F67D6DC-04DB-4D4F-8797-F0F55DCAFBCC}" ?> <?define ProductVersion="1.2.0" ?> <!-- Product version. --> <?define MaxVersion="1.2.0" ?> <!-- Highest version this should upgrade. Most of the time, should be same as ProductVersion.--> <?define MinVersion="1.0.0" ?> <!-- Lowest version this should upgrade. --> <?define DellUpgradeCode="{FB3ED31C-630E-4861-91A3-5BF83761C5CD}" ?> <?define DellMaxVersion="1.0.3" ?> <!-- Highest version this should upgrade. 1.0.3 is the final separate Dell MSI version. --> <?define DellMinVersion="1.0.0" ?> <!-- Lowest version this should upgrade. I don't think 1.0.0 was ever distributed but doesn't matter. --> </Include> ------------------------------------------------------------------------------------------------------------------------------------ <Product Id="*" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Company USA LLC" UpgradeCode="$(var.UpgradeCode)"> <Package InstallerVersion="300" Compressed="yes" InstallScope="perMachine" Comments="No detail." Description="Blah Blah." Manufacturer="Blah blah blah" /> <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion IgnoreRemoveFailure="yes" IncludeMinimum="yes" IncludeMaximum="yes" Minimum="$(var.MinVersion)" Maximum="$(var.MaxVersion)" MigrateFeatures="yes" Property="UPGRADE_1" > </UpgradeVersion> </Upgrade> <Upgrade Id="$(var.DellUpgradeCode)"> <UpgradeVersion IgnoreRemoveFailure="yes" IncludeMinimum="yes" IncludeMaximum="yes" Minimum="$(var.DellMinVersion)" Maximum="$(var.DellMaxVersion)" MigrateFeatures="yes" Property="UPGRADE_DELL" > </UpgradeVersion> </Upgrade> ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users