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

Reply via email to