Call Custom Dll From Installed Files - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

Hide thumbs Also See for WINDOWS INSTALLER EDITOR 8.0:
Table of Contents

Advertisement

Call Custom DLL From Installed Files

Windows Installer Editor Reference
to call ABC32.dll, one to call ABCx64.dll, and one to call ABCItanium.dll. Place each
custom action inside a condition block that checks for the appropriate platform.
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 .DLL that 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.
In the Execute Immediate or User Interface sequences only, you can send Windows
Installer properties to the .DLL function as parameters.
See
Configuring .DLL Parameter Settings
See also:
Guidelines for Calling .DLLs
Guidelines for Custom Action Location
Using the Custom Action Properties Tab
Using the Custom Action Location Tab
This custom action calls a .DLL file that is installed by this installation. Use this custom
action to call the .DLL during installation, while leaving the .DLL on the destination
computer as part of the installation.
Tips
You can send a variable parameter list to the .DLL.
Because .DLLs are processor-specific, the .DLL that you call must target the same
platform (32-bit, x64, or 64-bit Itanium) as the installation. In a mixed-target
project file (.WSI), condition each Call Custom .DLL custom action for the
on page 464.
on page 457
on page 454
on page 490
on page 488
Custom Action Reference
463

Advertisement

Table of Contents
loading

Table of Contents