Hello,

I just had time to check this error again.

I created a new setup project and tested it on a Windows 2000 machine
(clean install - only SP4 +  security rollup in english). Same error. It
works on Windows 2003 and 2008.

The following events appear in the eventlog:

[Error] Help index range of service
SYSTEM\CurrentControlSet\Services\Testcounter\Performance is corrupted.
DWORD 0 contains the first index while DWORD 1 contains last index.
Data: 0000: 00000ad5 00000ad3

[Error] Installing the performance counter strings for Testcounter
failed. The Error code is DWORD 0 of the Record Data.
0000: 000000cb

If I run the setup a second time on the Windows 2000 machine, the setup
succeeds but the counter is not created. Instead the following event
appear in the event log:

[Error] The performance counter name string value in the registry is
incorrectly  formatted. The last valid index value is DWORD 0 in the
Record Data.
Data: 0000: 00000ad2

[Error] Help index range of service
SYSTEM\CurrentControlSet\Services\Testcounter\Performance is corrupted.
DWORD 0 contains the first index while DWORD 1 contains last index.
Data: 0000: 00000ad5 00000ad3

[Information] Performance counters for the Testcounter service were
loaded successfully. The Record Data contains the new index values
assigned to this service.
Data: 0000: 00000000 00000000 00000000 00000000


The setup project: 
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Product Id="d1c6ffaa-4518-4fd5-8a67-462678ecd905"
Name="WixProject1" Language="1033" Version="1.0.0.0"
Manufacturer="WixProject1"
UpgradeCode="11bead80-7d2f-4228-993a-604633ecf83f">
                <Package InstallerVersion="200" Compressed="yes" />

                <Media Id="1" Cabinet="WixProject1.cab" EmbedCab="yes"
/>

                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="ProgramFilesFolder">
                                <Directory Id="INSTALLLOCATION"
Name="WixProject1">
                                        <Component
Id="PerformanceCounter" Guid="5B337FFD-7665-493f-B45F-A1B09E4C8254">
                                                <File
Name="WixProject1.wxs" Source="WixProject1.wxs" />
                                                <PerformanceCategory
xmlns="http://schemas.microsoft.com/wix/UtilExtension";
        
MultiInstance="yes" DefaultLanguage="english" Id="Test"
Name="Testcounter">

        
<PerformanceCounter Name="TestCounter1" Type="numberOfItems32"/>
                                                </PerformanceCategory>
                                        </Component>
                                </Directory>
                        </Directory>
                </Directory>

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

========================================================================

===================================================
A part of the log file:

