0x800700cb is a Win32 error code re-encoded as an HRESULT (0x8007xxxx ==
error | FACILITY_WIN32). Win32 error code 0xCB == 203 decimal is
ERROR_ENVVAR_NOT_FOUND.

The PerformanceCounter elements create a table which is processed at install
time to create an .ini and .h file suitable for passing to
LoadPerfCounterTextStrings (or the lodctr.exe program). That should be OK on
either OS.

Does a full verbose log (msiexec /l*v) show any other error messages before
the RegisterPerfCounterData lines? What's the value of the TMP, TEMP and
USERPROFILE environment variables?

Have you tried the latest weekly release? Have you tested this on a
completely clean, freshly installed Windows 2000 system?

-- 
Mike Dimmick

-----Original Message----- 
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krause,
Henning
Sent: 12 February 2008 20:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WIX PerformanceCounter element failing on Windows 2000

Hello,

I have a problem with installing creating performance counters using
PerformanceCounter element in Wix 3.

It works great on Windows 2003 and later, but fails on Windows 2000. 

The error code returned by the performance counter custom action is 203,
which translates to "The system could not find the environment option
that was entered.".

An entry in the event log is created stating that the performance
counter configuration is corrupt. But other programs installed correctly
and when I use the managed PerformanceCounterCategory.Create from inside
a managed custom action it works like charm.

Any clues what's going on here? 

Excerpt from the MSI installer log:

RegisterPerfCounterData:  Error 0x800700cb: Failed to execute install of
performance counter category: <Category Name>
RegisterPerfCounterData:  Error 0x800700cb: Failed to execute
PerformanceCategory table.
Error 26253. Failed to install performance counters.  (-2147024693
)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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