Yes that's expected. Remove the RemoveExistingProducts element from the
installexecutesequence and control its scheduling with the Schedule attribute
of the MajorUpgrade element instead. You can even omit the Schedule attribute
since its default value will give you the same result as you have there.

-----Original Message-----
From: David P. Romig, Sr. [mailto:d...@tcsc.com] 
Sent: 29 November 2011 19:00
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX 3.6 generates conflicting actions

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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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