Return Values of JScript and VBScript Custom Actions
Custom actions written in JScript or Visual Basic, Scripting Edition (VBScript) can call an optional function. These functions must return one of the values shown in the following table.
| Symbolic | Code | Description |
|---|---|---|
| IDOK | 1 | Action completed successfully. |
| IDCANCEL | 2 | Premature termination by user. |
| IDABORT | 3 | Unrecoverable error. Returned if there is an error during parsing or execution of the JScript or VBScript. |
| IDRETRY | 4 | Suspended sequence to be resumed later. |
| IDIGNORE | 5 | Skip remaining actions. Not an error. |
| 5 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.