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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Command-Line Tools<br />

27<br />

In addition to its graphical user interface, <strong>InstallShield</strong> provides several command-line applications that<br />

you can use during build time, for instance, as part of a batch process, or during run time to customize<br />

the behavior of your installation. This section describes the command-line parameters for those<br />

applications.<br />

• IsCmdBld.exe<br />

• MsiExec.exe<br />

• Setup.exe<br />

IsCmdBld.exe<br />

You can build a release from the command line using ISCmdBld.exe for <strong>Express</strong> projects.<br />

Syntax<br />

The following statement illustrates running ISCmdBld.exe to build the release Othello Beta:<br />

ISCmdBld.exe -p "C:\<strong>InstallShield</strong> <strong>2012</strong> Projects\My Othello Project\Othello.ise" -r<br />

"SingleImage" -c COMP<br />

The first parameter in the example above, starting with -p, is the path to the .ise file that you would like<br />

to build. Next, -r Othello Beta is the type of media. The parameter -c COMP specifies that you would like<br />

your package to be compressed into one file.<br />

If a command-line build completes without any errors, <strong>InstallShield</strong> sets the environment variable<br />

ERRORLEVEL to 0. If an error occurs during a command-line build, ERRORLEVEL is set to 1. If<br />

ERRORLEVEL is set to any other value, this typically indicates an invalid parameter was passed to<br />

ISCmdBld.exe, and the specific cause of the error is displayed in the Command Prompt window in which<br />

ISCmdBld.exe was running.<br />

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

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

Saved successfully!

Ooh no, something went wrong!