I checked with that. That is updating version no:1.0.1.0 to higher. But not my base version(1.0.0.0) some attribute iam missing. But I don't know where iam missing.my base version is: <Product Id="af46a930-9939-43d1-bda6-ab283773c2a6" Name="majorupgrade" Language="1033" Version="1.0.1.0" Manufacturer="majorupgrade" UpgradeCode="7012e5f6-d76d-4c64-812e-8c204e0ae229"> <Package InstallerVersion="200" Compressed="yes" Id="880CE19F-1464-418E-B2CD-6BFA528E7BE3"/> <Property Id="WIXUI_INSTALLDIR" Value="ProgramFilesFolder" /> <UIRef Id="WixUI_InstallDir" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> Copying 3 files.
My upgrade version is: <Product Id="76788E05-7D70-46A2-A511-F4D97A2B605D" Name="majorupgrade" Language="1033" Version="1.0.2.0" Manufacturer="majorupgrade" UpgradeCode="7012e5f6-d76d-4c64-812e-8c204e0ae229"> <Package InstallerVersion="200" Compressed="yes" Id="5120D872-7ED7-4EBA-9A3C-096723286548" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Upgrade Id="7012e5f6-d76d-4c64-812e-8c204e0ae229"> <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="no" OnlyDetect="no" Property="NEWERVERSIONDETECTED" Language="1033" /> <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes" Maximum="3.0.0.0" IncludeMaximum="no" OnlyDetect="no" Property="OLDERVERSIONUPGRADED" Language="1033" /> </Upgrade> <InstallExecuteSequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">newProductFound</Custom> <RemoveExistingProducts Before="InstallInitialize"></RemoveExistingProducts> </InstallExecuteSequence> <CustomAction Id="PreventDowngrading" Error="Newer Version Already Installed" /> Help me ASAP.. -----Original Message----- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: 07 November 2012 23:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem in Major upgrade A person does need to use OnlyDetect="no" to have a product removed. With it set to yes it will only detect that it is there, but not remove it. It's at least one thing to try. -----Original Message----- From: Chaitanya [mailto:chaita...@pointcross.com] Sent: Wednesday, November 07, 2012 1:43 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Problem in Major upgrade Hi, Iam trying to do major upgrade. Its doing action but in my control panel it is showing two entries don't want two entries. Here is my upgrade code. <Upgrade Id="5CFFD7A1-03B9-4B07-87C0-9B84555CC15D"> <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="no" OnlyDetect="yes" Property="NEWPRODUCTFOUND" Language="1033" /> <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes" Maximum="2.0.0.0" IncludeMaximum="no" Property="UPGRADEFOUND" Language="1033" /> </Upgrade> <CustomAction Id="PreventDowngrading" Error="Newer Version Already Installed" /> <InstallExecuteSequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">newProductFound</Custom> <RemoveExistingProducts After="InstallFinalize"></RemoveExistingProducts> </InstallExecuteSequence> Iam changing the product code and maintaining upgrade code same. Through command line "msiexec /I {.msi} ALLUSERS=1 Please help me where im doing wrong. Thanks, Chaitanya. ---------------------------------------------------------------------------- -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users