InstallShield 2019
An obsolete event was encountered in your script file. While most InstallShield Professional script events are supported in InstallShield 2019, there are some that are not available.
Events With Comparable Functionality
• | OnInstallingFile |
• | OnUninstallingFile |
These two events have been replaced with the OnInstallFilesActionBefore and OnInstallFilesActionAfter. These events are called in Install, Uninstall, and Maintenance modes.
The OnInstallFilesActionBefore event is called when the installation is preparing to add or remove files from the target machine based on the Action state of the component containing those files. On uninstall, all related actions that require the source file have already been performed—such as removing any shortcuts to the file and unregistering the file’s COM data.
The OnInstallFilesActionAfter event is called when the installation has finished adding or removing files from the target machine. On Install, the related install actions for a file have yet to be performed, such as the registration of NT Services and creation of ODBC entries.
Note • When using the OnInstallFilesActionBefore and OnInstallFilesActionAfter events, you can use the Windows Installer API function MsiGetComponentState to determine the action state of a component.
Event with Partial Support
The OnSelfRegistrationError event is called if you are using the XCopyFile function to copy your application files to the source media.
Unsupported Events
The following events are not supported in InstallShield 2019:
• | OnFileReadOnly |
• | OnFileLocked |
• | OnNextDisk |
• | OnRemovingSharedFile |
• | OnFileError |
• | OnInternetError |
• | OnMD5Error |
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |