ProductCode guid is generated as compile time so it is always different. and when I changed PackageCode to be different for different MSIs (generated at compile time). The two MSIs work independently of each other. That is I can install both MSIs successfully on my machine. anything else I am missing? Thanks Gulfam
On Thu, Jun 4, 2009 at 3:39 PM, Wilson, Phil <phil.wil...@wonderware.com>wrote: > The ProductCode guids need to be different between the versions, so if > you've actually changed that guid then the other culprit for going into > maintenance mode is the PackageCode - that needs to be different too (and it > should be unique anyway every time you build your MSI file, so use the > ???????????? thing that WiX provides). > > Phil Wilson > > > -----Original Message----- > From: gulfam murad [mailto:gulfam.mu...@gmail.com] > Sent: Thursday, June 04, 2009 12:16 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] problem with upgarde > > Hi, > I have followed "How To: Implement a Major Upgrade In Your Installer" but > it > is not working for me. I have the following code: > <?define ProductCode = "*"?> > <?define ProductVersion = "12.0.0.9020"?> > <Product Id="$(var.ProductCode)" Name="$(var.ProductName)" > Language="!(loc.ProductLanguage)" Codepage="1252" > Version="$(var.ProductVersion)" > Manufacturer="!(loc.ProductManufacturer)" UpgradeCode="$(var.UpgradeCode)"> > > <Upgrade Id="EBA368A1-D502-480d-9F67-739239DA7D20"> > <UpgradeVersion Minimum="1.0.0" IncludeMinimum="yes" > Maximum="$(var.ProductVersion)" Property="OLDERVERSIONBEINGUPGRADED" /> > </Upgrade> > <InstallExecuteSequence> <RemoveExistingProducts > After="InstallInitialize"/> </InstallExecuteSequence> > Now, I compiled first installer using the version mentioned in my code > (12.0.0.9020) and then compile a second setup with version changed > to 12.0.1.9020. Now the 2nd setup should upgrade from the first but the 2nd > setup goto to the maintenance/uninstall page (as if there is no change > between the 2 setups). > Is there anything else I need to do? What am I missing here? > > Thanks, > Gulfam > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- HasbonAllah hu wa nae'mal wakeel ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users