09.12.2012 Views

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

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.

Chapter 16: Building, Testing, and Distributing Installations<br />

Configuring and Building Releases<br />

<strong>InstallShield</strong> supports the Microsoft Build engine (MSBuild) included with the .NET Framework.<br />

MSBuild support enables you to build Visual Studio solutions with <strong>InstallShield</strong> projects in build lab<br />

environments where Visual Studio is not installed.<br />

Overview<br />

MSBuild is an extensible build framework designed to remove the build dependence on Visual Studio.<br />

The .NET Framework provides the capability to build projects or solutions from the command line or<br />

any other host of MSBuild. For more information on MSBuild, see the MSDN Library.<br />

MSBuild Tasks<br />

The flexibility and extensibility of MSBuild is controlled through atomic groupings of internal build<br />

steps referred to as tasks. One example of a task that ships with MSBuild is Csc, which can compile code<br />

from a Visual C# project. <strong>InstallShield</strong> installs an MSBuild task called <strong>InstallShield</strong>, which builds an<br />

<strong>InstallShield</strong> project, and a targets file that provides default build steps for the project. This customized<br />

task, along with the targets file, enables MSBuild to perform all required actions to build the<br />

<strong>InstallShield</strong> project as part of a Visual Studio solution.<br />

This table describes the parameters of the <strong>InstallShield</strong> task.<br />

Table 16-5: MSBuild <strong>InstallShield</strong> Task<br />

Parameter Type Description<br />

<strong>InstallShield</strong>Path String This parameter specifies the path to folder containing the<br />

<strong>InstallShield</strong> application.<br />

Project String This parameter specifies the location of the project file (.ise).<br />

ProductConfiguration String This parameter specifies the product configuration for the release.<br />

The value for this parameter should be <strong>Express</strong>.<br />

ReleaseConfiguration String This parameter specifies the release name. Valid options are as<br />

follows:<br />

• Custom<br />

• CD_ROM<br />

• DVD-10<br />

• DVD-18<br />

• DVD-5<br />

• DVD-9<br />

• SingleImage<br />

• WebDeployment<br />

300 ISE-1900-UG00 <strong>InstallShield</strong> <strong>2012</strong> <strong>Spring</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!