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 executable name. So
this works:
<CustomAction Id="CopyLogFile" Property="xcopy.exe" ExeCommand="/h /r /y
&quot;[MsiLogFileLocation]&quot; c:\logs\" Impersonate="yes" Return="ignore"
/>

I changed this to use CAQuietExec so the console window doesn't pop up.
Works well now.

Thanks!



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-action-from-ControlEvent-fails-tp7593782p7593811.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to