Difference between revisions of "Application.ini File"

From CDOT Wiki
Jump to: navigation, search
m
 
(Setting up the application.ini file)
 
Line 1: Line 1:
 
== Setting up the application.ini file ==
 
== Setting up the application.ini file ==
  
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 fype typically contains [Heading] and Key=Values.  Also, Lines which begin with characters "#" or ";" are treated as comments.
+
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:
 
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
 
'''[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>
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0>
 
<tr>
 
<tr>
<td width="10%"> '''Key'''</td>
+
<th style="width: 15%; background-color:#333333; color:#F3F3F3">Key</th>
<td> '''Value'''</td>
+
<th style="background-color:#333333; color:#F3F3F3"> '''Value'''</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 37: Line 38:
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0>
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0>
 
<tr>
 
<tr>
<td width="10%">'''Key'''</td>
+
<th style="width: 15%; background-color:#333333; color:#F3F3F3">'''Key'''</th>
<td>'''Value'''</td>
+
<th style="background-color:#333333; color:#F3F3F3">'''Value'''</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Latest revision as of 14:20, 26 November 2006

Setting up the application.ini file

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

Key Value
Name Name of the application.
Version Version of the application.
BuildID This is the build ID which is unique. Typically this field is a date
ID Unique ID of the application.
Vendor This is the vendor of the application which is an optional field.


[Gecko] Section - This section contains information about what version XULRunner is needed for the application.

Key Value
MinVersion The minimum XULRunner version this application supports.
MaxVersion The maximum XULRunner version this application can run on.