[wix-users] Bootstrapper and patching

Patterson, Brent bcpatterson at xactware.com
Fri Aug 5 17:44:33 PDT 2016


Sorry, I was busy with other things and haven't had the time to look around the bug tracker.  Thanks for linking the issue!  Maybe if I have a lot of time freed up, I could study the WiX source and see if I can even start to approach this.

Another question, related to patching.  Why does 2.0.0.0 -> 2.1.0.0 -> 2.2.0.0 sequential patching works with MSI/MSP, but 2.2.0.0 bundle fails?  I install 2.0.0.0 using bundle, then use patch bundle 2.1.0.0 to patch it to 2.1.0.0, which is successful.  But then I try and apply 2.2.0.0 bundle on top of 2.1.0.0, which failed.  2.2.0.0 is based off of 2.1.0.0 so it can't patch directly on top of 2.0.0.0, only 2.1.0.0.  If I run the MSP file directly, and not the bundle, it applies successfully.

Looking at the burn log, it looks like it was trying to uninstall previous related bundle, but failing.  Is this the 2.1.0.0 patch bundle that it's trying to uninstall?  Would this also uninstall the MSP if it was successful?

I've disabled modify and remove in patch bundle's attributes.  Do I need to enable them in order for this to work?

Here's the log excerpt where it tries to uninstall the previous bundle that I think is 2.1.0.0 patch bundle:

[A5F8:2D54][2016-08-05T18:35:54]i301: Applying execute package: {01b7f173-1eda-47a8-8d8d-595d958bd761}, action: Uninstall, path: C:\ProgramData\Package Cache\{01b7f173-1eda-47a8-8d8d-595d958bd761}\XiWrapperPatch.exe, arguments: '"C:\ProgramData\Package Cache\{01b7f173-1eda-47a8-8d8d-595d958bd761}\XiWrapperPatch.exe" -uninstall -quiet -burn.related.upgrade -burn.ancestors={1eef6fd1-201c-4645-9f88-ba35f7c93979}'
[A5F8:2D54][2016-08-05T18:35:54]e000: Error 0xfffffffd: Process returned error: 0xfffffffd
[A5F8:2D54][2016-08-05T18:35:54]e000: Error 0xfffffffd: Failed to execute EXE package.
[7C14:2F94][2016-08-05T18:35:54]e000: Error 0xfffffffd: Failed to configure per-machine EXE package.
[7C14:2F94][2016-08-05T18:35:54]w350: Applied non-vital package: {01b7f173-1eda-47a8-8d8d-595d958bd761}, encountered error: 0xfffffffd. Continuing...

Again, thanks for the help so far!

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Sean Hall
Sent: Thursday, August 4, 2016 4:16 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Bootstrapper and patching

https://github.com/wixtoolset/issues/issues/3962

On Thu, Aug 4, 2016 at 3:25 PM, Rob Mensching <rob at firegiant.com> wrote:

> Yes. It's in here somewhere http://wixtoolset.org/bugs
>
> _____________________________________________________________
>  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 Patterson, Brent
> Sent: Thursday, August 4, 2016 12:40 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Bootstrapper and patching
>
> To clarify, this is not an issue about setting the correct bundle
> version.  That part is already handled.  What I'm trying to do is this:
>
> I have two bootstrapper bundles, one for MSI and one for MSP.
> Let's say the bundle for MSI is 2.0.0.0, and MSI is 2.0.0.0 as well.
> The MSP is 2.1.0.0, and bundle for MSP is 2.1.0.0 as well.
>
> I install the bundle with MSI, it adds the bundle entry to "Programs
> and Features", which shows it as 2.0.0.0 I then install the bundle
> with MSP, it correctly updates the install files, but "Programs and
> Features" still shows 2.0.0.0, and there's no "Installed Updates" entry for the bundle.
>
> What I want to see is "2.1.0.0" in the Programs and Features.
>
> How do I set up the bundles so this will happen?  Do they need to
> share same UpgradeCode GUID?  Or same Related Bundle GUID?  If using
> Related Bundle, which should I use? Patch, Upgrade, or Addon?  Or is
> this a feature that isn't implemented like Rob Mensching said?
>
> Thanks again for your help!
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>

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

________________________________

Xactware's opt-in mailing list allows you to receive Xactware News that is of interest to you. Visit my.xactware.com today to join or to update your email preferences!

________________________________

This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.



More information about the wix-users mailing list