; ICE4W2K.INF for Windows 2000 and XP
;
; 03 Jan 2005 : new group

;---- Class Info ------------------------------------------------------------

[ClassInstall32]
CopyFiles=DLLDestDir,DLLDestDirB
AddReg=MicrochipClass

[MicrochipClass]
HKR,,,,"MicrochipTools"
HKR,,EnumPropPages32,,"MCDRV48F.DLL,MCINSTLSProp"
HKR,,Icon,,"0"

;---- Common ----------------------------------------------------------------

[Version]
Signature="$Chicago$"
Class=MicrochipTools
ClassGUID={DEB97E2C-8B0F-446F-B280-7CFAC41C3BD9}
Provider=%Microchip%
DriverVer=08/27/2003,0.0.0.0

[Manufacturer]
%Microchip%=Microchip

[Microchip]
; This device is bound to the client driver for the loaded ICE 4000.
%USB\VID_04D8&PID_9001.DeviceDesc%=MCUSBICE4.Dev, USB\VID_04D8&PID_9001

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
MCUSBICE4.Files.Ext = 10,System32\Drivers
MCUSBICE4.Files.Inf = 10,INF
DLLDestDir=10
DLLDestDirB=11

[SourceDisksFiles]
ice4w2k.inf=1
ice4w2k.sys=1
MCDRV48F.DLL=1

[SourceDisksNames]
1=%gid%

[DLLDestDir]
MCDRV48F.DLL

[DLLDestDirB]
MCDRV48F.DLL

;---- Client Driver Items -------------------------------------------------

[MCUSBICE4.Dev]
CopyFiles=MCUSBICE4.Files.Ext, MCUSBICE4.Files.Inf
AddReg=MCUSBICE4.AddReg

[MCUSBICE4.Dev.NT]
; Copyfiles commented out for Win2K to avoid user intervention during install
CopyFiles=MCUSBICE4.Files.Ext, MCUSBICE4.Files.Inf
AddReg=MCUSBICE4.AddReg

[MCUSBICE4.Dev.NT.Services]
Addservice = MCUSBICE4, 0x00000002, MCUSBICE4.AddService

[MCUSBICE4.AddService]
DisplayName    = %MCUSBICE4.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\ice4w2k.sys
LoadOrderGroup = Base

[MCUSBICE4.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,ice4w2k.sys

[MCUSBICE4.Files.Ext]
ice4w2k.sys

[MCUSBICE4.Files.Inf]
ice4w2k.inf

;---- Strings -------------------------------------------------------------

[Strings]
Microchip="Microchip Technology, Inc."
USB\VID_04D8&PID_9001.DeviceDesc="Microchip MPLAB ICE 4000 Firmware Client"
MCUSBICE4.SvcDesc="Microchip MPLAB ICE 4000 Firmware Client Driver (ICE4W2K.SYS)"
gid="ICE4W2K Windows 2000/XP Installation Disk"
