InstallShield 2018 » InstallScript Language Reference
When a disk error occurs, the SetErrorMsg function sets the corresponding error message that is displayed by the EnterDiskError function.
Syntax
SetErrorMsg (nErrorID, szText);
Parameters
| Parameter | Description | |||||||||
| nErrorID | Specifies which error message to customize. Pass one of the following predefined constants in this parameter: 
 
 
 | |||||||||
| szText | Specifies the error message to display in the message box. | 
Return Values
| Return Value | Description | 
| 0 | Indicates that the function successfully changed the error message. | 
| < 0 | Indicates that the function was unable to change the error message. | 
See Also
| InstallShield 2018 Help LibrarySeptember 2018 | Copyright Information | Flexera |