Sorry, I didn't explain it well enough.  Most of the time I want the addon 
bundles to act like an addons: gets uninstalled when main bundle is 
uninstalled, etc.  But there are times when upgrading the main bundle, older 
addons are no longer valid.  Then I want to remove them.  
  
Reason is I would like to use addons to install features that extend our main 
software.  Then customers can pick and choose functionality.  There are times 
when our main software changes such that older addons will no longer work so I 
like to remove those on an upgrade (or on a new install if user has 
incompatible addons installed).

Any comments on this scenario?  Looks like I can't get both behaviours unless I 
use custom BA?  Maybe this is like an addon and an upgrade in one.  :)  Am I 
abusing the addon feature?

Wes

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: July 25, 2013 5:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn Addons - reevalulate and uninstall addon bundle 
on main bundle install

Addons (and patch) bundles follow the main bundle (more written here:
https://support.firegiant.com/entries/24024208-Bundle-chain-execution-order-).
To get the behavior you want, you'd need an upgrade relationship.

I think a custom BA could override the default behaviors without using an 
upgrade relationship but I'd try to use the upgrade relationship first.


On Thu, Jul 25, 2013 at 1:32 PM, Wesley Manning <wmann...@dynagen.ca> wrote:

> I'm using wixstba and I have a addon bundle that I want to uninstall 
> when a certain version of my main bundle is installed (and prevent 
> install if this main bundle is present).
>
> I'm using a registry search and bal:condition in the addon to do this.
>  Looks like the bal:condition does not do the job.  It works to block 
> install when I try to install the addon when the main bundle is 
> already installed.  But does not uninstall the addon when the main 
> bundle it installed.
>
> Any idea on what I do to have the addon uninstall when the main bundle 
> installs?  I'm using RTM version of Wix 3.7.
>
> Wes
>
>
>
> ----------------------------------------------------------------------
> -------- See everything from the browser to the database with 
> AppDynamics Get end-to-end visibility with application monitoring from 
> AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to