I want to install the diskperf.sys sample for a volume instead of
the entire disk. Can someone help me to modify the relevant
sections of the inf file. The volume will have a GUID number
which, I am guessing, can be found in the STORAGE key,
hopefully they are arranged in increasing drive letters, otherwise
I will have to try them one by one, but just assume I have
the GUID.
[Version]
Signature = "$Windows NT$"
Class = DiskDrive
ClassGUID = {4d36e967-e325-11ce-bfc1-08002be10318}
Provider = %msft%
DriverVer = 03/22/2002,5.1.2600.0
;
; General installation section
;
[DefaultInstall.NT]
CopyFiles = @diskperf.sys
Addreg = diskperf.AddReg
[DestinationDirs]
DefaultDestDir = 12
[diskperf.AddReg]
HKLM,
System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318
}, UpperFilters, 0x00010008, diskperf
;
; Service installation section
;
[DefaultInstall.NT.Services]
AddService = diskperf, , diskperf.Service.Install
[diskperf.Service.Install]
DisplayName = %service_desc%
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\diskperf.sys
LoadOrderGroup = "PnP Filter"
[SourceDisksFiles]
diskperf.sys=1
; Win2000
[SourceDisksNames]
1 = %diskid1%,,,\i386