Changes

Jump to: navigation, search

Setting up the application.ini File

1,749 bytes added, 16:50, 13 December 2006
no edit summary
XULRunner first looks at the application.ini file located at the root directory. This file contains metadata which tells XULRunner how to run the application properly. This file typically contains [Headings] and Key=Values pairs. Also, any line which begin with characters "#" or ";" are treated as comments.

The application.ini file contains two sections. They are the following with surrounding square brackets:


'''[App]''' Section - This section of the file contains data about the application
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0>
<tr>
<th style="width: 15%; background-color:#333333; color:#F3F3F3">Key</th>
<th style="background-color:#333333; color:#F3F3F3"> '''Value'''</th>
</tr>
<tr>
<td>Name</td>
<td>Name of the application.</td>
</tr>
<tr>
<td>Version</td>
<td>Version of the application.</td>
</tr>
<tr>
<td>BuildID</td>
<td>This is the build ID which is unique. Typically this field is a date</td>
</tr>
<tr>
<td>ID</td>
<td>Unique ID of the application.</td>
</tr>
<tr>
<td>Vendor</td>
<td>This is the vendor of the application which is an optional field.</td>
</tr>
</table>


'''[Gecko]''' Section - This section contains information about what version XULRunner is needed for the application.
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0>
<tr>
<th style="width: 15%; background-color:#333333; color:#F3F3F3">'''Key'''</th>
<th style="background-color:#333333; color:#F3F3F3">'''Value'''</th>
</tr>
<tr>
<td>MinVersion</td>
<td>The minimum XULRunner version this application supports.</td>
</tr>
<tr>
<td>MaxVersion</td>
<td>The maximum XULRunner version this application can run on.</td>
</tr>
</table>
1
edit

Navigation menu