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.

Chapter 2: Getting Started<br />

Converting or Importing Visual Studio Projects into <strong>InstallShield</strong> Projects<br />

<strong>Edition</strong>: <strong>InstallShield</strong> Premier <strong>Edition</strong> and <strong>InstallShield</strong> Professional <strong>Edition</strong> include the <strong>InstallShield</strong> Prerequisite Editor, a<br />

tool that enables you to define custom <strong>InstallShield</strong> prerequisites and to edit settings for any existing <strong>InstallShield</strong><br />

prerequisites. If you have either one of these editions of <strong>InstallShield</strong>, you would be able to create your own <strong>InstallShield</strong><br />

prerequisites that would be launched during your product’s installation.<br />

In addition, <strong>InstallShield</strong> Premier <strong>Edition</strong> and <strong>InstallShield</strong> Professional <strong>Edition</strong> enable you to set up release flags to build<br />

different versions of an installation—such as Evaluation, Debug, Standard, and Advanced—from a single project. These<br />

editions let you include and exclude <strong>InstallShield</strong> prerequisites at build time, depending on the release flags that you have<br />

selected. For example, if you are creating a debug version of your product and you do not want to include some of the<br />

<strong>InstallShield</strong> prerequisites in the build, you can assign a release flag to the appropriate <strong>InstallShield</strong> prerequisites and then<br />

specify which release flags to include in the release.<br />

<strong>User</strong>-Interface Tasks<br />

The import and conversion processes do not incorporate the dialogs from a Visual Studio project into<br />

the <strong>InstallShield</strong> project. Once you have imported or converted your project, you can use the Dialogs<br />

view in <strong>InstallShield</strong> to configure settings for the dialogs in your project.<br />

Language Tasks<br />

If you imported a Visual Studio project into an <strong>InstallShield</strong> project and the following conditions exist,<br />

<strong>InstallShield</strong> replaces the existing string entry values in your project with default string entry values for<br />

the language of your Visual Studio project:<br />

• You indicate in the Visual Studio Deployment Project Wizard that you would like to import the<br />

language of the Visual Studio project.<br />

• The language of your Visual Studio project does not match the language in your <strong>InstallShield</strong><br />

project. (In Visual Studio, the Localization property indicates the project’s language.)<br />

For example, if you indicate in the Visual Studio Deployment Project Wizard that you would like to<br />

import the language of the Visual Studio project, if the language of your <strong>InstallShield</strong> project is Spanish,<br />

and if the language of your Visual Studio project is German, <strong>InstallShield</strong> replaces the Spanish run-time<br />

strings in your project with the default German translations. Thus, if you edit a string entry value by<br />

revising a setting such as the Publisher setting in the General Information view, and then you indicate in<br />

the wizard that you want to import the language of a Visual Studio project, <strong>InstallShield</strong> overwrites the<br />

value of the Publisher setting—as well as values for other settings—with the default German string entry<br />

values.<br />

Therefore, if you change the project language while importing your Visual Studio project, review the<br />

settings in the General Information view and the Text and Messages view, and modify the string entry<br />

values if appropriate.<br />

.NET Installer Class Tasks<br />

If your Visual Studio project includes a .NET installer class custom action, <strong>InstallShield</strong> configures the<br />

.NET installer class information for the .NET assembly during the conversion process. (<strong>InstallShield</strong><br />

selects the Installer Class check box on the COM & .NET settings tab of the File Properties dialog box to<br />

indicate that the assembly’s Install, Commit, Rollback, and Uninstall methods will be called at the<br />

appropriate times at run time.) <strong>InstallShield</strong> does not include support for the Condition property of a<br />

.NET installer class custom action in Visual Studio. Therefore, if your Visual Studio project contains a<br />

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

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

Saved successfully!

Ooh no, something went wrong!