ICE63 checks for proper sequencing of the RemoveExistingProducts action. The RemoveExistingProducts action may be placed:
- Between InstallValidate and InstallInitialize
- Immediately after InstallInitialize, or after InstallInitialize if the actions between InstallInitialize and RemoveExistingProducts do not generate any script actions.
- Immediately after InstallExecute or InstallExecuteAgain and before InstallFinalize (the same restriction as above applies).
- After InstallFinalize.
Failure to fix a warning or error reported by ICE63 leads to failure of the upgrade.
ICE63 posts a warning or error if the sequencing of the RemoveExistingProducts action is not correct.
ICE63 reports the following error for the example shown.
WARNING: Some action falls between InstallInitialize and RemoveExistingProducts.
The action 'MyCustomAction' occurs between InstallInitialize and RemoveExistingProducts. If MyCustomAction generates any actions in the script, this causes problems in the installation.
To fix this error, verify that MyCustomAction does not generate any script actions or resequence the actions.