Hi Art,
During an installation process (first-time install, uninstall, upgrade etc.) Windows Installer always executes the same standard actions. Depending on the configuration of the package, these standard actions can perform some actions or they can do nothing. You can see a standard action in the
Custom Actions page by using the "Show Standard Action" button on the toolbar. By default, only the "Uninstall", "Rollback", "Install" and "Commit" standard actions are shown. However, you can show any standard action you want in order to schedule a custom action under it.
The files installed by the package are removed during the "InstallExecuteSequence" -> "RemoveFiles" standard action. Therefore, a custom action which uses an installed file must be scheduled before this standard action (for example under "InstallExecuteSequence" -> "RemoveDuplicateFiles" standard action). Also, if you want to run a custom action only during an uninstall you need to set the "Expression" field in the
Custom Action Properties page to:
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging