User Guide
511
! 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.
Also see:
Guidelines for Calling .DLLs on page 502
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
Custom Action Type 1 in the Windows Installer SDK Help
Call DLL From Installed Files
This custom action calls a .DLL file that is installed by this installation. Use this if the
.DLL should remain on the destination computer after installation.
Tips
! You cannot send a variable parameter list to the .DLL. You can send only the handle
to the installation, which means the .DLL must be written specifically for Windows
Installer. To avoid these restrictions, use a “Call Custom DLL...” action instead.
! First add the file to be called to the Files page in Installation Expert.
! Shaded areas of MSI Script indicate restricted placement for this custom action;
because this custom action calls an installed file, it must run after files are installed.
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 file to call during installation. It must have already been added to this
installation via the Files page.
! Function Name
Type the name of the function within the .DLL file to call.
Also see:
Guidelines for Calling .DLLs on page 502
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
Custom Action Type 17 in the Windows Installer SDK Help