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 24: View Reference<br />

Define Setup Requirements and Actions View<br />

Table 24-57: Settings for VBScript Custom Actions (cont.)<br />

Setting Description<br />

File Name If you selected Browse File System in the Source Location setting, click the ellipsis<br />

button (...) in the File Name setting to browse to the VBScript file that you want to use for<br />

the custom action. When you build your installation, this file is automatically incorporated<br />

into your installation. Although the custom action is run during installation, the file is<br />

removed following installation.<br />

If you selected Installed with the Product in the Source Location setting, click the ellipsis<br />

button (...) in the File Name setting to browse for the file from the list of files that have<br />

already been added to your project through the Files view. Files that are installed on the<br />

target system are launched from their destination on the target system.<br />

Function Name If you have defined a function within your .vbs file, enter the name of the function that you<br />

want to execute. This is executed after the VBScript. VBScript functions cannot take<br />

arguments from custom actions. Additionally, it is unnecessary to have a function—the<br />

custom action first executes the script, then calls the function if specified.<br />

In-Script Execution Select the iteration of the sequence that should trigger the selected custom action. For<br />

detailed information about each option, see Action Execution Options.<br />

Note that this setting does not apply to some sequences. For example, if you add a<br />

custom action under After Initialization (before first dialog), the action will be<br />

scheduled for immediate execution; it cannot be scheduled for deferred, rollback, or<br />

commit execution.<br />

Wait for Action Specify whether you want the installation, uninstallation, or maintenance to wait until the<br />

custom action exists before proceeding with the rest of the installation.<br />

If you select No, the installation, uninstallation, or maintenance continues while your<br />

custom action runs.<br />

Ignore Exit Code Specify whether you want the Windows Installer to ignore the return value of this custom<br />

action and continue the installation, uninstallation, or maintenance.<br />

Comments Enter comments about this custom action. These comments are for your reference only<br />

and are not displayed to end users.<br />

Condition This setting lets you specify one or more conditions that must be true in order for the<br />

selected custom action to be run. For example, you can create a condition that checks<br />

the target system for a specific operating system or minimum system requirements. If<br />

the conditions evaluate to True at run time, the custom action is run. If one or more of<br />

the conditions evaluate as False, the custom action is not run.<br />

To specify one or more conditions, click the ellipsis button (...) in this setting.<br />

When you add a condition, <strong>InstallShield</strong> adds a new setting under the Condition setting.<br />

This new setting displays the conditional statement for the condition that you added.<br />

To edit or delete a condition, click the ellipsis button (...) in the Condition setting.<br />

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

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

Saved successfully!

Ooh no, something went wrong!