The double character "WixAction: InstallExecuteSequence / RemoveExistingProducts" was found. This usually means the identifier is duplicated

I am developing an installer project using the WiX 3.9 toolkit. I am trying to uninstall a previous version while installing a new version. I tried the following in product.wxs,

<Product Id="*" Name="WIXDemoApp" Language="1033" Version="1.0.0.0" Manufacturer="Man name" UpgradeCode="993d89e6-07ec-4d33-abc5-957360bc66e1"> <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" /> <Upgrade Id="89CF8BE7-05EE-4C7E-9EFC-0249DD260EBB"> <UpgradeVersion Minimum="1.0.0.0" Maximum="99.0.0.0" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no" /> </Upgrade> <Upgrade Id="89CF8BE7-05EE-4C7E-9EFC-0041DD260EBB"> <UpgradeVersion Minimum="1.0.0.0" Maximum="99.0.0.0" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no" /> </Upgrade> <InstallExecuteSequence> <RemoveExistingProducts Before="InstallFinalize" /> </InstallExecuteSequence> </Product> 

I get this error:

error LGHT0091: A duplicate of the symbol "WixAction: InstallExecuteSequence / RemoveExistingProducts" was found. This usually means that the identifier is duplicated. Make sure that all your identifiers of a certain type (File, Component, Feature) are unique. `

What was the problem and how to fix it?

+7
c # visual-studio visual-studio-2010 wix
source share

No one has answered this question yet.

See related questions:

1424
How to fix "No breakpoint will be deleted at this time. No characters have been loaded for this document." a warning?
1404
What do two question marks mean in C #?
1204
What is the meaning of the Enlue [Flags] Enum attribute in C #?
1048
Error message "Export not found, which matches the name of the restriction contract"
2
Wix - how to override UpgradeCode when installing MSI file
one
WIX - how to selectively remove <bundle>
0
wix msi version number 5th category
0
Wix created the installer "Could not find any previously installed compatible products on the machine"
0
My last patch came out with the wrong UpgradeCode code. How can I fix this in the next patch?
0
Wix installer selectively uninstalls previous versions

All Articles