MSI (s) (B8:FC): Running Script: C:\WINNT\Installer\MSI1.tmp
MSI (s) (B8:FC): Machine policy value 'DisableRollback' is 0
MSI (s) (B8:FC): Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\R
ollback\Scripts 3: 2 
MSI (s) (B8:FC): Executing op:
Header(Signature=1397708873,Version=200,Timestamp=946511731,LangId=1033,
Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,Scrip
tAttributes=0)
MSI (s) (B8:FC): Executing op:
ProductInfo(ProductKey={D1C6FFAA-4518-4FD5-8A67-462678ECD905},ProductNam
e=WixProject1,PackageName=WixProject1.msi,Language=1033,Version=16777216
,Assignment=0,ObsoleteArg=0,,,PackageCode={023F0FFD-F784-4639-8B85-B10D7
FA8281B}

,,,InstanceType=0)
MSI (s) (B8:FC): SHELL32::SHGetFolderPath returned: C:\Documents and
Settings\Administrator\Application Data
MSI (s) (B8:FC): Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B8:FC): Executing op: DialogInfo(Type=1,Argument=WixProject1)
MSI (s) (B8:FC): Executing op:
RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back
action:,RollbackTemplate=,CleanupAction=RollbackCleanup,CleanupDescripti
on=Removing backup files,CleanupTemplate=File: )
MSI (s) (B8:FC): Executing op:
ActionStart(Name=ProcessComponents,Description=Updating component
registration,)
Action 19:59:38: ProcessComponents. Updating component registration
MSI (s) (B8:FC): Executing op:
ProgressTotal(Total=1,Type=1,ByteEquivalent=24000)
MSI (s) (B8:FC): Executing op:
ComponentRegister(ComponentId={5B337FFD-7665-493F-B45F-A1B09E4C8254},Key
Path=C:\Program
Files\WixProject1\WixProject1.wxs,State=3,,Disk=1,SharedDllRefCount=0,Bi
naryType=0)
1: {D1C6FFAA-4518-4FD5-8A67-462678ECD905} 2:
{5B337FFD-7665-493F-B45F-A1B09E4C8254} 3: C:\Program
Files\WixProject1\WixProject1.wxs 
MSI (s) (B8:FC): Executing op:
ActionStart(Name=InstallFiles,Description=Copying new
files,Template=File: ,  Directory: ,  Size: )
Action 19:59:38: InstallFiles. Copying new files
MSI (s) (B8:FC): Executing op:
ProgressTotal(Total=1192,Type=0,ByteEquivalent=1)
MSI (s) (B8:FC): Executing op: SetTargetFolder(Folder=C:\Program
Files\WixProject1\)
MSI (s) (B8:FC): Executing op:
SetSourceFolder(Folder=1\4bkncdyd\|WixProject1\)
MSI (s) (B8:FC): Executing op: ChangeMedia(,MediaPrompt=Please insert
the disk:
,MediaCabinet=WixProject1.cab,BytesPerTick=32768,CopierType=2,ModuleFile
Name=C:\WINNT\Installer\1d711.msi,,,,,IsFirstPhysicalMedia=1)
MSI (s) (B8:FC): Executing op:
FileCopy(SourceName=f0zzfyqv.wxs|WixProject1.wxs,SourceCabKey=WixProject
1.wxs,DestName=WixProject1.wxs,Attributes=0,FileSize=1192,PerTick=32768,
,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashP
art1=157

1609346,HashPart2=1360930284,HashPart3=-1670448501,HashPart4=1927861666,
)
MSI (s) (B8:FC): File: C:\Program Files\WixProject1\WixProject1.wxs;  To
be installed;  No patch;  No existing file
MSI (s) (B8:FC): Source for file 'WixProject1.wxs' is compressed
InstallFiles: File: WixProject1.wxs,  Directory: C:\Program
Files\WixProject1\,  Size: 1192
MSI (s) (B8:FC): Note: 1: 2318 2: C:\Program
Files\WixProject1\WixProject1.wxs 
MSI (s) (B8:FC): Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (B8:FC): Executing op:
ActionStart(Name=WriteRegistryValues,Description=Writing system registry
values,Template=Key: , Name: , Value: )
Action 19:59:38: WriteRegistryValues. Writing system registry values
MSI (s) (B8:FC): Executing op:
ProgressTotal(Total=9,Type=1,ByteEquivalent=13200)
MSI (s) (B8:FC): Executing op:
RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\Testco
unter\Linkage,,BinaryType=0)
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=Export,Value=Testcounter,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Linkage
, Name: Export, Value: Testcounter
MSI (s) (B8:FC): Executing op:
RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\Testco
unter\Performance,,BinaryType=0)
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=Library,Value=netfxperf.dll,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Library, Value: netfxperf.dll
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=Open,Value=OpenPerformanceData,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Open, Value: OpenPerformanceData
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=Collect,Value=CollectPerformanceData,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Collect, Value: CollectPerformanceData
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=Close,Value=ClosePerformanceData,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Close, Value: ClosePerformanceData
MSI (s) (B8:FC): Executing op:
RegAddValue(Name=IsMultiInstance,Value=#1,)
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: IsMultiInstance, Value: #1
MSI (s) (B8:FC): Executing op: RegAddValue(Name=Counter Names,Value=
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Counter Names, Value: 
MSI (s) (B8:FC): Executing op: RegAddValue(Name=Counter Types,Value=
WriteRegistryValues: Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Testcounter\Perform
ance, Name: Counter Types, Value: 
MSI (s) (B8:FC): Executing op:
ActionStart(Name=RegisterPerfCounterData,,)
Action 19:59:38: RegisterPerfCounterData. 
MSI (s) (B8:FC): Executing op:
CustomActionSchedule(Action=RegisterPerfCounterData,ActionType=11265,Sou
rce=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (B8:FC): Creating MSIHANDLE (13) of type 790536 for thread 1532
RegisterPerfCounterData:  Error 0x800700cb: Failed to execute install of
performance counter category: Testcounter
RegisterPerfCounterData:  Error 0x800700cb: Failed to execute
PerformanceCategory table.
Error 26253. Failed to install performance counters.  (-2147024693
)

Kind regards,
Henning Krause

-------------------------------------------------------------------------
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