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.

Task To create a file extension association:<br />

1. In the View List under Configure the Target System, click File Extensions.<br />

Chapter 9: Configuring the Target System<br />

Changing .ini File Data<br />

2. Right-click the File Extensions explorer and click New Extension. <strong>InstallShield</strong> creates a new<br />

file extension with the default name extn (where n is a successive number). Type your own extension<br />

without the dot (for example, enter txt instead of .txt) to replace the default name.<br />

3. Configure the settings for the extension.<br />

Changing .ini File Data<br />

An initialization (.ini) file is a special text file that contains information that applications and the<br />

Windows system use to specify application options at startup or run time. Some .ini files, such as<br />

Boot.ini and Wininit.ini, are used by the operating system. You can store profile, configuration,<br />

language, font, and device driver information in an .ini file.<br />

Note that it is recommended as a general rule that application settings be stored in the registry, instead<br />

of in .ini files.<br />

Format of an .ini File<br />

Information in .ini files is stored under section names enclosed within square brackets, and each item<br />

has the form keyname=value, as shown below:<br />

[section name]<br />

keyname1=value1<br />

keyname2=value2<br />

keyname3=value3<br />

Key data can be a string value or an integer value.<br />

<strong>InstallShield</strong> Projects and .ini Files<br />

The INI File Changes view in <strong>InstallShield</strong> enables you to specify changes that should be made to .ini<br />

files on the target system during the installation of your product. Although you can edit any .ini file<br />

found on the target system, editing system .ini files is not recommended.<br />

Editing an .ini file involves three steps:<br />

1. Create an .ini file reference or import an .ini file.<br />

2. Add a section to the .ini file.<br />

3. Add a keyword to the .ini file.<br />

Adding an .ini File<br />

When you add an .ini file to your project, you are creating a reference to that .ini file in your installation.<br />

If the feature associated with the .ini file is installed on the target system, the installation modifies the<br />

.ini file according to the settings that you configure in the INI File Changes view.<br />

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

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

Saved successfully!

Ooh no, something went wrong!