WiX 工具集:创建简单的设置

WiX Toolset: Creating a Simple Setup

这个简单的演练是否适用于其他人?不适合我。错误:ComponentGroup 元素包含意外的子元素 'File'。这个演练是否过时、无效或者我可能只是在做一些愚蠢的事情?我安装的WiX版本是3.10。和 Visual Studio 2015 年。谢谢

Creating a Simple Setup

我想您错过了创建组件标签的过程。 File 标签只能添加到 Component 标签下。将组件视为任何已部署内容的容器。

<Component Id="ProductComponent">
                <!-- TODO: Insert files, registry keys, and other resources here. -->
            </Component>