AIR的配置文件详解.

| |
[不指定 2009/02/16 10:42 | by Space.As ]

  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <application xmlns="http://ns.adobe.com/air/application/1.0">
  3
  4     <!-- The application identifier string, unique to this application. Required. -->
  5     <id>AIRTest1</id><!-- 软件ID,当安装时系统将会检测同一ID软件版本,版本高的即做更新操作 -->
  6
  7     <!-- Used as the filename for the application. Required. -->
  8     <filename>AIRTest_filename</filename><!-- 安装界面中 Application: -->
  9
10     <!-- The name that is displayed in the AIR application installer. Optional. -->
11     <name>AIRTest_name</name><!-- 桌面快捷方程式及窗口和系统控制面板添加程序中名称 -->
12
13     <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
14     <version>1.0</version><!-- 软件版本 -->
15
16     <!-- Description, displayed in the AIR application installer. Optional. -->
17     <description>AIRTest_description</description><!-- 安装第二个界面中的 description -->
18
19     <!-- Copyright information. Optional -->
20     <copyright>AIRTest_copyright</copyright>
21
22     <!-- Settings for the application's initial window. Required. -->
23     <initialWindow>
24         <!-- The main SWF or HTML file of the application. Required. -->
25         <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
26         <content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
27         <!-- The title of the main window. Optional. -->
28         <title>AIRTest_title</title><!-- 窗体标题,当此处为注释状态时取 name标签中内容 -->
29
30         <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
31         <systemChrome>none</systemChrome><!-- standard为标准窗体,none 为圆滑窗体 -->
32
33         <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
34         <transparent>true</transparent><!-- 背景是否透明 -->
35
36         <!-- Whether the window is initially visible. Optional. Default false. -->
37         <visible>true</visible><!-- 窗体初始化的时候是否可见 -->
38
39         <!-- Whether the user can minimize the window. Optional. Default true. -->
40         <minimizable>true</minimizable><!-- 是否允许最小化 -->
41
42         <!-- Whether the user can maximize the window. Optional. Default true. -->
43         <!-- <maximizable></maximizable> --><!-- 是否允许最大化 -->
44
45         <!-- Whether the user can resize the window. Optional. Default true. -->
46         <!-- <resizable></resizable> --><!-- 是否允许缩放窗体 -->
47
48         <!-- The window's initial width. Optional. -->
49         <!-- <width></width> --><!-- 窗体宽 -->
50
51         <!-- The window's initial height. Optional. -->
52         <!-- <height></height> --><!-- 窗体高 -->
53
54         <!-- The window's initial x position. Optional. -->
55         <!-- <x></x> --><!-- 窗体X位置坐标 -->
56
57         <!-- The window's initial y position. Optional. -->
58         <!-- <y></y> --><!-- 窗体Y位置坐标 -->
59
60         <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
61         <!-- <minSize></minSize> --><!-- 窗体最小化值 -->
62
63         <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
64         <!-- <maxSize></maxSize> --><!-- 窗体最大化值 -->
65     </initialWindow>
66
67     <!-- The subpath of the standard default installation location to use. Optional. -->
68     <installFolder>AIRInstrallField/AIR</installFolder><!-- 默认安装路径 C:\Program Files\AIRInstrallField\AIR -->
69
70     <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
71     <programMenuFolder>AIRTest_programMenuFolder</programMenuFolder><!-- 开始/程序 快捷方程式所在文件夹 -->
72
73     <!-- The icon the system uses for the application. For at least one resolution,
74          specify the path to a PNG file included in the AIR package. Optional. -->
75     <!-- 图标的大小必须和标签中标写的尺寸一致 -->
76     <icon>
77         <image16x16>icons/logo.png</image16x16><!-- 系统菜单中及系统控制面板添加程序中的图标 -->
78         <image32x32>icons/logo_32.png</image32x32><!-- 桌面图标,窗口图标 -->
79         <image48x48>icons/logo_48.png</image48x48><!-- 安装目录EXE文件图标 -->
80         <image128x128>icons/logo_128.png</image128x128><!-- 未知 -->
81     </icon>
82
83     <!-- Whether the application handles the update when a user double-clicks an update version
84     of the AIR file (true), or the default AIR application installer handles the update (false).
85     Optional. Default false. -->
86     <!-- <customUpdateUI></customUpdateUI> --><!-- 是否为同一版本的时候双击直接更新 -->
87     <!-- Whether the application can be launched when the user clicks a link in a web browser.
88     Optional. Default false. -->
89     <!-- <allowBrowserInvocation></allowBrowserInvocation> --><!-- 是否应用程序可以通过浏览器激活 -->
90
91     <!-- Listing of file types for which the application can register. Optional. -->
92     <!-- <fileTypes> -->
93
94         <!-- Defines one file type. Optional. -->
95         <!-- <fileType> -->
96
97             <!-- The name that the system displays for the registered file type. Required. -->
98             <!-- <name></name> -->
99
100             <!-- The extension to register. Required. -->
101             <!-- <extension></extension> -->
102             <!-- The description of the file type. Optional. -->
103             <!-- <description></description> -->
104             <!-- The MIME type. Optional. -->
105             <!-- <contentType></contentType> -->
106             <!-- The icon to display for the file type. Optional. -->
107             <!-- <icon>
108                 <image16x16></image16x16>
109                 <image32x32></image32x32>
110                 <image48x48></image48x48>
111                 <image128x128></image128x128>
112             </icon> -->
113         <!-- </fileType> -->
114     <!-- </fileTypes> -->
115
116 </application>
默认分类 | 评论(0) | 引用(0) | 阅读(595)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]