Steve
Steve

Reputation: 579

WiX Toolset: Creating a Simple Setup

Does this simple walkthrough work for anyone else? Doesn't for me. Error: The ComponentGroup element contains an unexpected child element 'File'. Is this walkthrough out of date, invalid or am I possibly just doing something stupid? The version of WiX I have installed is 3.10. and Visual Studio 2015. Thanks

Creating a Simple Setup

Upvotes: 0

Views: 249

Answers (1)

Isaiah4110
Isaiah4110

Reputation: 10080

I think you missed the creating the component tag. The File tag can only be added underneath the Component tag. Think of Components as containers for anything that gets deployed.

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

Upvotes: 2

Related Questions