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

Create successful ePaper yourself

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

Chapter 19: Integrating <strong>InstallShield</strong> with External Applications<br />

Integrating with Microsoft Visual Studio<br />

Building Releases in Microsoft Visual Studio<br />

Building a release of an <strong>InstallShield</strong> project in Visual Studio is different than building a release in<br />

<strong>InstallShield</strong>. When you are building in Visual Studio, you have the option to either build your entire<br />

solution, including the installation project, or build only the installation project.<br />

Before you can build a release, the release must be associated with a solution configuration. The<br />

Configuration Manager in Visual Studio is where you associate a release with a solution configuration.<br />

Task To build a release from within Visual Studio:<br />

1. Use the Configuration Manager in Visual Studio to map a release to the appropriate solution<br />

configuration.<br />

a. On the Build menu, click Configuration Manager.<br />

As an alternative: On the Standard toolbar, in the Solution Configurations list, select<br />

Configuration Manager.<br />

b. In the Active solution configuration list, select a configuration.<br />

c. In the Project contexts box, map the project configuration to the appropriate release in the<br />

Configuration column.<br />

Note: If the Build check box is cleared and you build the solution, the deselected project configuration is not built.<br />

d. Click the Close button.<br />

2. On the Build menu, select the appropriate command:<br />

Table 19-1: Build Menu Commands<br />

Command Description<br />

Build Solution Build the entire solution, according to what is mapped in the Configuration Manager<br />

for each project that is included in the solution.<br />

Build Installation Project<br />

Name<br />

Tip: To build the entire solution, you can also press CTRL+SHIFT+B.<br />

Adding .NET Assemblies to a Project<br />

Build only the installation project, according to the release that is specified in the<br />

Configuration column of the Configuration Manager. This option is available if your<br />

installation project is selected in the Solution Explorer.<br />

<strong>InstallShield</strong> enables you to add a .NET assembly to your installation project by adding the .NET<br />

assembly file to a feature.<br />

370 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!