This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
创建定义文件
定义文件定义了要同步的文件夹、文件或注册表。您可以创建自己的应用程序定义文件。
使用 Microsoft UE-V 模板生成器创建 UE-V 模板文件。
- 从 Microsoft 网站 下载适用于 Windows 10 的 Windows 评估和部署工具包 (Windows ADK)。
- 安装 Windows ADK。选择 Microsoft 用户体验虚拟化 (UE-V) 模板生成器。单击 安装。安装完成后,单击 完成 关闭向导。
- 单击 开始,单击 Microsoft 用户体验虚拟化,然后单击 Microsoft 用户体验虚拟化生成器。
- 单击 创建设置位置模板。
- 按照向导指定应用程序相关参数。单击 下一步 继续。
以记事本为例。将文件路径指定为 C:\Windows\System32\notepad.exe。 - 指定的应用程序启动后,将其关闭。
- 进程完成后,单击 下一步 继续。
- 在左侧窗格中选择 查看位置。选中标准和非标准注册表/文件列表中的所有复选框。
- 单击 创建 保存模板 XML 文件。
以记事本为例。将模板 XML 文件保存为 Notepad.xml。
注意
您可以在单个 UE-V 模板文件中定义多个应用程序。
要将 UE-V 模板文件转换为跨平台定义文件,请执行以下操作:
- 在此处下载转换工具。
- 在命令提示符下,运行命令 convert show filename 以显示定义文件中的所有应用程序名称。
-
运行以下命令将 UE-V 模板文件转换为定义文件。
convert source destination [/Index] [/V][/Index]: 仅转换由索引号指定的应用程序。
默认情况下,此工具会转换 UE-V 模板中的所有应用程序。
[/V]: 显示转换的详细信息。
对于跨平台设置,您必须对其他操作系统重复上述步骤,并将定义文件合并为一个。您可以使用带有 OSVersionNumber 属性的 Platform 元素来合并文件。在 Windows 7 上,设置文件夹位于 AppData\Application\Win7\folder。在 Windows 10 上,位于 AppData\Application\Win10\folder。
在 Windows 7 上,您创建的定义文件如下所示:
<?xml version="1.0" encoding="utf-8"?>
<GroupDefinitions Version="4.0.0.0" GUID="93E41C6E-2091-1B9B-36BC-7CE94EDC677E">
<Group Name="Common Settings" GUID="32D83BB6-F3AD-985F-D4BC-655B3D9ACBE2">
<Object Name="!CTX_ROAMINGAPPDATA!\Application\Win7\folder" GUID="1B43DE3F-EC9C-463c-AC19-CD01D00219B6">
<Platform>
<Folder>
<Path>!CTX_ROAMINGAPPDATA!\Application\Win7\folder</Path>
<Recurse/>
</Folder>
</Platform>
</Object>
</Group>
</GroupDefinitions>
<!--NeedCopy-->
在 Windows 10 上,您创建的定义文件如下所示:
<?xml version="1.0" encoding="utf-8"?>
<GroupDefinitions Version="4.0.0.0" GUID="93E41C6E-2091-1B9B-36BC-7CE94EDC677E">
<Group Name="Common Settings" GUID="32D83BB6-F3AD-985F-D4BC-655B3D9ACBE2">
<Object Name="!CTX_ROAMINGAPPDATA!\Application\Win10\folder" GUID="1B43DE3F-EC9C-463c-AC19-CD01D00219B6">
<Platform>
<Folder>
<Path>!CTX_ROAMINGAPPDATA!\Application\Win10\folder</Path>
<Recurse/>
</Folder>
</Platform>
</Object>
</Group>
</GroupDefinitions>
<!--NeedCopy-->
合并后,定义文件的内容如下所示:
<?xml version="1.0" encoding="utf-8"?>
<GroupDefinitions Version="4.0.0.0" GUID="93E41C6E-2091-1B9B-36BC-7CE94EDC677E">
<Group Name="Common Settings" GUID="32D83BB6-F3AD-985F-D4BC-655B3D9ACBE2">
<Object Name="!CTX_ROAMINGAPPDATA!\Application\%osname%\folder" GUID="1B43DE3F-EC9C-463c-AC19-CD01D00219B6">
<!-- Assuming that the folder locates differently when in different platforms -->
<Platform OSVersionNumber="6.1"> <!-- Win7 -->
<Folder>
<Path>!CTX_ROAMINGAPPDATA!\Application\Win7\folder</Path>
<Recurse/>
</Folder>
</Platform>
<Platform OSVersionNumber="10.0"> <!-- Win10 -->
<Folder>
<Path>!CTX_ROAMINGAPPDATA!\Application\Win10\folder</Path>
<Recurse/>
</Folder>
</Platform>
</Object>
</Group>
</GroupDefinitions>
<!--NeedCopy-->
有关配置跨平台设置的信息,请参阅配置跨平台设置。
有关定义文件体系结构的信息,请参阅应用程序定义文件结构。
有关启用应用程序分析器的信息,请参阅启用应用程序分析器。
共享
共享
在本文中
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.