[wix-users] Patch uninstall causing Repair

John Cooper JoCooper at jackhenry.com
Mon Aug 8 06:04:35 PDT 2016


Correct.  The MSI UI Controls offer a very limited subset of what Win Forms or WPF provide.  With a BA or MBA, you have full control.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Robert Goodridge
Sent: Sunday, August 7, 2016 8:09 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch uninstall causing Repair

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

So I believe this suggestion requires writing a custom bootstrapper? There is no way with the standard bootstrapper to modify the behaviour?

Warm regards

Rob Goodridge | CloudArchitect | LANSA Product Centre

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Friday, 5 August 2016 11:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch uninstall causing Repair

Modify the planning event handlers to modify the state of the affected package(s) appropriately.  This involves changing the planned action for the package.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050 JoCooper at jackhenry.com





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Robert Goodridge
Sent: Thursday, August 4, 2016 11:50 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch uninstall causing Repair

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

OK. So How do you configure the BA to skip repairing an MSI?

Warm regards

Rob Goodridge | CloudArchitect | LANSA Product Centre

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Friday, 5 August 2016 2:42 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Patch uninstall causing Repair

Well, to be fair, Windows Installer can't figure out if it has to repair the MSI either. When removing an MSP the Windows Installer executes a repair of the MSI to make everything good. And should you have any shared resources with other MSIs, the shared resources may not end up the versions you want because the Windows Installer won't repair all the related MSIs. Burn (as of v3.9) does better than the Windows Installer at this point.

I don't understand why you jump to having to create a private burn.exe. Why not work with us to add functionality to make this feature more optimal? We wished the Visual Studio team (which added this feature in v3.9) would have thought it through more but they only optimized for their scenarios. Now more work could be done to make it even more optimal, but at least less is broken with the current design.

Finally, if you don't want to help us improve the WiX Toolset itself, your BA has enough information to proceed quite optimally should it want to skip repairing most MSIs.
_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of robert_yang at agilent.com
Sent: Thursday, August 4, 2016 9:11 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Patch uninstall causing Repair

"If patch bundle major upgrades an MSI in the base bundle, uninstalling the patch bundle will remove the upgraded MSI leaving the base bundle broken. That was fixed in v3.9 such that patch bundles repair their base bundles so the base bundles have a chance to fix removed major upgraded MSIs."

The patching we are doing is not of this kind -- it is more along the lines of a minor update, replacing some DLL's and EXE's and bumping the last component of the product version number (eg. "8.0.8128.0" to "8.0.8128.1").

There is just one package in our patch bundle, a .MSP.  The patch classification we use is typically "Hotfix" or "Service Pack".

I understand the need to solve a general problem, but it seems like there should be a way to optimize the process for a trivial case such as this.

I suppose another alternative is to build a private burn.exe with some of this logic turned off, simply for deploying patch bundles.  The question other people around here are going to ask me is "if Windows Installer can figure it out that it doesn't have to repair the MSI, why can't burn ?"


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

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

____________________________________________________________________
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/

____________________________________________________________________
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.



More information about the wix-users mailing list