[Version]
Signature="$WINDOWS NT$"
;Signature="$CHICAGO$"

Class="Hardware WinPic800"

ClassGuid={4F36E97F-E325-11CE-BFC1-08002BE10318}

Provider=%MFGNAME%
DriverVer=09/10/2005,1.0.0.0
CatalogFile=mchpusb.cat

;[DestinationDirs.NT]
;DefaultDestDir = 12
;mchpusb.ClassCopyFiles = 11

[DestinationDirs]
DefaultDestDir=10,System32\Drivers
mchpusb.ClassCopyFiles = 11

;------------------------------------------------------------------------------
;  Class installation sections
;------------------------------------------------------------------------------

[ClassInstall32]

AddReg=mchpusb.ClassReg
CopyFiles=mchpusb.ClassCopyFiles

[mchpusb.ClassReg]
HKR,,,0,%ClassName%
HKR,,Class,,%ClassDesc%
HKR,,Icon,,11
HKR,,Installer32,,"WP_usbci.dll,PicUSBClassInstaller"


[mchpusb.ClassCopyFiles]
WP_usbci.dll

;------------------------------------------------------------------------------
;  Device  Install Section
;------------------------------------------------------------------------------

[Manufacturer]
%MFGNAME%=Standard

[Standard]

%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_FFA2


[SourceDisksNames]
1 = %INSTDISK%,,,""

[SourceDisksFiles]
mchpusb.sys  = 1,,
wdmstub.sys  = 1,,
WP_usbci.dll = 1,,

;------------------------------------------------------------------------------
;  Windows 2000/XP Sections
;------------------------------------------------------------------------------

[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
mchpusb.sys

[DriverInstall.NT.Services]
AddService = mchpusb, 2, DriverService

[DriverService]
DisplayName    = %SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
;ServiceBinary  = %12%\mchpusb.sys
ServiceBinary=%10%\system32\drivers\mchpusb.sys
LoadOrderGroup = Extended Base

;------------------------------------------------------------------------------
;  Windows 98/Me Sections
;------------------------------------------------------------------------------

[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles,StubCopyFiles
DriverVer=01/01/2003		; TODO replace with real info

[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"wdmstub.sys,mchpusb.sys"

[StubCopyFiles]
wdmstub.sys,,,2

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="WinPic800 USB-Programmer"
DESCRIPTION="GTP-USB PLUS #0"
INSTDISK="USB Device Driver Disc"
SVCDESC="GTP-USB PLUS Device Driver"
ClassName="Hardware WinPic800"
ClassDesc="WinPic800 USB-Programmer" 

