MajorUpgrade sets the RemovingExistingProducts for you. If you want a value different from the default, use MajorUpgrade@Schedule attribute.
Removing the RemovingExistingProducts from the InstallExecuteSequence. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Dan McCoy [mailto:mr.dan.mc...@googlemail.com] Sent: Wednesday, July 2, 2014 9:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Duplicate Symbol - MajorUpgrade and InstallExecuteSequence/RemoveExistingProducts Hello I'm still new to Wix and I have a problem with a "duplicate symbol". I have a source file which contains both a MajorUpgrade section and a RemoveExistingProducts section: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="My Product" Language="1033" Version="0.1.0.0" Manufacturer="CMFT" UpgradeCode="60dccb53-952c-44cf-acfc-9e45953b0ec3"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <MediaTemplate EmbedCab="yes" /> <UIRef Id="WixUI_FeatureTree" /> <Feature Id="FT_ClientService" Title="Client Service" Level="1" > <ComponentGroupRef Id="CMPGRP_ClientService" /> </Feature> <Feature Id="FT_ScenarioRunner" Title="Scenario Runner" Level="1"> <ComponentGroupRef Id="CMPGRP_ScenarioRunner" /> </Feature> <Feature Id="FT_SupportClassLibrary" Title="Support Class Library" Level="1"> <ComponentGroupRef Id="CMPGRP_SupportClassLibrary" /> </Feature> <InstallExecuteSequence> <RemoveExistingProducts After="InstallValidate" /> </InstallExecuteSequence> </Product> <Fragment> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="DIR_CMFT" Name="CMFT_Alternate"> <Directory Id="DIR_EPR" Name="EPR"> <Directory Id="DIR_CLIENTSERVICE" Name="Client Service" /> </Directory> </Directory> </Directory> </Directory> </Fragment> </Wix> The above produces the error: Duplicate symbol 'WixAction:InstallExecuteSequence/RemoveExistingProducts' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique. I have found an answer to a similar question here: http://sourceforge.net/p/wix/mailman/message/28470823/ But I'm afraid the answer means nothing to me and I could do with further explanation. Can anybody provide me with a little more of a noob friendly answer please? Thanks Dan ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users