博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AIR 配置文件(*-app.xml)说明
阅读量:6090 次
发布时间:2019-06-20

本文共 4953 字,大约阅读时间需要 16 分钟。

今天对AIR安装配置文件做了一下研究,发现有很多细致配置的东西,把自动生成的文件添加了中文注释.相信对正在做AIR项目的人能够有所帮助.
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns=" ">
    <!-- The application identifier string, unique to this application. Required. -->
    <id>AIRTest1</id><!-- 软件ID,当安装时系统将会检测同一ID软件版本,版本高的即做更新操作 -->
    <!-- Used as the filename for the application. Required. -->
    <filename>AIRTest_filename</filename><!-- 安装界面中 Application: -->
    <!-- The name that is displayed in the AIR application installer. Optional. -->
    <name>AIRTest_name</name><!-- 桌面快捷方程式及窗口和系统控制面板添加程序中名称 -->
    <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
    <version>1.0</version><!-- 软件版本 -->
    <!-- Description, displayed in the AIR application installer. Optional. -->
    <description>AIRTest_description</description><!-- 安装第二个界面中的 description -->
    <!-- Copyright information. Optional -->
    <copyright>AIRTest_copyright</copyright>
    <!-- Settings for the application's initial window. Required. -->
    <initialWindow>
        <!-- The main SWF or HTML file of the application. Required. -->
        <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
        <content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
        <!-- The title of the main window. Optional. -->
        <title>AIRTest_title</title><!-- 窗体标题,当此处为注释状态时取 name标签中内容 -->
        <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
        <systemChrome>none</systemChrome><!-- standard为标准窗体,none 为圆滑窗体 -->
        <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
        <transparent>true</transparent><!-- 背景是否透明 -->
        <!-- Whether the window is initially visible. Optional. Default false. -->
        <visible>true</visible><!-- 窗体初始化的时候是否可见 -->
        <!-- Whether the user can minimize the window. Optional. Default true. -->
        <minimizable>true</minimizable><!-- 是否允许最小化 -->
        <!-- Whether the user can maximize the window. Optional. Default true. -->
        <!-- <maximizable></maximizable> --><!-- 是否允许最大化 -->
        <!-- Whether the user can resize the window. Optional. Default true. -->
        <!-- <resizable></resizable> --><!-- 是否允许缩放窗体 -->
        <!-- The window's initial width. Optional. -->
        <!-- <width></width> --><!-- 窗体宽 -->
        <!-- The window's initial height. Optional. -->
        <!-- <height></height> --><!-- 窗体高 -->
        <!-- The window's initial x position. Optional. -->
        <!-- <x></x> --><!-- 窗体X位置坐标 -->
        <!-- The window's initial y position. Optional. -->
        <!-- <y></y> --><!-- 窗体Y位置坐标 -->
        <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
        <!-- <minSize></minSize> --><!-- 窗体最小化值 -->
        <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
        <!-- <maxSize></maxSize> --><!-- 窗体最大化值 -->
    </initialWindow>
    <!-- The subpath of the standard default installation location to use. Optional. -->
    <installFolder>AIRInstrallField/AIR</installFolder><!-- 默认安装路径 C:\Program Files\AIRInstrallField\AIR -->
    <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
    <programMenuFolder>AIRTest_programMenuFolder</programMenuFolder><!-- 开始/程序 快捷方程式所在文件夹 -->
    <!-- The icon the system uses for the application. For at least one resolution,
         specify the path to a PNG file included in the AIR package. Optional. -->
    <!-- 图标的大小必须和标签中标写的尺寸一致 -->
    <icon>
        <image16x16>icons/logo.png</image16x16><!-- 系统菜单中及系统控制面板添加程序中的图标 -->
        <image32x32>icons/logo_32.png</image32x32><!-- 桌面图标,窗口图标 -->
        <image48x48>icons/logo_48.png</image48x48><!-- 安装目录EXE文件图标 -->
        <image128x128>icons/logo_128.png</image128x128><!-- 未知 -->
    </icon>
    <!-- Whether the application handles the update when a user double-clicks an update version
    of the AIR file (true), or the default AIR application installer handles the update (false).
    Optional. Default false. -->
    <!-- <customUpdateUI></customUpdateUI> --><!-- 是否为同一版本的时候双击直接更新 -->
    <!-- Whether the application can be launched when the user clicks a link in a web browser.
    Optional. Default false. -->
    <!-- <allowBrowserInvocation></allowBrowserInvocation> --><!-- 是否应用程序可以通过浏览器激活 -->
    <!-- Listing of file types for which the application can register. Optional. -->
    <!-- <fileTypes> -->
        <!-- Defines one file type. Optional. -->
        <!-- <fileType> -->
            <!-- The name that the system displays for the registered file type. Required. -->
            <!-- <name></name> -->
            <!-- The extension to register. Required. -->
            <!-- <extension></extension> -->
            <!-- The description of the file type. Optional. -->
            <!-- <description></description> -->
            <!-- The MIME type. Optional. -->
            <!-- <contentType></contentType> -->
            <!-- The icon to display for the file type. Optional. -->
            <!-- <icon>
                <image16x16></image16x16>
                <image32x32></image32x32>
                <image48x48></image48x48>
                <image128x128></image128x128>
            </icon> -->
        <!-- </fileType> -->
    <!-- </fileTypes> -->
</application>
转自:www.skill8.com/article/Flex_html/105.htm

转载于:https://www.cnblogs.com/dzone/archive/2011/11/01/2231269.html

你可能感兴趣的文章
onix-文件系统
查看>>
java.io.Serializable浅析
查看>>
我的友情链接
查看>>
多线程之线程池任务管理通用模板
查看>>
CSS3让长单词与URL地址自动换行——word-wrap属性
查看>>
CodeForces 580B Kefa and Company
查看>>
开发规范浅谈
查看>>
Spark Streaming揭秘 Day29 深入理解Spark2.x中的Structured Streaming
查看>>
鼠标增强软件StrokeIt使用方法
查看>>
本地连接linux虚拟机的方法
查看>>
某公司面试java试题之【二】,看看吧,说不定就是你将要做的题
查看>>
BABOK - 企业分析(Enterprise Analysis)概要
查看>>
Linux 配置vnc,开启linux远程桌面
查看>>
CentOS6.4关闭触控板
查看>>
React Native 极光推送填坑(ios)
查看>>
Terratest:一个用于自动化基础设施测试的开源Go库
查看>>
修改Windows远程终端默认端口,让服务器更安全
查看>>
扩展器必须,SAS 2.0未必(SAS挺进中端存储系统之三)
查看>>
Eclipse遇到Initializing Java Tooling解决办法
查看>>
while((ch = getchar()) != '\n')
查看>>