[WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread StevenOgilvie
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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Neil Sleightholm
-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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Castro, Edwin G. (Hillsboro)
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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
-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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Castro, Edwin G. (Hillsboro)
: 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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread John Ludlow
: [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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Neil Sleightholm
-Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 20 December 2012 19:26 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

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Neil Sleightholm
Correction - use MajorUpgrade Schedule=afterInstallValidate it will be simpler. -Original Message- From: Neil Sleightholm Sent: 20 December 2012 21:06 To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Upgrades NOT working on a new install Use

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
] Sent: December-20-12 4:08 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrades NOT working on a new install Correction - use MajorUpgrade Schedule=afterInstallValidate it will be simpler. -Original Message- From: Neil Sleightholm Sent: 20

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
:) Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: December-20-12 4:08 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrades NOT working on a new install Correction - use MajorUpgrade Schedule

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Neil Sleightholm
...@x2systems.com] Sent: December-20-12 4:08 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrades NOT working on a new install Correction - use MajorUpgrade Schedule=afterInstallValidate it will be simpler. -Original Message- From: Neil Sleightholm

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Neil Sleightholm
below :) less code for sure :) Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: December-20-12 4:08 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrades NOT working on a new install Correction - use MajorUpgrade

Re: [WiX-users] Upgrades NOT working on a new install....

2012-12-20 Thread Steven Ogilvie
for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrades NOT working on a new install Not sure what you mean by extra code, this is what an upgrade looks like. Using afterInstallValidate will uninstall and then install, using afterInstallExecute will replace files (not a good