About Custom Actions; Call Custom Dll From Destination - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION STUDIO V1.0 Installation Manual

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 537
Set Feature State
on page 538
Set Property
on page 538
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.
For a tutorial that demonstrates this custom action, refer to the Getting Started Guide.
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 534
on page 535
on page 536
on page 539
on page 539
on page 542
on page 544
The MSI Script Window
Custom Action Reference
on page 540
on page 492.
512

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents