Hi,

 

We have a PERFMON INI file for installing performance
counters and this is used with the  util:PerfMon element for installing these
performance counters by following all the instructions documented here - 
http://wixtoolset.org/documentation/manual/v3/customactions/perfmon.html

 

However, after migrating to WIX 3.6, Compiler outputs this
warning – 

 warning CNDL5153 : The PerfCounter element has been deprecated.  Please use 
the PerformanceCounter element
instead.

 

I have tried using the PerformanceCounter element but now
the performance counters are not being registered properly. Here is the exact
wix code – 

 

Before - 

<File Id="File_5AB36041_998E_4D6E_A509_C797E5C7D002"
Source="<source>" KeyPath="yes"><util:PerfCounter
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; Name="<name>"
/></File>

 

After – 

<util:PerformanceCategory
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; Id="<Id>"
Library="[!File_72ECB5A1_4D0D_4709_B173_F7630D9CD304]" >

<util:PerformanceCounter
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
Name="<name>" Help=" " />

</util:PerformanceCategory>

 

I have looked for examples on web on how to migrate from
PerfCounter to PerformanceCategory+PerformanceCounter but did not find anything
useful. Please suggest on how I can overcome this issue. The fallback option is
of course to ignore the warning and continue using util:PerfCounter.

 

Regards,

Surya                                     
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to