[wix-users] if an upgrade fails *after* the previous product is removed will rollback reinstall it? [P]

Phil Wilson phil.wilson at mvps.org
Mon Nov 30 15:16:17 PST 2015


That not in the transaction between InstallInitialize->InstallFinalize
transaction, so if it fails it will rollback and fail the upgrade. If you
sequence it after InstallInitialoze, inside the transaction, then a
rollbackl of the upgrade will reinstall the older product. It's often tricky
because it's an edge case that doesn't often get tested before the product
is shipped. 

If REP is after InstallFinalize, the upgrade product is installed, then the
older version is uninstalled, and if this uninstall fails then it will roll
back, so you'll end up with both old and new products installed. 

Phil 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Steven Ogilvie
Sent: Thursday, November 26, 2015 10:18 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] if an upgrade fails *after* the previous product is
removed will rollback reinstall it? [P]

Classification: Public
I have this:

<MajorUpgrade DowngradeErrorMessage="A newer version of [SERVERPRODUCTNAME]
is already installed. Setup will now exit." Schedule="afterInstallValidate"
AllowDowngrades="no"/>

<ResolveSource Before="CostFinalize"><![CDATA[Not Installed And Not
PATCH]]></ResolveSource> <RemoveExistingProducts Overridable="yes"
After="InstallInitialize" />

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
John Cooper
Sent: November-26-15 1:11 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] if an upgrade fails *after* the previous product is
removed will rollback reinstall it?

That depends on the scheduling of RemoveExistingProducts.  It is not true in
most cases.
--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise
Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 |
Ext:  431050 | JoCooper at jackhenry.com


________________________________________
From: wix-users [wix-users-bounces at lists.wixtoolset.org] on behalf of Steve
Ogilvie [sogilvie at msn.com]
Sent: Thursday, November 26, 2015 7:49 AM
To: WiX User List
Subject: [wix-users] if an upgrade fails *after* the previous product is
removed will rollback reinstall it?

The e-mail below is from an external source.  Please do not open attachments
or click links from an unknown or suspicious origin.

Hi folks,
If while a major upgrade is running and the install fails and rollsback
(after the previous product was uninstalled) will the rollback attempt to
reinstall the previous version?
Thanks,
Steve

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are
intended exclusively for the individual or entity to which it is addressed.
The message, together with any attachment, may contain confidential and/or
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution is strictly prohibited. If you have received this message in
error, please immediately advise the sender by reply email and delete all
copies.


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
 



 
This message has been marked as Public by Steven Ogilvie on November-26-15
1:18:27 PM.

The above classification labels were added to the message by TITUS Message
Classification. For more information visit www.titus.com.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/




More information about the wix-users mailing list