PDA

View Full Version : Custom Action Shedule



Mariapr
08-09-2004, 08:22 AM
Hi. Can anybody clarify for me what happens when CustomAction Shedule is performed?

I ask because at this moment I have some error message, which probably can be thrown by custom Action, but the CA is not executed at the moment, but only sheduled!
(the last line in the log file is: Executing op: CustomActionSchedule(Action=MyAction...

TsungH
08-09-2004, 10:10 AM
Can you provide the information on how your custom action is configured?

Mariapr
08-11-2004, 04:13 AM
thank you for the reply.
it is a "Run Exe" CA. exe file is installed with the product.
target files contains commandline parameters.
CA has "deferred execution" . it has "synchronious (check exit code)" flag.

TsungH
08-11-2004, 09:35 AM
Where in sequence(s) is it scheduled? In addition, what's the error encountered?

Mariapr
08-16-2004, 04:23 AM
CA is sheduled after InstallInitialize, after CostFinalize and InstallFiles;
and before InstallFinalize and before Punlish actions
in InstallExecute sequence.

an error is an internal error of the CA (the launched .exe rises the error).
it is just strange to me why (according to log) it rises the error when the CA is sheduled, and not after InstallFinalize, when the script is run.
?

TsungH
08-16-2004, 10:41 AM
I don't see why the executable will be run during Immediate Execute Sequence when it is scheduled as deferred. Can you verify it is indeed run in Immediate Execute Sequence?

If it is run in Deferred Execute Sequence, it is possible that the executable has dependencies. Try scheduling the custom action late in sequence, say after StartServices action.