I would imagine that if it were possible, it would work like the 
InstallExecuteSequence for MSI's.  Lets call it UninstallExecuteSequence, and 
you would just say <PackageId='MSI1' Before='MSI2'>.  Then everything else you 
add or remove would go in the default order.


-----Original Message-----
From: John Ludlow [mailto:john.ludlow...@gmail.com] 
Sent: Thursday, May 02, 2013 11:46 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Uninstall Order [P]

It would be interesting, but I'm struggling to imagine out how the syntax would 
work in your .wxs code if you were able to override this behaviour. You could 
have two integer attributes on each package (one for install order and one for 
uninstall order) but I bet that would be hard to maintain if you, say, inject a 
new install into the sequence, and what would be the behaviour if you specify 
one and not the other?

In the stated use case, I would say that adding a ServiceControl record to the 
SQL MSI (to stop the service when this MSI is removed) is the easiest way to 
handle this.


On 2 May 2013 16:30, Rob Mensching <r...@robmensching.com> wrote:

> Definitely is, yes.  Tons of people would be complaining if it wasn't 
> in that order. You'd essentially "remove perquisites" then "try to 
> remove application". Not likely to work out well in many cases. 
> <smile/>
>
>
> On Thu, May 2, 2013 at 8:25 AM, Nick Miller 
> <nmil...@livetechnology.com
> >wrote:
>
> > Seems to be, yes.
> >
> >
> > -----Original Message-----
> > From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
> > Sent: Thursday, May 02, 2013 11:21 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Uninstall Order [P]
> >
> > Classification: Public
> > If I am not mistaken it is FILO (first in, last out) order?
> >
> > -----Original Message-----
> > From: Nick Miller [mailto:nmil...@livetechnology.com]
> > Sent: May-02-13 11:11 AM
> > To: General discussion for Windows Installer XML toolset. (
> > wix-users@lists.sourceforge.net)
> > Subject: [WiX-users] Uninstall Order
> >
> > Hi All,
> >
> > I have another question for you guys.  Is there any way to specify 
> > the uninstall order in my bootstrappers chain?  The reason I ask, is 
> > because
> I
> > have two MSI's, the first one installs the application, and the 
> > second installs the sql data.  There is a service that runs which 
> > accesses the
> SQL
> > databases created by the second MSI.  The problem:  when I 
> > uninstall, it tries to remove the SQL MSI first, and fails because 
> > the databases are in use by the service.  I would like bundle to 
> > uninstall in the same order that it installed.  Is this possible?
> >
> > Thanks,
> > Nick
> >
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > Introducing AppDynamics Lite, a free troubleshooting tool for 
> > Java/.NET Get 100% visibility into your production application - at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead 
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> > This message has been marked as Public by Steven Ogilvie on 
> > May-02-13
> > 11:21:11 AM.
> >
> > The above classification labels were added to the message by TITUS
> Message
> > Classification. For more information visit www.titus.com.
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > Introducing AppDynamics Lite, a free troubleshooting tool for 
> > Java/.NET Get 100% visibility into your production application - at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead 
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > Introducing AppDynamics Lite, a free troubleshooting tool for 
> > Java/.NET Get 100% visibility into your production application - at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead 
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> ----------------------------------------------------------------------
> -------- Introducing AppDynamics Lite, a free troubleshooting tool for 
> Java/.NET Get 100% visibility into your production application - at no 
> cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead 
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 
100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead Download 
for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to