I seem to have managed to get Burn rather confused. I have an MSI
package with new product and upgrade codes in version 2.0 due to
different builds being produced. I ask Windows Installer (in the MSI) to
upgrade from the previous one with:
Snippet
<Upgrade Id="{OLD_UPGRADE_CODE}">
<UpgradeVersion Property="UPGRADE_DETECTED" Minimum="1.0.0" Maximum="1.9.9"
IncludeMinimum="yes" IncludeMaximum="yes"/>
</Upgrade>
<Upgrade Id="{NEW_UPGRADE_CODE}">
<UpgradeVersion Minimum="1.0.0" IncludeMinimum="yes"
Property="THIS_PRODUCT_INSTALLED" OnlyDetect="yes"/>
</Upgrade>
<Upgrade Id="{OTHER_UPGRADE_CODE}">
<UpgradeVersion Minimum="1.0.0" IncludeMinimum="yes"
Property="OTHER_PRODUCT_INSTALLED" OnlyDetect="yes"/>
</Upgrade>
<!-- Prevent installation if any incompatible version is already installed -->
<Condition Message="!(loc.OtherProductFound)">
NOT OTHER_PRODUCT_INSTALLED
</Condition>
However, when I run the installer, Burn logs:
Detected related bundle: {BUNDLE_GUID}, type: Upgrade, scope:
PerMachine, version: 1.0.0, operation: MajorUpgrade
Detected related package: {OLD_PRODUCT_CODE}, scope: PerMachine,
version: 1.0.0, language: 0 operation: MajorUpgrade
Detected related package: {OLD_PRODUCT_CODE}, scope: PerMachine,
version: 1.0.0, language: 0 operation: Downgrade
Detected package: Product.msi, state: Obsolete, cached: None
...
Planned package: Product.msi, state: Obsolete, default requested: None,
ba requested: None, execute: None, rollback: None, cache: No, uncache:
No, dependency: None
Planned related bundle: {BUNDLE_GUID}, type: Upgrade, default requested:
Absent, ba requested: Absent, execute: Uninstall, rollback: Install,
dependency: None
...
It then proceeeds to uninstall the product but leave the new version in
Add/Remove Programs.
Any idea what I'm doing wrong?
--
Bruce Cran
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users