User Guide
508
! Function Name
Type the name of the function within the .DLL file to call.
! Parameter List
In the parameter list, specify the parameters to send to the .DLL.
! Return Value Type
Select the data type of the return value that is returned from the .DLL.
! Returned Property
Type or select a property name. The return value of the function call will be put into
this property.
Also see:
Guidelines for Calling .DLLs on page 502
Configuring .DLL Parameter Settings on page 510
Guidelines for Custom Action Location on page 499
Using the Custom Action Properties Tab on page 534
Using the Custom Action Location Tab on page 532
Call Custom DLL From Installation
This custom action stores a .DLL file in the Binary table of this installation file and calls it
during installation. Use this to call a .DLL that does not reside on the destination
computer. During installation, the .DLL is extracted to a temporary directory, is called,
and is deleted. It is not registered.
Tips
! You can send a variable parameter list to the .DLL.
! Manage the .DLL on the Resources page, which reflects the Binary table.
Note
Before being passed to Windows Installer, calls you make with Call Custom DLL actions are
passed through a Wise-created .DLL, which facilitates the passing of parameters.
Usage
Double-click the custom action and complete the Details tab:
! Custom Action Name
Enter a unique name that begins with a letter or underscore. It can contain numbers
and periods. It must not match the name of any Windows Installer standard action.
See Standard Actions Reference in the Windows Installer SDK Help.
! DLL File
Specify a .DLL from your hard drive or local network to call during installation.
! Function Name
Type the name of the function within the .DLL file to call.
! Parameter List
In the parameter list, specify the parameters to send to the .DLL.
! Return Value Type
Select the data type of the return value that is returned from the .DLL.
! Returned Property
Type or select a property name. The return value of the function call will be put into
this property.