About Custom Actions; Call Custom Dll From Destination - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

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

Advertisement

About Custom Actions

Call Custom DLL From Destination

Windows Installer Editor Reference
Run WiseScript From Destination
Run WiseScript From Installation
Run WiseScript From Installed Files
Set Directory
on page 486
Set Feature State
on page 486
Set Property
on page 487
Terminate Installation
Using the Custom Action Location Tab
Using the Custom Action Location Tab for Merge Modules
Using the Custom Action Properties Tab
Using the Custom Action Description Tab
While Windows Installer provides standard actions that perform most functionality you
need in an installation, occasionally you might need additional functionality not available
in standard actions. In that case, Windows Installer supports a variety of custom
actions, which let you call code from other development environments, display a
message, download a file from a Web site, open a Web page, post information over the
Internet to your organization's server, run another installation, set directories, set a
feature state, set properties, and more. These custom actions let you add extensive
functionality to an installation without having to write the code yourself.
For technical details on custom actions, see Custom Actions in the Windows Installer
SDK Help.
For help using the MSI Script interface, see
This custom action calls a .DLL file that already resides on the destination computer.
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
appropriate platform. Example: Your .WSI contains a 32-bit release, an x64 release,
and an Itanium release. You add three Call Custom .DLL actions to the project: one
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.
The .DLL should be common to all Windows computers, such as user32.dll.
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.
on page 483
on page 483
on page 485
on page 488
on page 488
on page 490
on page 493
The MSI Script Window
Custom Action Reference
on page 489
on page 441.
461

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WINDOWS INSTALLER EDITOR 8.0 and is the answer not in the manual?

Questions and answers

Table of Contents