[wix-users] Consolidated Upgrade Version
John Cooper
JoCooper at jackhenry.com
Tue Feb 7 06:59:43 PST 2017
Yes. If you author your patches as superseding, you can have each patch be a superset of it's predecessor. This is my preferred method of authoring patches, but it has both advantages and disadvantages like any other.
--
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 Venkatesan, Ravikumar
Sent: Tuesday, February 7, 2017 8:48 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Consolidated Upgrade Version
The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin.
Well, actually that's not working out for me! Let me try to explain my scenario with an example.
Assume my application has a set of files & DB tables as part of the base version 15.0. Now, assume the below.
1. Patch 15.0.1 adds "File1" and creates "Table1"
2. Patch 15.0.2 adds "File2" and creates "Table2"
3. Patch 15.0.3 adds "File3" and creates "Table3"
All these are released as separate MSI files. There's no connection between each of them, except they are all from the same code base but different builds. This works like, if I only run patch 15.0.2, I'll only have "File2" & "Table2". If I need to have all three, then I'll have to run all of them separately.
Now, what I actually want is to check if any mechanism exists such that I can combine/consolidate the patches. This should result in one installation which ensures that all the previous versions are installed, as well. Am I looking at something achievable in WiX? Any thoughts?!
Regards,
Ravi
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: Tuesday, February 07, 2017 6:01 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Consolidated Upgrade Version
Not a problem. Your MSI should be able to upgrade from any previous version so 15.0.0 straight to 15.0.3 should work without any extra work on your part. Try it out and let us know if you are seeing issues.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Venkatesan, Ravikumar
Sent: February-07-17 1:50 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Consolidated Upgrade Version
Hi Tyler, Hari,
Thanks for your response. Unfortunately, we've rolled out 15.0.1, 15.0.2 & 15.0.3 as MSI files hence the question.
FYI, all the Custom Actions, logics and files included are same for each versions except for the content.
Regards,
Ravi
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: Monday, February 06, 2017 9:53 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Consolidated Upgrade Version
I should maybe clarify a bit.
If your "patches" are delivered as major upgrades in .msi files then you can ignore the rest of this response.
If you are actually creating .msp patches you'll be using torch.exe to create transform file(s) from previous installer(s) to the latest installer. You are then putting the transform file(s) into pyro.exe to create a patch. If you want that patch to be able to upgrade from any of the previous versions instead of just one, run torch.exe multiple times to create transforms from 15.0.0, 15.0.1, and 15.0.2 to 15.0.3, then you can use multiple -t arguments to the call to pyro.exe to give it the 3 transforms.
If instead you only do one transform 15.0.0 -> 15.0.3 and put that alone into pyro, your patch will only be able to go from 15.0.0->15.0.3 and you won't be able to use it to handle a scenario such as 15.0.1->15.0.3
Clear as mud right?
Tyler
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Harinatha Narisetty
Sent: February-06-17 10:26 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Consolidated Upgrade Version
Our current implementation is exactly the way you explained... works without any problems. We don't have to install all patches to upgrade from 15.0 to 15.3 unless each setup is writing/updating database or some store that you need later.
Thanks
Hari
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: Monday, February 06, 2017 10:18 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Consolidated Upgrade Version
That's how patches work out of the box. You shouldn't have to install 15.0.1 or 15.0.2 if you want to go from 15.0.0 to 15.0.3 you should be able to just install 15.0.3. Have you tested this to see if it works? If not, what sort of error message or failure indication are you seeing?
Tyler
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Venkatesan, Ravikumar
Sent: February-06-17 9:36 AM
To: 'wix-users at lists.wixtoolset.org' <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Consolidated Upgrade Version
Hi All,
We have a product which is in "15.0" version. I've a WiX Installer project for releasing my patches. We've successfully released the minor versions of the product using this WiX project as a MSI file, viz. "15.0.1", "15.0.2" & "15.0.3". All is well, so far. Also, the latest version of the patch is "15.0.3", which will be most likely the last version.
Now, if a customer wants to have the latest 15.0.3, we've to upgrade them to 15.0.1 & then to 15.0.2 & then to 15.0.3. This is done by running each version of the installers, in this case 3 installers.
My question is, Is there a way to consolidate the patches so that I end up installing only the consolidated patch instead of 3 patch installers? I would also like to know if there is a consolidation concept in the WiX installer world.
I hope, I've tried my best to describe my requirement. Please let me know, if you want any clarification on the same.
Regards,
Ravi
____________________________________________________________________
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/
____________________________________________________________________
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/
____________________________________________________________________
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