You need to add/change the following:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

and

<util:XmlFile></util:XmlFile>

There are some changes in the syntax of WiX from 2.0 to 3.0.  You need to 
invest some time in reading 3.0 help file.




-----Original Message-----
From: Alex Ivanoff [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2008 11:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] The Component element contains an unexpectedchild 
element 'XmlFile'

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Product Id="d73e8ae0-7480-4fd5-abf2-f88648d6f12f"
Name="WixProject1" Language="1033" Version="1.0.0.0"
Manufacturer="WixProject1"
UpgradeCode="fcf023ba-5b06-4d02-b59e-7aa38e86f6a4">
                <Package InstallerVersion="200" Compressed="yes" />

                <Media Id="1" Cabinet="WixProject1.cab" EmbedCab="yes"
/>

                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="ProgramFilesFolder">
                                <Directory Id="INSTALLLOCATION"
Name="WixProject1">
                                        <Component Id="ProductComponent"
Guid="8D7C768B-B683-451E-A145-AD50211FBDF1">
                                                <File Id="Settinds">
                                                </File>
                                                <XmlFile></XmlFile>
                                        </Component>
                                </Directory>
                        </Directory>
                </Directory>

                <Feature Id="ProductFeature" Title="WixProject1"
Level="1">
                        <ComponentRef Id="ProductComponent" />
                </Feature>
        </Product>
</Wix>

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2008 12:43
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] The Component element contains an
unexpectedchild element 'XmlFile'

Can you provide a bit more of your authoring?

-----Original Message-----
From: Alex Ivanoff [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 18, 2008 12:11
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] The Component element contains an unexpected child
element 'XmlFile'

Build 3.0.4617.0, just created a new VS 2008 project, added
WiXUtilExtension and tried to use XmlFile:

error CNDL0005: "The Component element contains an unexpected child
element 'XmlFile'"



------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to