Hi Ryan, From: http://msdn2.microsoft.com/en-us/library/aa369786(VS.85).aspx: "A major upgrade is a comprehensive update of a product that needs a change of the ProductCode Property."
From: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx: "Change ProductCode, PackageCode, and ProductVersion properties." From: http://blogs.technet.com/alexshev/archive/2008/01/25/from-msi-to-wix-part-1.aspx: "This is how properties correspond to attributes of the <Product> element: ******ProductCode - Id. ******* ProductVersion - Version. ProductLanguage - Language. ProductName - Name. Manufacturer - Manufacturer. UpgradeCode - UpgradeCode." The last blog also shows how MSI properties match to Wix elements/attributes. To find the previous version of the same product Installer is using Product/@UpgradeCode (or UpgradeCode property in "raw" MSI). UpgradeCode *must* stay the same for all versions of the same product. Thanks, Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill Sent: Wednesday, March 05, 2008 3:03 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unable to force upgrade Really? Thanks for that, I thought that the product ID always had to be fixed so the MSI could find previous versions. How does the installer find a previous version if I change the Product ID? What I am trying to do is just force a major upgrade every time. Ryan -----Original Message----- From: si [mailto:[EMAIL PROTECTED] Sent: 05 March 2008 07:44 To: Ryan O'Neill Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unable to force upgrade Hi Ryan, > I did not change the ProductId I think you need to change this, otherwise the 'another version of this product is already installed' error will be generated unless you run the msiexec with the parameters required for minor upgrades - as shown in the tutorial you linked to. In WiX 3, if you always do major upgrades, you can set this value to "*" to auto-generate the product id as per the package id. -- It's a wild world that we live in, you step to the vibe like a new found religion, take your position, compile your vision, futurism, algorithm has risen up! pfm - the western ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users