Not in the WiX toolset today, no. You basically want a BA that supports
this declaratively. The wixstdba doesn't.

On Wed, Sep 12, 2012 at 1:59 PM, <robert_y...@agilent.com> wrote:

> 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
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to