PerfCounter was deprecated a long time ago when Vista came along, I
believe. My memory may be a little fuzzy. I think it has something to do
with lodctr being no longer the recommended way to install perf counters by
MSDN.

Ultimately, if there is a problem in PerformanceCategory and friends, then
it would be great to file it and maybe you can help us fix it. No one has
been in that code for a very long time so you may know more than most do at
this point. <smile/>

Code is at ca\serverca\scasched\scaperf.cpp and
ca\serverca\scaexec\scaperfexec.cpp. If you'd like to help out, let's take
the conversation to wix-d...@lists.sourceforge.net

Thanks.


On Sun, Mar 3, 2013 at 12:58 PM, Mark Weaver <mark.wea...@credit360.com>wrote:

> I looked into fixing this warning:
>
> warning CNDL5153 : The PerfCounter element
> has been deprecated.  Please use the PerformanceCounter element instead.
>
> Can anyone shed any light on why PerfCounter is deprecated?  The trouble
> is that PerformanceCounter doesn't seem to provide a full replacement
> for what lodctr can do.  The structure I have is:
>
> perf collection dll
>      perf object 1
>          counter 1
>          counter 2
>          ...
>      perf object 2
>          counter 1
>          ...
> ...
>
>
> but this doesn't map onto PerformanceCategory/PerformanceCounter.
> Specifically, PerformanceCounter/@Name ends up under
> HKLM\SYSTEM\CurrentControlSet\service\[Name], but is also the perf
> object name.  So I can't have two objects without two entries under the
> service key, and additionally the name of the service can't differ from
> the name of the object.  lodctr can also provide translations of the
> counter names, but PerformanceCounter seems to be limited to a single
> language (that's not actually a problem for me, but it seems to be
> missing from the model).
>
> Am I just misunderstanding how it's meant to work?
>
> Thanks,
>
> Mark
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to