Hi all - really glad to see 3.6 is out ! We have an MSI with upgrade-related
logic implemented by the MajorUpgrade element: Specifically, we don't want
upgrades or downgrades to occur automatically (the user is prompted to use
Add/Remove Programs instead). Here is an excerpt from Product.wxs :
<MajorUpgrade Disallow="yes" AllowDowngrades="no"
DisallowUpgradeErrorMessage="An earlier version of [the app]
is installed. [Use ARP]."
DowngradeErrorMessage="A later version of [the app] is
installed. [Use ARP]."/>
With Wix 3.5 we were using the old Visual Studio bootstrapper (the app requires
.NET 4.0). Now that 3.6 is out, I came up with a bootstrapper (standard BA
with custom theme) and noticed it implements auto-upgrade logic (assuming the
upgrade code remains constant): if the version number is bumped up, the old
version gets silently uninstalled. Is there a way to declaratively prevent
this, much like what we are doing in the MSI ? I saw a post on stackoverflow
about this from back in July regarding OnPlanRelatedBundle, but is there a way
to do this without writing a custom BA ?
Thanks for any info !
-Rob
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users