That is exactly what it means. You could identify the other product using a
component with the same GUID and either remove or repair it.
A vbs/js script using the Installer.ComponentClients property would tell you
all the clients (by ProductCode) currently registering components with your
same GUID (you pass to the property the component's GUID -- that is not
clear on the MSDN page).
WScript.Echo("JScript");
var Installer = WScript.CreateObject("WindowsInstaller.Installer");
var products =
Installer.ComponentClients("{9B102980-0606-4656-AADE-B277402D7359}");
for (var i = 0; i < products.Count; ++i )
{
WScript.Echo(products.Item(i));
}
products =
Installer.ComponentClients("{C20FBE98-FEE7-4C46-8617-73C60D2C7CC2}");
for (var i = 0; i < products.Count; ++i )
{
WScript.Echo(products.Item(i));
}
-----Original Message-----
From: Josh Holm [mailto:[email protected]]
Sent: Thursday, September 24, 2009 9:11 AM
To: Blair; 'General discussion for Windows Installer XML toolset.'
Cc: Peter Moresi; Aaron Allin
Subject: RE: [WiX-users] performance counters are not being uninstalled
Thanks for the response. Here is what I found in the verbose uninstall log.
The guids match the guids for my performance counter components in wix. I
assume the message means that some other program or component on the
computer is referencing the performance counters, causing them to remain
installed. Is that correct? Is there any way in WIX to override this
feature and force them to uninstall?
MSI (s) (D4:60) [14:56:46:663]: Disallowing uninstallation of component:
{06E78A14-9297-49C0-8A41-52A686BCE5CE} since another client exists
MSI (s) (D4:60) [14:56:46:663]: Disallowing uninstallation of component:
{C20FBE98-FEE7-4C46-8617-73C60D2C7CC2} since another client exists
...
MSI (s) (D4:60) [14:56:46:694]: Component: perfCounters; Installed: Local;
Request: Absent; Action: Null
Joshua Holm
AdECN
805-566-2645
-----Original Message-----
From: Blair [mailto:[email protected]]
Sent: Wednesday, September 23, 2009 2:00 PM
To: 'General discussion for Windows Installer XML toolset.'; Josh Holm
Cc: Peter Moresi; Aaron Allin
Subject: RE: [WiX-users] performance counters are not being uninstalled
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:[email protected]]
Sent: Wednesday, September 23, 2009 1:27 PM
To: [email protected]
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 | [email protected]
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users