Yes it is working now... after changing both PackageCode and ProductCode and also changing the version. with same upgradecode properly referenced in Upgrade element. Thanks alot.
Actually what confused me is that the same UI is presented in both cases... i mean even in case of upgrade the same welcome dialog etc is presented and user can even change the install location.. Shouldn't the setup suppose to use the available information and upgrade on top of it? Best Regards, Gulfam Murad On Fri, Jun 5, 2009 at 2:08 PM, Wilson, Phil<phil.wil...@wonderware.com> wrote: > Something changed, because now you get two ARP entries instead of maintenance > mode, so you are getting there. > > Do the install taking a log and look at all instances of > FindRelatedProducts. If there is an ALLUSERS mismatch it will show up there > with text that talks about per user/per machine in some way. > > It's still a bit disconcerting that we can't see the old MSI's ProductCode, > UpgradeCode, ALLUSERS, ProductVersion values side by side with the new > version's values of those properties plus the exact content of the Upgrade > Table in the new version. > > Phil Wilson > > ________________________________________ > From: gulfam murad [gulfam.mu...@gmail.com] > Sent: Friday, June 05, 2009 10:38 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] problem with upgarde > > still no luck. :( > > On Fri, Jun 5, 2009 at 11:33 AM, Alex Shevchuk<shevc...@live.com> wrote: >> Major upgrade requires ProductCode, PackageCode, and ProductVersion to be >> different in the new version. >> I don't know if that will make any difference, but because you product has 4 >> fields in the version number, try to change <UpgradeVersion Minimum="1.0.0" >> to Minimum="1.0.0.0". >> Otherwise, everything looks fine to me. >> >> Alex >> >> >> >> -----Original Message----- >> From: gulfam murad [mailto:gulfam.mu...@gmail.com] >> Sent: Friday, June 05, 2009 8:08 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] problem with upgarde >> >> Alex, here is the code I am using to generate my msi. >> >> <?define ProductCode = "*"?> >> <?define UpgradeCode = "{82594B5A-5CA6-4C6F-A9F1-EF75A504B592}"?> >> <?define PackageCode = "85644E17-6902-4583-ACD6-F5AF271FEDE5"?> >> <?define ProductVersion = "12.0.0.9020"?> <!--for the 2nd msi this >> version will be 12.0.1.9020--> >> >> <Product Id="$(var.ProductCode)" Name="$(var.ProductName)" >> Language="!(loc.ProductLanguage)" Codepage="1252" >> Version="$(var.ProductVersion)" >> Manufacturer="!(loc.ProductManufacturer)" >> UpgradeCode="$(var.UpgradeCode)"> >> >> <Package Id="$(var.PackageCode)" Keywords="!(loc.PackageKeyWord)" >> Description="!(loc.PackageDescription)" Compressed="yes" >> Comments="!(loc.PackageComments)" >> Manufacturer="!(loc.ProductManufacturer)" >> InstallerVersion="$(var.PackageInstallerVersion)" >> Languages="!(loc.ProductLanguage)" >> SummaryCodepage="!(loc.LanguageCodePage)" InstallPrivileges="elevated" >> InstallScope="perMachine"/> >> >> <Upgrade Id="$(var.UpgradeCode)"> >> <UpgradeVersion Minimum="1.0.0" IncludeMinimum="yes" >> Maximum="$(var.ProductVersion)" >> Property="OLDERVERSIONBEINGUPGRADED" /> >> </Upgrade> >> >> <InstallExecuteSequence> <RemoveExistingProducts >> After="InstallInitialize"/> </InstallExecuteSequence> >> >> <WixVariable Id="WixUISupportPerUser" Value="0" /> >> >> Phil, I already tried PackageCode change and posted, i think you >> missed that email. anyways, when I change PackageCode to be different >> for different MSIs. The two MSIs work independently of each other. >> That is I can install both MSIs successfully on my machine, and both >> will be in Add/Remove Programs. >> >> ---------------------------------------------------------------------------- >> -- >> 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 > > ------------------------------------------------------------------------------ > 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