When uninstalling, what does a verbose log say about the states of the
perfCounters component (look around CostFinalize in the log).

-----Original Message-----
From: Josh Holm [mailto:joh...@microsoft.com] 
Sent: Wednesday, September 23, 2009 1:27 PM
To: wix-users@lists.sourceforge.net
Cc: Peter Moresi; Aaron Allin
Subject: [WiX-users] performance counters are not being uninstalled

I have a wix project that installs performance counters using the
util:PerformanceCategory and util:PerformanceCounter elements.  The
performance counters are installed as expected.  However, when uninstalling,
the performance counters are sometimes left installed on the machine.

Here is an example of the pattern we are using:

<Component Id='perfCounters' Guid='C0D623E8-F04C-48A7-9F2D-5F996891AE24'
KeyPath='yes'>
        <util:PerformanceCategory Id="PerfCounterCategory"
Name="ProductPerfCounters" MultiInstance="yes">

          <util:PerformanceCounter Name="Requests per second"
Type="rateOfCountsPerSecond64" />
          <util:PerformanceCounter Name="Request count"
Type="numberOfItems64" />

        </util:PerformanceCategory>
      </Component>

Does anyone know why the performance counters are left installed sometimes?
Is there a way to 'force' them to be uninstalled using wix?

Joshua Thor Holm
SDE | AdECN | Microsoft
805-566-2645 | joh...@microsoft.com

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to