Reputation: 579
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
Upvotes: 0
Views: 249
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