My main WiX 3.6 source file contains the following lines:

 40    <MajorUpgrade DowngradeErrorMessage="A newer version of
[ProductName] is already installed. Setup will exit." />
     ...
261    <InstallExecuteSequence>
262      <RemoveExistingProducts Before="InstallInitialize" />
263  ...
    (some content elided for brevity)

Light raises error messages indicating duplicate symbols on lines 40 and
262.
"LGHT0091: Duplicate symbol
'WixAction:InstallExecuteSequence/RemoveExistingProducts' found.

The generated output in the wixobj file contains:

      <row sourceLineNumber="...\WixSetup\PrintSetup.wxs*40">
        <field>InstallExecuteSequence</field>
        <field>RemoveExistingProducts</field>
        <field />
        <field />
        <field />
        <field>InstallValidate</field>
        <field>0</field>
      </row>
      <row sourceLineNumber="...\WixSetup\PrintSetup.wxs*262">
        <field>InstallExecuteSequence</field>
        <field>RemoveExistingProducts</field>
        <field />
        <field />
        <field>InstallInitialize</field>
        <field />
        <field>0</field>
      </row>

It appears that the MajorUpgrade element generates a conflicting element
name in the WixAction table.

Is this the expected behavior?

Dave


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to