Re: [WiX-users] Problems executing two custom actions with same button click

2012-09-26 Thread bpackard
Add a condition of '1' to each Publish directive, and see if that helps. The
WiX help links to the MSDN pages for Windows Installer for a reason. From
the ControlEvent Table you will find the following statement:

Condition
A conditional statement that determines whether the installer activates the
event in the Event column. The installer triggers the event if the
conditional statement in the Condition field evaluates to True. Therefore
put a 1 in this column to ensure that the installer triggers the event. The
installer does not trigger the event if the Condition field contains a
statement that evaluates to False. The installer does not trigger an event
with a blank in the Condition field unless no other events of the control
evaluate to True. If none of the Condition fields for the control named in
the Control_ field evaluate to True, the installer triggers the one event
having a blank Condition field, and if more than one Condition field is
blank it triggers the one event of these with the largest value in the
Ordering field. See Conditional Statement Syntax.

Which should explain the behavior and the solution. 

hope this helps,
bill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-executing-two-custom-actions-with-same-button-click-tp7580803p7580857.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems executing two custom actions with same button click

2012-09-26 Thread Natalie Carr
Hi bill,

Thank you so much for your reply, I found that out late yesterday evening
and forgot to update..:) Thanks

-Original Message-
From: bpackard [mailto:bill.pack...@kepware.com] 
Sent: 26 September 2012 16:16
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problems executing two custom actions with same
button click

Add a condition of '1' to each Publish directive, and see if that helps. The
WiX help links to the MSDN pages for Windows Installer for a reason. From
the ControlEvent Table you will find the following statement:

Condition
A conditional statement that determines whether the installer activates the
event in the Event column. The installer triggers the event if the
conditional statement in the Condition field evaluates to True. Therefore
put a 1 in this column to ensure that the installer triggers the event. The
installer does not trigger the event if the Condition field contains a
statement that evaluates to False. The installer does not trigger an event
with a blank in the Condition field unless no other events of the control
evaluate to True. If none of the Condition fields for the control named in
the Control_ field evaluate to True, the installer triggers the one event
having a blank Condition field, and if more than one Condition field is
blank it triggers the one event of these with the largest value in the
Ordering field. See Conditional Statement Syntax.

Which should explain the behavior and the solution. 

hope this helps,
bill



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-execu
ting-two-custom-actions-with-same-button-click-tp7580803p7580857.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problems executing two custom actions with same button click

2012-09-25 Thread Natalie Carr
Hi I am trying to do two custom actions when a certain button is clicked but
the second is never getting executed. Can anyone tell me what I am doing
wrong?

 

Control Id=Hasp Type=PushButton X=40 Y=60 Width=56
Height=34 Bitmap=yes Text=HaspImage 

  Publish Event=DoAction Value=SetHasp Order=21/Publish

  Publish Event=DoAction Value=LaunchApplication Order=1/

/Control

 

Control Id=Sentinel Type=PushButton X=40 Y=100 Width=56
Height=34 Bitmap=yes Text=SuperProImage 

  Publish Event=DoAction Value=SetSentinel
Order=21/Publish

  Publish Event=DoAction Value=LaunchApplication Order=1/

/Control

 

 

Kind Regards,

 

Natalie Carr

 

 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users