Windows Installer Editor Reference
505
Wise Custom Actions
NalpRemoveLicense
NalpRemoveLicenseSetProp
If you add Nalpeiron support to an installation, these deactivate the
Nalpeiron license when your application is uninstalled from the destination
computer.
PopulateVirDirs
Populates the list of existing virtual directories for a given site when
installing to an existing virtual directory.
SetARPINSTALLLOCATION
Sets the ARPINSTALLLOCATION property to the value of INSTALLDIR.
SetPatchMode
Sets the REINSTALL property to the list of features in the previous version of
the user’s application and 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 but affects only
installations that use patching.
SetPatchReinstallMode
Sets 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 but affects only
installations that use patching.
SetWizardProperty
Determines what user interface wizard to display in the maintenance mode.
SetWizardProperty1
Determines what user interface wizard to display in the regular installation
mode.
ViewLog
(Windows Installer 4.0 or later only.) Displays the installation log when any
of the logging options on the Windows Installer Options page are marked,
and the end user marks the View the install log check box on the
installation’s Exit dialog box.
WiseAltStartup
When you add a custom action that calls a .DLL with parameters, this action
is added to save the current state of properties for use by the custom actions
running in deferred mode.
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.
Wise textreplacementinit
Immediate mode custom action that reads Dynamic XML data and stores it
in a file for use by the deferred custom action Wise textreplacementmodify.
Wise textreplacementmodify
Deferred mode custom action that reads data stored by Wise
textreplacementinit and performs the appropriate XML substitutions.
WiseElevateCheck
(Windows Vista or later only) Determines whether the installation is running
with elevated privileges and elevates it if necessary.
Caution
If this custom action appears in an installation, do not remove or move it.
WiseFindSqlClientTools
Sets the property WiseOsqlCmd to the command line to run the Osql tool.
WiseFirewallInfo
Gathers information about the Windows Firewall during installation on
Windows XP SP2, Windows Server 2003 SP1, and later.
WiseGetASPNETUser
Sets Windows Installer properties (ASPNET1.0_USER, ASPNET1.1_USER,
and ASPNET_USER) containing the names of the ASP.Net users. These can
be used to grant access to a user during installation.
WiseGetDotNetVersion
Sets the property DOTNETFX to 1 if at least one version of .NET framework is
installed. Also sets various properties to 1 to indicate which versions of .NET
framework are installed (Example: DOTNETV1.0.3705).
Custom action
Description