Hello all,
   I am trying to install .net performance counters.  According to the
documentation if I leave most options blank, it defaults to the .Net
settings.  When I run the MSI, i get an error about a missing DLL.  I have
had no luck tracking down any samples of what I may be missing.  Does anyone
have any experience installing .Net performance counters using the Util
namespace PerformanceCategory / PerformanceCounter tags and could let me
know what I'm missing?  I'm using Wix 3.0.3307

Thank you very much for your time
-Ed


Below is a complete wxs file that reproduces the problem.

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi " xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension";>
        <Product Id="66a010bc-63f1-4c5c-bbf9-290e665a8c0f"
Name="PerformanceCounter" Language="1033" Version=" 1.0.0.0"
Manufacturer="PerformanceCounterExample"
UpgradeCode="530ca4fa-7fa1-4293-ae36-9b8e4a3df573">
        <Package InstallerVersion="200" Compressed="yes" />
        <Media Id="1" Cabinet="PerformanceCounterIssue.cab" EmbedCab="yes"
/>
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder">
                <Directory Id="INSTALLLOCATION" Name="App">
                    <Component Id="Perf1"
Guid="{2D63B4E0-AB03-449e-8566-F91848BD6ABD}" KeyPath="yes" >
                        <util:PerformanceCategory
Id="CounterCategoryWebService" Name="CounterCategoryWebService">
                            <util:PerformanceCounter Language="english"
Name="Web service call duration" Type="numberOfItems64" />
                            <util:PerformanceCounter Language="english"
Name="Avg. web service call duration" Type="averageTimer32" />
                            <util:PerformanceCounter Language="english"
Name="Web service calls /sec" Type="rateOfCountsPerSecond64" />
                            <util:PerformanceCounter Language="english"
Name="Total web service calls" Type="averageBase" />
                            <util:PerformanceCounter Language="english"
Name="Submits" Type="numberOfItems64"/>
                        </util:PerformanceCategory>
                    </Component>
                </Directory></Directory></Directory>

        <Feature Id="ProductFeature" Title="PerformanceCounter" Level="1">
            <ComponentRef Id="Perf1" />
        </Feature></Product></Wix>

Snippit from the verbose log.


Action ended 17:07:57: ProcessComponents. Return value 1.
MSI (s) (58:3C) [17:07:57:931]: Doing action: UnpublishFeatures
MSI (s) (58:3C) [17:07:57:931]: Note: 1: 2205 2:  3: ActionText
Action start 17:07:57: UnpublishFeatures.
Action ended 17:07:57: UnpublishFeatures. Return value 1.
MSI (s) (58:3C) [17:07:57:931]: Doing action: RemoveRegistryValues
MSI (s) (58:3C) [17:07:57:931]: Note: 1: 2205 2:  3: ActionText
Action start 17:07:57: RemoveRegistryValues.
Action ended 17:07:57: RemoveRegistryValues. Return value 1.
MSI (s) (58:3C) [17:07:57:931]: Doing action: UninstallPerfCounterData
MSI (s) (58:3C) [17:07:57:931]: Note: 1: 2205 2:  3: ActionText
Action start 17:07:57: UninstallPerfCounterData.
MSI (s) (58:98) [17:07:57:962]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI7AD.tmp, Entrypoint: UninstallPerfCounterData
MSI (s) (58:70) [17:07:57:962]: Generating random cookie.
MSI (s) (58:70) [17:07:57:978]: Created Custom Action Server with PID 2948
(0xB84).
MSI (s) (58:D4) [17:07:58:025]: Running as a service.
MSI (s) (58:A8) [17:07:58:025]: Hello, I'm your 32bit Impersonated custom
action server.
MSI (s) (58:3C) [17:07:58:056]: Note: 1: 1723 2: UninstallPerfCounterData 3:
UninstallPerfCounterData 4: C:\WINDOWS\Installer\MSI7AD.tmp
MSI (c) (F0:28) [17:07:58:056]: Font created.  Charset: Req=0, Ret=0, Font:
Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 1723. There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action UninstallPerfCounterData, entry:
UninstallPerfCounterData, library: C:\WINDOWS\Installer\MSI7AD.tmp
MSI (s) (58:3C) [17:08:00:900]: Product: PerformanceCounter -- Error 1723.
There is a problem with this Windows Installer package. A DLL required for
this install to complete could not be run. Contact your support personnel or
package vendor.  Action UninstallPerfCounterData, entry:
UninstallPerfCounterData, library: C:\WINDOWS\Installer\MSI7AD.tmp

Action ended 17:08:00: UninstallPerfCounterData. Return value 3.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to