An upgrade would look like a fresh install unless you've specifically
authored UI to handle upgrades. How many entries for your application
are there in the Programs and Features panel?  If there's 2, then you
know you have a problem.

On 20 December 2012 20:30, Steven Ogilvie <steven.ogil...@titus.com> wrote:
> No I only change the ProductVersion to a higher number (minor.build) and that 
> was it
>
> -----Original Message-----
> From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: December-20-12 3:27 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Upgrades NOT working on a new install....
>
> What do you mean by "When I run the second it's like the first one was not 
> installed, it was like running a fresh install"? Does the verbose log tell 
> you whether 4.0.1.25 was detected and uninstalled? I guess I should also ask 
> the obvious question, did you change UpgradeCode?
>
> Edwin G. Castro
> Software Developer - Staff
> Digital Channels
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
>
>
>> -----Original Message-----
>> From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
>> Sent: Thursday, December 20, 2012 12:13 PM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Upgrades NOT working on a new install....
>>
>> Okay I changed the ProductCode to be "*" as well as the Package Id="*"
>> First MSI had a version number of 4.0.1.25 second MSI has a version
>> number of 4.1.2.55
>>
>> When I run the second it's like the first one was not installed, it
>> was like running a fresh install... the newer MSI has a different
>> version number
>> (higher) and the ProductCode is different...
>>
>> Steve
>>
>> -----Original Message-----
>> From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
>> Sent: December-20-12 2:55 PM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Upgrades NOT working on a new install....
>>
>> You need to change ProductCode *and* ProductVersion for a major
>> upgrade to work as you expect. When you change ProductVersion and
>> leave ProductCode the same you have a minor upgrade which requires a
>> different style of install (I'm not expert on installing minor
>> upgrades). The reason it was suggested to set Product/@Id = "*" is so
>> that WiX will automatically create a new guid on every build
>> guaranteeing a major upgrade if and only if you also change ProductVersion 
>> on every build.
>>
>> Edwin G. Castro
>> Software Developer - Staff
>> Digital Channels
>> Fiserv
>> Office: 503-746-0643
>> Fax: 503-617-0291
>> www.fiserv.com
>>
>>
>> > -----Original Message-----
>> > From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
>> > Sent: Thursday, December 20, 2012 11:26 AM
>> > To: General discussion for Windows Installer XML toolset.
>> > Subject: Re: [WiX-users] Upgrades NOT working on a new install....
>> >
>> > Okay,
>> >
>> > I now have:
>> >
>> > <Product Id="$(var.ProductCode)"
>> >            Name="$(var.PlatformProductName)"
>> >            Language="1033"
>> >            Version="4.0.2.30"
>> >            Manufacturer="$(var.ProductCompany)"
>> >            UpgradeCode="$(var.UpgradeCode)">
>> >     <Package Id="*"
>> >              InstallPrivileges="elevated"
>> >              Manufacturer="$(var.ProductCompany)"
>> >              InstallerVersion="405"
>> >              Compressed="yes"
>> >              InstallScope="perMachine"/>
>> >
>> >
>> > <!-- Upgrade info for Server -->
>> >  <Upgrade Id="$(var.UpgradeCode)">
>> >   <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes"
>> > Property="NEWERVERSIONDETECTED" />
>> >   <UpgradeVersion Minimum="$(var.ServerBaseVersion)"
>> > Maximum="$(var.ProductVersion)" IncludeMinimum="yes"
>> > IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" />
>> </Upgrade>
>> >
>> > Where: <?define ServerBaseVersion = 4.0.0.0?> in an include file I
>> > include in my product.wxs <InstallExecuteSequence>
>> >       <RemoveExistingProducts Overridable="yes" After="InstallValidate" />
>> >       <FindRelatedProducts Before="LaunchConditions" />
>> >       <ResolveSource Before="CostFinalize"><![CDATA[Not Installed
>> > And Not PATCH]]></ResolveSource>
>> >
>> > <Condition Message="A later version of $(var.ProductName) is already
>> > installed. Setup will now exit.">
>> >       NOT NEWERVERSIONDETECTED
>> >     </Condition>
>> >
>> > <InstallUISequence>
>> >       <FindRelatedProducts Before="LaunchConditions" />
>> >
>> > I create one msi with productversion of 4.0.1.25 install it, then
>> > change productversion to 4.0.2.30 and run it and I get the same error:
>> >
>> > "Another version of this product is already installed. Installation
>> > of this version cannot continue. To configure or remove the existing
>> > version of this product, use Add/Remove Programs on the Control Panel"
>> >
>> > Sigh,
>> >
>> > Steve
>> >
>> > -----Original Message-----
>> > From: Neil Sleightholm [mailto:n...@x2systems.com]
>> > Sent: December-20-12 1:47 PM
>> > To: General discussion for Windows Installer XML toolset.
>> > Subject: Re: [WiX-users] Upgrades NOT working on a new install....
>> >
>> > You seem to have the MajorUpgrade element and also the Upgrade
>> > element, MajorUpgrade replaces the need for manually authoring the
>> > upgrade table. Also, I wouldn't hard code Product/@Id just use "*"
>> > and have WiX generate it for you, likewise Package/@Id isn't
>> > required just let WiX do it.
>> >
>> > Neil
>> >
>> > -----Original Message-----
>> > From: StevenOgilvie [mailto:sogil...@msn.com]
>> > Sent: 20 December 2012 18:26
>> > To: wix-users@lists.sourceforge.net
>> > Subject: [WiX-users] Upgrades NOT working on a new install....
>> >
>> > Hi all,
>> >
>> > I have implemented upgrades by doing the following (I have an
>> > include file that has the product/package properties which I define
>> > and include the include file :)...
>> >
>> > <Product Id="$(var.ProductCode)"
>> >            Name="$(var.PlatformProductName)"
>> >            Language="1033"
>> >            Version="4.0.1.25"
>> >            Manufacturer="$(var.ProductCompany)"
>> >            UpgradeCode="$(var.UpgradeCode)">
>> >     <Package Id="3AB87A29-AB20-4791-9EE5-CC8DC8235FDC"
>> >              InstallPrivileges="elevated"
>> >              Manufacturer="$(var.ProductCompany)"
>> >              InstallerVersion="405"
>> >              Compressed="yes"
>> >              InstallScope="perMachine"/> <MajorUpgrade
>> >       Schedule="afterInstallInitialize"
>> >       DowngradeErrorMessage="A later version of
>> > $(var.PlatformProductName) is already installed. Setup will now
>> > exit."/>
>> >
>> > then:
>> > <Upgrade Id="$(var.UpgradeCode)">
>> >   <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes"
>> > Property="NEWERVERSIONDETECTED" />
>> >   <UpgradeVersion Minimum="$(var.ServerBaseVersion)"
>> > Maximum="$(var.ProductVersion)"
>> >                       IncludeMinimum="yes" IncludeMaximum="no"
>> >                       Property="OLDERVERSIONBEINGUPGRADED" />
>> > </Upgrade> where I have the following defined:
>> > <?define ServerBaseVersion = 4.0.0.0?> <?define ServerMaxVersion =
>> > 4.9.9.99?> and have a productcode and upgradecode that I don't
>> > change...
>> >
>> > customactions:
>> >
>> >     <CustomAction Id="SetMspReinstall" Property="REINSTALLMODE"
>> > Value="amus"
>> > />
>> >     <UI>
>> >       <ProgressText Action="SetMspReinstall">CA: Setting
>> > REINSTALLMODE to amus...</ProgressText>
>> >     </UI>
>> >     <CustomAction Id="NEWAPPFOUND" Error="A newer version of
>> > $(var.ProductName) is already installed." />
>> >     <UI>
>> >       <ProgressText Action="NEWAPPFOUND">CA: Setting up
>> > NEWAPPFOUND...</ProgressText>
>> >     </UI>
>> >
>> > <InstallExecuteSequence>
>> >       <RemoveExistingProducts Overridable="yes" After="InstallValidate" />
>> >       <FindRelatedProducts Before="LaunchConditions" />
>> >       <ResolveSource Before="CostFinalize"></ResolveSource>
>> >       <Custom Action="NEWAPPFOUND"
>> > After="FindRelatedProducts">NEWAPPFOUND</Custom>
>> >
>> > <Condition Message="A later version of $(var.ProductName) is already
>> > installed. Setup will now exit.">
>> >       NOT NEWERVERSIONDETECTED
>> >     </Condition>
>> >
>> > <InstallUISequence>
>> >       <FindRelatedProducts Before="LaunchConditions" />
>> >       <Custom Action="NEWAPPFOUND"
>> > After="FindRelatedProducts">NEWAPPFOUND</Custom>
>> >
>> > I then built the .MSI and installed it...
>> >
>> > I then changed the product version to 4.0.2.30 and change the
>> > Package ID to another GUID re built the .MSI and launched it...
>> >
>> > Instead of a message regarding upgrade minor I get a message:
>> > "Another version of this product is already installed. Installation
>> > of this version cannot continue. To configure or remove the existing
>> > version of this product, use Add/Remove Programs on the Control Panel"
>> >
>> > What am I doing wrong? I followed the suggestions from:
>> > http://wix.tramontana.co.hu/tutorial/upgrades-and-modularization
>> >
>> > This is a new install so I was just making sure I had upgrades
>> > covered for down the road :(
>> >
>> > thanks,
>> >
>> > STeve
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context: http://windows-installer-xml-wix-
>> > toolset.687559.n2.nabble.com/Upgrades-NOT-working-on-a-new-install-
>> > tp7582496.html
>> > Sent from the wix-users mailing list archive at Nabble.com.
>> >
>> > --------------------------------------------------------------------
>> > --
>> > -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
>> > Free Trial Remotely access PCs and mobile devices and provide
>> > instant support Improve your efficiency, and focus on delivering
>> > more value-add services Discover what IT Professionals Know. Rescue
>> > delivers http://p.sf.net/sfu/logmein_12329d2d
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> > --------------------------------------------------------------------
>> > --
>> > -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
>> > Free Trial Remotely access PCs and mobile devices and provide
>> > instant support Improve your efficiency, and focus on delivering
>> > more value-add services Discover what IT Professionals Know. Rescue
>> > delivers http://p.sf.net/sfu/logmein_12329d2d
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> > --------------------------------------------------------------------
>> > --
>> > -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
>> > Free Trial Remotely access PCs and mobile devices and provide
>> > instant support Improve your efficiency, and focus on delivering
>> > more value-add services Discover what IT Professionals Know. Rescue
>> > delivers http://p.sf.net/sfu/logmein_12329d2d
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> ----------------------------------------------------------------------
>> -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
>> Trial Remotely access PCs and mobile devices and provide instant
>> support Improve your efficiency, and focus on delivering more
>> value-add services Discover what IT Professionals Know. Rescue
>> delivers http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> ----------------------------------------------------------------------
>> -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
>> Trial Remotely access PCs and mobile devices and provide instant
>> support Improve your efficiency, and focus on delivering more
>> value-add services Discover what IT Professionals Know. Rescue
>> delivers http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely 
> access PCs and mobile devices and provide instant support Improve your 
> efficiency, and focus on delivering more value-add services Discover what IT 
> Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to