According to wix.chm, File isn't a valid parent element for 
util:PerformanceCounter. It needs to be under a Util:PerformanceCategory 
element, which in turn needs to be under a Component element, not a File.

See the CHM for more information.

Thanks,
Mike Carlson

-----Original Message-----
From: Andy Glass [mailto:agl...@laserfiche.com] 
Sent: Thursday, July 23, 2009 11:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Upgrading to WiX 3, CNDL0005 error.

Greetings all,

I'm working up updating an installer from WiX 2 to WiX3.  I've used WixCop to 
do most of the conversion, but I'm getting the following error:

error CNDL0005 : The File element contains an unexpected child element 
'util:PerformanceCounter'.

The area in question is:

<File Id="perfc.ini" Name="perfc.ini" Source="..\foo\bar\perfc.ini">
  <util:PerformanceCounter Name="bar" />
</File> 

I have the namespace defined, and am calling candle with -ext WixUtilExtension, 
and have been unable to determine the root cause of the issue with the 
resources I could find.  Any help would be appreciated.

-Andy

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to