Call DLL From Installed Files
Windows Installer Editor Reference
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.
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.
See also:
Guidelines for Calling .DLLs
Guidelines for Custom Action Location
Using the Custom Action Properties Tab
Using the Custom Action Location Tab
Custom Action Type 1 in the Windows Installer SDK Help
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.
Before you add this custom action, 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.
on page 457
on page 454
on page 490
on page 488
Custom Action Reference
466
Need help?
Do you have a question about the WINDOWS INSTALLER EDITOR 8.0 and is the answer not in the manual?