Custom action processing option
Hi,
Can someone please explain me the 'processing' of custom action: ""Asynch, Wait at end of sequence ""
Asynch, Wait at end of sequence :
As per the help if processed in this way then windows Installer waits for the exit code from the custom action before continuing.
What does it do if exit code is success and what does it to do when exit code is failure.
Then what is the exact difference in ""Asynch, Wait at end of sequence "" and Synchronous, Ignore exit code.
Can someone please explain me the 'processing' of custom action: ""Asynch, Wait at end of sequence ""
Asynch, Wait at end of sequence :
As per the help if processed in this way then windows Installer waits for the exit code from the custom action before continuing.
What does it do if exit code is success and what does it to do when exit code is failure.
Then what is the exact difference in ""Asynch, Wait at end of sequence "" and Synchronous, Ignore exit code.
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
murali.bhat
14 years ago
You can refer to one of the old thread of this forum by bheers : http://itninja.com/question/question
This has almost all details of Custom Action.
This has almost all details of Custom Action.
Posted by:
kermit99
14 years ago
Posted by:
anonymous_9363
14 years ago
I think the help file is pretty succint but if you're struggling...
The two essentials difference are that with 'Synchronous, Ignore exit code', the engine waits for the CA to complete before moving on to the next action and that CA's exit code is ignored. With 'Asynch, Wait at end of sequence' the engine runs the CA alongside the main thread and that the CA's exit code *is* checked but at the end of the sequence.
Does that help?
The two essentials difference are that with 'Synchronous, Ignore exit code', the engine waits for the CA to complete before moving on to the next action and that CA's exit code is ignored. With 'Asynch, Wait at end of sequence' the engine runs the CA alongside the main thread and that the CA's exit code *is* checked but at the end of the sequence.
Does that help?
Posted by:
kermit99
14 years ago
Ok.
I understand that exit code is checked in case of 'Asynch, Wait at end of sequence'
but what happens if exit code is success...
and what happes if exit code is failure...
I feel in both case installer continues.... so what is the use of checking the exit code...
I may be little confused with this...I think you may help??
I understand that exit code is checked in case of 'Asynch, Wait at end of sequence'
but what happens if exit code is success...
and what happes if exit code is failure...
I feel in both case installer continues.... so what is the use of checking the exit code...
I may be little confused with this...I think you may help??
Posted by:
anonymous_9363
14 years ago
Posted by:
kermit99
14 years ago
Posted by:
SM
14 years ago
Synchronous means... supoose there are A1 , A2 ,Ca1,A3 are orgainsed in this sequence.Where A1,A2,A3 are the standard Action and Ca1 is Custom Action...here when we run appliaction A1 , A2 will run and it holds the Installation for MSI as it in synchronous ....and execute Ca1 ....now if the Ca1 fails then also the application will continue to install the further actions for MSI and execute A3....hence our application will be installed by ignoring the Ca1..
In case of asynchronous mode for the same example ...A1,A2 will execute and MSI installation for standard Actions is not kept on hold...where as one more thread for Ca1 is created in order to execute it....
In case of asynchronous mode for the same example ...A1,A2 will execute and MSI installation for standard Actions is not kept on hold...where as one more thread for Ca1 is created in order to execute it....
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.