I'm creating a WiX-based installer for my .NET-based website.
Part of this website involves the performance counters which I would like to create using the installer (counters require elevated permissions to create, something the website should never have).
I have read the documentation provided by WiX on the subject of installing counters, however it looks aimed at native-code applications and seems like it's more effort than it's worth.
How can I create new performance counters using a WiX installer?
The article you reference refers to WiX v2. It is not obvious however which version of WiX toolset you actually use.
WiX v3 has easy-to-use elements PerformanceCategory and PerformanceCounter. We use it in our .NET web application installer to install performance counters we need.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With