[wix-users] Bundle upgrade

John Cooper JoCooper at jackhenry.com
Mon May 16 06:35:04 PDT 2016


You need to make sure it is a true MajorUpdate.  DetectUpdate, DetectUpdateBegin, and DetectUpdateComplete are useful for this.

Then, for my "Update" button execute command, I call Plan(LaunchAction.UpdateReplace) for a true MajorUpdate and Plan(LaunchAction.Install) for all others.

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




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Parkes, Kevin
Sent: Monday, May 16, 2016 8:23 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Bundle upgrade

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

I'm calling Engnie.Plan(LaunchAction.Install).

I've tried LaunchAction.UpdateReplace and UpdateReplaceEmbedded but then the installation fails completely and the log file shows:

  Error 0x8000ffff: Invalid package type.
  Error 0x8000ffff: Failed to calculate plan actions for package: (null)
  Error 0x8000ffff: Failed to plan execute package.
  Error 0x8000ffff: Failed to process update package.
  Error 0x8000ffff: Failed to plan update.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: 16 May 2016 12:56
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Bundle upgrade

Hi Kevin,
In my DetectRelatedBundle, after detecting if it is MajorUpgrade, i.e.
if (e.Operation == RelatedOperation.MajorUpgrade || e.Operation ==
RelatedOperation.MinorUpdate)
{
  //Signal to enable Upgrade Button, binded to UpgardeCommand.
}

And then I'm calling Launch.Install in my UpgradeCommand.

I think, PlanRelatedBundle is not handling with Upgrade scenario.





On 16 May 2016 at 16:06, Parkes, Kevin <Kevin.Parkes at wacom.eu> wrote:

> My MBA/bundle is not upgrading from an old version correctly: the new 
> version installs, but the previous version remains listed in Programs 
> and Features.
>
> In my DetectRelatedBundle I see relation=Upgrade and 
> operation=MajorUpgrade. However, in PlanRelatedBundle State is 
> reported as Absent, which I presume is why Burn does not attempt to 
> uninstall the previous version. What could be happening here?
>
> Is there anything I need to do in my MBA to make upgrade work correctly?
>
> Thanks
>
>
>
> ____________________________________________________________________
> 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.



More information about the wix-users mailing list