09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Customizing Installation Behavior<br />

10<br />

An important aspect of creating an installation is customizing it for your end users’ needs. The help<br />

topics in “Customizing Installation Behavior” discuss various features of <strong>InstallShield</strong> that help you<br />

extend the functionality of your installation. For example, you may find it useful to create custom actions<br />

to add support for something not directly supported by Windows Installer. For more information on<br />

how you can customize the installation behavior in your project, refer to this section of the<br />

documentation.<br />

Using Custom Actions<br />

Windows Installer provides many standard actions that execute an installation. However, there may be<br />

times where your installation needs expanded functionality. In these cases, custom actions let you<br />

extend the capabilities of standard actions. This can be done through including dynamic-link libraries,<br />

executable files, or script in your installation. The following table describes the different types of custom<br />

actions that you can add to your projects.<br />

Table 10-1: Types of Custom Actions<br />

Type of Action Description<br />

Windows Installer DLL (MSI DLL) This type of action is a C-callable library that exports functions with a fixed<br />

prototype.<br />

Benefits of this action type include:<br />

• Windows Installer DLLs usually have minimal dependencies.<br />

• Much Windows functionality is exposed in system libraries.<br />

• Unlike executable-file actions, this type of action can use the Windows<br />

Installer API to access the running Windows Installer session and work with<br />

properties, directories, and so on.<br />

Note that writing MSI DLLs requires C/C++ and Windows API coding skills.<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1800-UG01 221

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!