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

Create successful ePaper yourself

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

Specifying a Keyword and its Value in an .ini File<br />

Chapter 9: Configuring the Target System<br />

Configuring ODBC Resources<br />

The keywords in an .ini file are the lowest level of organization in the .ini file. Keywords store data that<br />

must persist between uses of an application.<br />

Once you have added a .ini file to your project and set up one or more sections, you can add keywords to<br />

the sections and then configure the keyword’s properties. The properties of a keyword include the value<br />

for the keyword, as well as the action that should be performed (such as replace a data value or append<br />

to an existing data value).<br />

Task To add a keyword to an .ini file:<br />

1. Open the INI File Changes view.<br />

2. In the INI Files explorer, right-click the section that should contain the keyword, and then click<br />

Add Keyword. <strong>InstallShield</strong> adds a keyword item to the INI Files explorer.<br />

3. Rename this new keyword, giving it the name of the keyword you want to modify. If it is a new entry,<br />

enter the name exactly as you want it to appear in the .ini file.<br />

4. Edit the properties of the keyword.<br />

Configuring ODBC Resources<br />

One of the more complex areas of system configuration involves setting up ODBC drivers, data source<br />

names (DSNs), and translators. The ODBC resource must be properly registered on the system with all<br />

of the required attributes and, in the case of drivers and translators, install the necessary files, including<br />

any installation .dll files. This process is simplified in the ODBC Resources view, in which you can select<br />

the drivers, data sources, and translators installed on your development system. You can also add to<br />

your project any drivers and data sources that are not available on your development system.<br />

Including an ODBC Resource<br />

Task To include an ODBC resource in your installation:<br />

1. Open the ODBC Resources view.<br />

2. In the ODBC Resources pane, expand the Drivers & DSNs item and/or the Translators item.<br />

3. Select the check box for the ODBC resource that you want to include.<br />

Including Additional ODBC Resources<br />

You may need to install ODBC drivers or DSNs that are not already listed in the ODBC Resources view.<br />

The following procedures explain how to do so.<br />

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

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

Saved successfully!

Ooh no, something went wrong!