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: CustomAction Id=CopyLogFile Property=MsiLogFileLocation ExeCommand=xcopy.exe /h /r /y quot;[MsiLogFileLocation]quot; c:\logs\ Impersonate=yes Return=ignore / Since this is a type 50 CA, Property should be set to

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