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 Team Foundation Server<br />

• Source control—Use the Source Control Explorer to integrate your <strong>InstallShield</strong> project with Team<br />

Foundation version control and manage changes to your <strong>InstallShield</strong> projects and your Visual<br />

Studio solutions.<br />

• Automated builds—Use Team Foundation Build to compile, test, and deploy your <strong>InstallShield</strong><br />

projects and your Visual Studio solutions on a regular basis. Your installation is automatically<br />

updated with your latest source files every time your solution is built, always staying current.<br />

• Project management—Track work items such as bugs, tasks, and project documentation for your<br />

<strong>InstallShield</strong> projects and your Visual Studio solutions. The project status is available to your entire<br />

team from within Team System Web Access, and from within Team Explorer.<br />

Integration Requirements<br />

To integrate <strong>InstallShield</strong> with Team Foundation Server, install <strong>InstallShield</strong> on each machine that you<br />

want to be able to create, update, or build <strong>InstallShield</strong> projects. Thus, <strong>InstallShield</strong> should be installed<br />

on each machine on which you want to create and update <strong>InstallShield</strong> projects. It should also be<br />

installed on a machine that is designated as a build agent for <strong>InstallShield</strong> projects that are stored in<br />

Team Foundation Server. For <strong>InstallShield</strong> licensing details, refer to the <strong>InstallShield</strong> End-<strong>User</strong> License<br />

Agreement (EULA).<br />

In order for a build agent to build some types of projects and solutions, you may need to install<br />

additional software on the build machine. For example, to build a C++ project, which requires the C++<br />

compiler and possibly other dependencies, install Visual Studio on the build machine.<br />

If you are using multiple build agents to build your Team Foundation Server projects, you may want to<br />

assign a particular build tag to any agents that are on machines that have <strong>InstallShield</strong>; you could also<br />

apply that special build tag to each build definition that is created for an <strong>InstallShield</strong> project. That way,<br />

only build machines that have <strong>InstallShield</strong> installed would be used to build <strong>InstallShield</strong> installations.<br />

For more information about creating build tags and assigning them to agents and build definitions, see<br />

the Visual Studio Team Foundation Server documentation.<br />

If you are queuing a build on a 64-bit build machine, ensure that you have configured the build<br />

definition for your <strong>InstallShield</strong> project so that the 32-bit version of MSBuild is used to load the<br />

<strong>InstallShield</strong>.Tasks.dll file (which is a 32-bit file); otherwise, you will encounter a build error<br />

informing you that the <strong>InstallShield</strong>.Tasks.dll file could not be loaded. To select the 32-bit version of<br />

MSBuild, click the Process tab of your build definition in Team Explorer. Then, under the Advanced<br />

node, find the MSBuild Platform setting, and select x86. Note that if you are using a 32-bit build<br />

machine, you can select either Auto or x86 for the MSBuild Platform setting.<br />

If you install Team Explorer on the same machine that has <strong>InstallShield</strong> and Visual Studio, you can use<br />

Team Explorer from within your <strong>InstallShield</strong> projects that are open in Visual Studio. This enables you<br />

to perform tasks such as the following:<br />

• Use Source Control Explorer when you are working on your <strong>InstallShield</strong> projects.<br />

• Configure builds for your <strong>InstallShield</strong> projects and Visual Studio solutions.<br />

• Queue new builds.<br />

Note that when you queue a build for a solution that includes an <strong>InstallShield</strong> project, the installation<br />

that is built is copied to an Install subfolder within the drop folder. When the <strong>InstallShield</strong> build detects<br />

that it is running under Team Foundation Build, it copies the installation to the final output location for<br />

the solution (OutDir)—namely, the binaries directory, which in turn is copied to the drop folder at the<br />

end of the Team Foundation Build process.<br />

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