1
<InstallExecuteSequence>
    <RemoveExistingProducts Before='InstallInitialize' />
</InstallExecuteSequence>

I added this XML in order to force my application to uninstall previous versions as per this question, but I get the following error.

Is there somewhere this could have been declared that's not in my product.wxs file?

Error    34    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.    \\psf\Home\Documents\eThor\Connector\WixInstaller\Product.wxs    6    1    WixInstaller
Community
  • 1
  • 1
benstpierre
  • 32,833
  • 51
  • 177
  • 288

1 Answers1

4

You probably have a MajorUpgrade element in your wxs. This element has an attribute that serves as syntactical sugar for authoring several rows including where to schedule RemoveExistingProducts.

Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
  • I have a Schedule attribute with a value afterInstallFinalize in my MajorUpgrade element. Still no luck. – Ven Nov 20 '17 at 13:02