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.

Chapter 1: <strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong><br />

What Was New in Earlier Versions of <strong>InstallShield</strong> <strong>Express</strong> <strong>Edition</strong><br />

Previously, <strong>InstallShield</strong> did not use any custom information in many cases. For example, the Setup.exe<br />

files that <strong>InstallShield</strong> previously created contained details that pertained to the version of <strong>InstallShield</strong><br />

that was used to build the Setup.exe file. Thus, the copyright notice that was displayed in the Setup.exe<br />

Properties dialog box was the copyright notice for <strong>InstallShield</strong>, rather than the copyright notice for your<br />

product.<br />

Several new settings—Company Name, Product Name, Product Version, Description, and Copyright—let<br />

you specify the custom information that you want <strong>InstallShield</strong> to use when you build an Update.exe file.<br />

These settings are available on the Advanced tab of the Build Settings area in the General Information<br />

view of QuickPatch projects.<br />

Previously, <strong>InstallShield</strong> did not use any custom version resource information for Update.exe files.<br />

To learn more, see:<br />

• Customizing File Properties for the Setup Launcher<br />

• Setup.exe Tab<br />

• Customizing File Properties for the Update Launcher<br />

• Advanced Tab<br />

Improvements for Custom Actions: New Custom Action Types; New Maintenance Mode Sequence<br />

Options; Support for Rollback and Commit Custom Actions<br />

<strong>InstallShield</strong> includes several new features for custom action support.<br />

MSI DLL Custom Actions<br />

<strong>InstallShield</strong> now lets you add MSI DLL custom actions to your projects. An MSI DLL custom action<br />

calls an entry-point function that is exported from a C or C++ DLL. The DLL can be installed at run time<br />

during the installation, or it can be embedded within the Binary table of the .msi package. The MSI DLL<br />

custom action offers more flexibility for the DLL file’s source location than the standard DLL custom<br />

action, which was the only type of DLL custom action that was supported in earlier versions of<br />

<strong>InstallShield</strong>. During some parts of the installation, standard DLL actions cannot be stored in the<br />

Binary table; instead, they must be installed with the product. However, during those same parts of the<br />

installation, MSI DLL actions can be stored in the Binary table or installed with the product.<br />

Note that for MSI DLL custom actions, a return value of zero indicates success; non-zero return values<br />

indicate statuses such as failure or cancellation. This is consistent with all other custom action types,<br />

except for standard DLL custom actions. For standard DLL custom actions, a non-zero return value<br />

indicates success, and a return value of zero indicates failure.<br />

JScript Custom Actions<br />

<strong>InstallShield</strong> also lets you add JScript custom actions to your projects. If you convert a Visual Studio<br />

setup project (.vdproj) that has a JScript custom action into an <strong>Express</strong> project (.ise), <strong>InstallShield</strong> now<br />

includes the JScript custom action.<br />

Separate Maintenance and Uninstallation Sequences<br />

The Custom Actions view contains a new Custom Actions During Maintenance node that lets you<br />

schedule actions that you want to occur only during maintenance. The following sequence nodes have<br />

been moved from the Custom Actions During Uninstallation node to this new Custom Actions During<br />

Maintenance node:<br />

• After Initialization (before first dialog)<br />

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

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

Saved successfully!

Ooh no, something went wrong!