InstallShield 2016 » InstallScript Language Reference
Project • This information applies to InstallScript projects.
The OnSelfRegistrationError event handler is called directly by the framework when a call to Do(SELFREGISTRATIONPROCESS) fails to register files successfully.
Syntax
OnSelfRegistrationError ( );
Parameters
None.
Return Values
None.
Additional Information
The default OnSelfRegistrationError code uses the following properties of the global FileRegistrar object:
Property |
Description |
FileRegistrar.Errors.Count |
The number of self-registering files that were not registered. |
FileRegistrar.Errors(i) |
An object whose properties provide information about the i-th unregistered file. (i runs from 1 to the value of FileRegistrar.Errors.Count.) |
FileRegistrar.Errors(i).File |
The name of the i-th unregistered file. |
FileRegistrar.Errors(i).Description |
A string describing the error that occurred when the setup attempted to register the i-th unregistered file. This string may be null (""). |
FileRegistrar.Errors(i).LastError |
The numeric code for the error that occurred when the setup attempted to register the i-th unregistered file. |
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |