/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (8)

Posted by: murali.bhat 13 years ago
Purple Belt
0
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.
Posted by: kermit99 13 years ago
Yellow Belt
0
Thanks murali..but it didn't help...this is copied directly from help file of Wise...

I am looking for precise answer.....

Anyone else please
Posted by: anonymous_9363 13 years ago
Red Belt
0
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?
Posted by: kermit99 13 years ago
Yellow Belt
0
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??
Posted by: anonymous_9363 13 years ago
Red Belt
0
Yes, the installation continues because you will have told the engine to 'wait at end of sequence' before processing any error codes.

If you want an error to be checked immediately after the CA's execution and exit on an error condition, use 'Synchronous'.
Posted by: kermit99 13 years ago
Yellow Belt
0
Still little confused....then what is the specific use of this processing....when things are same as synchronus, ignore exit code...
Posted by: SM 13 years ago
Senior Yellow Belt
0
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....
Posted by: anonymous_9363 13 years ago
Red Belt
0
How are they the same? One ignores the error code, the other acts upon it, just not immediately.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