I've never written or installed performance counters so, I'm not sure I
can help much. You might want to take a look at the <PerfCounter> WiX
element. I think it's for unmanaged perf counters but, I could be
wrong. You could also look into what the managed installer class is
really doing. For example, the PowerShell SnapIn Installer class is for
registering a PowerShell SnapIn but, it just creates some registry
entries so the WiX <Registry> element works just fine.
From: Kevin Burton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 6:36 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] .NET Installer class and Wix/Msi interaction.
I am sorry to hear that but now I know. Thank you.
If I do it on my own how do I let MSI/Wix know about the installed
performance counters so they will be uninstalled with the application
uninstall?
From: John Vottero [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 5:13 PM
To: Kevin Burton; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] .NET Installer class and Wix/Msi interaction.
The short answer is, you can't do it.
Visual Studio uses InstallUtilLib.dll which is an MSI custom action that
installs Installer based classes. As far as I know, it's not documented
and not redistributable. Someone did reverse engineer InstallUtilLib
and they wrote a blog post about how to get it working, you could try
searching for that. That still won't fix the "not redistributable"
part.
You may need to figure out what the performance counter installer class
really does and do it yourself.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Burton
Sent: Tuesday, April 03, 2007 5:57 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] .NET Installer class and Wix/Msi interaction.
I want to add some performance counters to my .NET Windows Service.
There is a performance class installer but I am not sure how this class
derived from the Installer class interacts with the Wix/Msi installation
process. Anyone able to shed some light on this?
Thank you.
Kevin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users