[wix-users] Is there a way to allow major upgrade if version is the same but product code is different?
JoCooper at jackhenry.com
Thu Nov 3 14:12:05 PDT 2016
Read the documentation for the MajorUpgrade element and the AllowSameVersionUpgrades attribute.
There is very little benefit to hand-authoring the upgrade tables like you are doing.
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
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Joseph Musser
Sent: Thursday, November 3, 2016 3:58 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Is there a way to allow major upgrade if version is the same but product code is different?
The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin.
I also tried this which had the same result:
<UpgradeVersion Maximum="$(var.ProductVersion)" IncludeMaximum="yes"
<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> </Upgrade> <CustomActionRef Id="WixExitEarlyWithSuccess"/>
<RemoveExistingProducts After="InstallValidate" /> </InstallExecuteSequence>
On Thu, Nov 3, 2016 at 4:48 PM, Joseph Musser <me at jnm2.com> wrote:
> I'm randomizing the product ID with each build ("*") but I want to
> leave the revision at 0. We may do multiple builds internally but when
> we publish to the client the revision number should be 0.
> AllowSameVersionUpgrades="yes" seems like it was designed for this,
> but it does not work and two instances end up in ARP. I assume this is
> because the version is the same.
> Is there anything I can do to augment this so that a major upgrade
> happens without changing the version?
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