User Guide

505
Custom Actions That Are Added Automatically
Custom Actions That Are Added Automatically
Wise Solutions provides several custom actions to add functionality that is not available
with Windows Installer’s standard actions. When you use certain features, such as
custom actions that call a .DLL, Wise custom actions are added to the installation.
Removing the Wise custom actions might cause problems with the installation.
! SetPatchMode
This action works around issues with the Windows Installer patching process by
setting the REINSTALL property to the list of features in the previous version of the
software. The action also sets the ADDLOCAL property to the list of features, if any,
that were added to the installation in the new version of the application. This action
is added to all installations regardless of whether they use patching, but only affects
installations that use patching.
! SetPatchReinstallMode
This action works around issues with the Windows Installer patching process by
setting the REINSTALLMODE property to “omus” (the Windows Installer default) for
patches. See REINSTALLMODE Property in the Windows Installer SDK Help. This
action is added to all installations that might be used in the future to create a patch.
This only affects the installation if it is used to create a patch.
! WiseStartup
When you add a custom action that calls a .DLL with parameters, this action is added
to enhance Windows Installer functionality. It adds code to enable parameter passing
for actions that call a .DLL file.
! WiseCleanup
When you add a custom action that calls a .DLL with parameters, this action is added
to clean up any temporary files left over from the custom action.
! WiseAltStartup
When you add a custom action that calls a .DLL with parameters, this action is added
to enhance Windows Installer functionality. It saves the current state of properties
for use by the custom actions.
! WiseUpgradeCheck
When you add upgrade information to the Upgrades page, this action is added to
enhance Windows Installer functionality. It works around issues where the Windows
Installer runtime does not detect previous versions of the application.
! WiseUpgradeCheckEx
When you add upgrade information to the Upgrades page, this action is added to
enhance Windows Installer functionality. It works around issues where the Windows
Installer runtime does not detect previous versions of the application.
! WiseSingleFileCheck
This action adds functionality for creating single-file .EXE installations. It removes
cached copies of the .MSI that are extracted during uninstalls.