示例
<?xml version="1.0" encoding="UTF-8"?>
<c4p>
<autorun appid="com.codeweavers.c4.14399"/><applications>
<!--com.codeweavers.c4.xxx 为codeweaver公司给该软件的编号-->
<app appid="com.codeweavers.c4.14399" timestamp="2020-08-10T01:19:07-05:00">
<cxversion product="cxoffice">18</cxversion>
<!--确认codeweaver产品和版本(只要为cxoffice和cxgames,我们使用的为cxoffice)-->
<name>WeChat</name>
<name lang="en">WeChat</name>
<name lang="zh">微信</name>
<name lang="zh-cn">微信</name>
<!--各种语言软件名称-->
<appprofile>
<description>WeChat is a widely used IM application and has hundreds of millions of users, especially in China. Although people mainly use it on phone, it does provide Windows version of client and there are also tons of people using it.</description>
<description lang="en">WeChat is a widely used IM application and has hundreds of millions of users, especially in China. Although people mainly use it on phone, it does provide Windows version of client and there are also tons of people using it.</description>
<description lang="zh">微信 (WeChat) 是腾讯公司于 2011 年 1 月 21 日推出的一个为智能终端提供即时通讯服务的免费应用程序。</description>
<description lang="zh-cn">微信 (WeChat) 是腾讯公司于 2011 年 1 月 21 日推出的一个为智能终端提供即时通讯服务的免费应用程序。</description>
<!--各种语言的应用简介-->
...
<medal rating="4" platform="Linux" version="20.0.4" num="4" last="2021-03-02T19:15:11-06:00">unsilver</medal>
<category>Networking & Communication/Chat & Instant Messaging</category>
<flag>application</flag>
<!--<!– 这是表征应用程序的标志的列表。当前支持的标志是:-->
<!--component-适用于DCOM98,MSI,字体等。-->
<!--application-适用于常规应用程序,如Office,QuickTime等。-->
<!--virtual-适用于不需要安装程序的配置文件。这用于纯依赖项配置文件,例如“核心字体”配置文件,也可能用于仅调整设置的配置文件,例如注册表。-->
<installedkeypattern>WeChat</installedkeypattern>
<!-- 这用于检查应用程序是否已安装,并由安装程序核心检查安装是否成功。包含一个正则表达式,用于匹配“ uninstaller.exe -\-list”返回的卸载注册表项。 -->
<installeddisplaypattern>微信</installeddisplaypattern>
<!-- 这用于检查应用程序是否已安装,并由安装程序核心检查安装是否成功。包含一个正则表达式,用于匹配通过“ uninstaller.exe -\-list”从注册表检索的显示名称。 -->
<bottletemplate>win7</bottletemplate>
<!--这是可以安装应用程序的容器类型列表。-->
<!--容器类型: win98 win2000 winxp winvista win7 win8 win10 winxp_64 winvista_64 win7_64 win8_64 win10_64-->
<downloadurl>https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe</downloadurl>
<!--应用下载地址-->
<downloadpageurl>https://pc.weixin.qq.com/</downloadpageurl>
<!--可以下载应用的应用网站主页-->
</appprofile>
<installprofile>
<predependency>com.codeweavers.c4.14605</predependency>
<!--依赖的软件,具体安装信息见下方-->
<installerenvironment>
<name>WINE_WAIT_CHILD_PIPE_IGNORE</name>
<value>WeChat.exe</value>
</installerenvironment>
<preinstallregistry>
<key>HKEY_CURRENT_USER\Software\Wine</key>
<value>
<name>LC_ALL</name>
<data>zh_CN.UTF-8</data>
</value>
</preinstallregistry>
<!--修改注册表-->
<preinstallregistry>
<key>HKEY_CURRENT_USER\Software\Wine</key>
<value>
<name>LANG</name>
<data>zh_CN.UTF-8</data>
</value>
</preinstallregistry>
<preinstallregistry>
<key>HKEY_CURRENT_USER\Software\Wine\AppDefaults\WeChat.exe\DllOverrides</key>
<value>
<name>riched20</name>
<data>native, builtin</data>
</value>
</preinstallregistry>
<preinstallregistry>
<key>HKEY_CURRENT_USER\Software\Wine\AppDefaults\WeChat.exe\DllOverrides</key>
<value>
<name>dwrite</name>
<data/>
</value>
</preinstallregistry>
<preinstallregistry>
<key>HKEY_CURRENT_USER\Software\Wine\DllOverrides</key>
<value>
<name>dwrite</name>
<data/>
</value>
</preinstallregistry>
</installprofile>
</app>
<app>
<!--依赖安装信息,与主体结构相同-->
</app>
</applications>
</c4p><?xml version="1.0" encoding="UTF-8"?