Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference

[Contents][Glossary][Index][Back][Next]

3.2.4 ERROR

The ERROR section contains the statements to be executed if the installation abnormally terminates. You can code this section to notify JP1/Software Distribution Client of the return code for the result of installation.

If an error occurs during execution of an AIT file, control moves to this section.

Organization of this subsection
(1) Example of coding

(1) Example of coding

ERROR
{
   WINH = AIT_RegisterWindowMessage("DMP_REC_QUIT");
     if  (WINH != 0)
       AIT_PostMessage (HWND_BROADCAST,WINH,-1,0);
     endif;
}