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
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.
--
2 matches
Mail list logo