Re: [WiX-users] Custom action from ControlEvent fails

2014-03-28 Thread wixard
Thanks Pavan, Phil. Turned out I had defined my custom action incorrectly: Since this is a type 50 CA, Property should be set to executable name. So this works: I changed this to use CAQuietExec so the console window doesn't pop up. Works well now. Thanks! -- View this message in context:

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-27 Thread Phil Wilson
call 2 custom actions though in the control element. > > --Pavan > > -Original Message- > From: wixard [mailto:amit.mo...@citrix.com] > Sent: Wednesday, March 26, 2014 3:51 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Custom action from Contr

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
Pavan -Original Message- From: wixard [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 3:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom action from ControlEvent fails Thanks Pavan. "Execute" is set to "immediate" if not specifie

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
From: wixard [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 3:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom action from ControlEvent fails Thanks Pavan. "Execute" is set to "immediate" if not specified. I explicitly set it to "immedi

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread wixard
Thanks Pavan. "Execute" is set to "immediate" if not specified. I explicitly set it to "immediate". Still get the same error. Setting to "deferred" generates the error: DEBUG: Error 2762: Unable to schedule operation. The action must be scheduled between InstallInitialize and InstallFinalize.

Re: [WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Pavan Konduru
The "Execute" element is missing in the custom action. Set it to "deferred" or "immediate" --Pavan -Original Message- From: Amit Mohan [mailto:amit.mo...@citrix.com] Sent: Wednesday, March 26, 2014 2:30 PM To: wix-users@lists.sourceforge.net Subject:

[WiX-users] Custom action from ControlEvent fails

2014-03-26 Thread Amit Mohan
Hi, I need to run a custom action on install failure. I've added a ControlEvent for this: 1 And then later... The custom action fires when a launch condition fails. The custom action returns an error: MSI (c) (B4:6C) [14:24:54:088]: Doing action: FatalError Action 14:24:54: FatalEr