| 1 |
;-------------------------------------------------------------------------- |
| 2 |
; Copyright 2012 Graeme W. Gill. |
| 3 |
; |
| 4 |
; Permission is hereby granted, free of charge, to any person obtaining a copy |
| 5 |
; of this file, to deal |
| 6 |
; in this file without restriction, including without limitation the rights |
| 7 |
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 8 |
; copies of this file, and to permit persons to whom this file is |
| 9 |
; furnished to do so, subject to the following conditions: |
| 10 |
; |
| 11 |
; The above copyright notice and this permission notice shall be included in |
| 12 |
; all copies or substantial portions of this file. |
| 13 |
; |
| 14 |
; THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 |
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 |
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 17 |
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 18 |
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 19 |
; OUT OF OR IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN |
| 20 |
; THIS FILE. |
| 21 |
;-------------------------------------------------------------------------- |
| 22 |
|
| 23 |
; ==== Strings ==== |
| 24 |
|
| 25 |
[Strings] |
| 26 |
|
| 27 |
DeviceGUID = {247e32a0-32f9-11df-aacc-0002a5d5c51b} |
| 28 |
|
| 29 |
Date = "01/17/2012" ; MM/DD/YYYY |
| 30 |
libusb0ver = "1.2.6.0" |
| 31 |
|
| 32 |
Libusb_ClassName = "Argyll LibUSB-win32 devices" |
| 33 |
Libusb_DiskName = "LibUSB-win32 Device Install Disk" |
| 34 |
|
| 35 |
libusb0_SvcDesc = "LibUSB-win32 libusb0 - Kernel Driver 2012/1/17, 1.2.6.0" |
| 36 |
|
| 37 |
; ==== Version ==== |
| 38 |
|
| 39 |
[Version] |
| 40 |
Signature = "$Windows NT$" |
| 41 |
DriverVer = %Date%,%libusb0ver% |
| 42 |
Provider = "ArgyllCMS" |
| 43 |
|
| 44 |
; (Note the ClassGuid must not be quoted or a string substitution to work on Win2K) |
| 45 |
Class = %Libusb_ClassName% |
| 46 |
ClassGuid = {817cffe0-328b-11df-9b9f-0002a5d5c51b} ; LibUSB-win32 ClassGUID |
| 47 |
CatalogFile = "ArgyllCMS.cat" |
| 48 |
CatalogFile.NTAMD64 = "ArgyllCMS_x64.cat" |
| 49 |
CatalogFile.NTARM64 = "ArgyllCMS_arm64.cat" |
| 50 |
|
| 51 |
[ClassInstall32] |
| 52 |
AddReg=class_install_add_reg |
| 53 |
|
| 54 |
[class_install_add_reg] |
| 55 |
HKR,,,,%Libusb_ClassName% |
| 56 |
HKR,,Icon,,"-20" ; -20 is for the USB icon |
| 57 |
|
| 58 |
; ==== Files Sources and Destinations ==== |
| 59 |
|
| 60 |
[SourceDisksNames] |
| 61 |
1 = %Libusb_DiskName% |
| 62 |
|
| 63 |
[SourceDisksFiles] |
| 64 |
libusb0.sys = 1,\bin\x86, |
| 65 |
|
| 66 |
[SourceDisksFiles.amd64] |
| 67 |
libusb0.sys = 1,\bin\amd64, |
| 68 |
|
| 69 |
[SourceDisksFiles.arm64] |
| 70 |
libusb0.sys = 1,\bin\arm64, |
| 71 |
|
| 72 |
[DestinationDirs] |
| 73 |
libusb0_files_sys = 10,system32\drivers |
| 74 |
|
| 75 |
; ==== libusb0 Device driver ==== |
| 76 |
|
| 77 |
[libusb0_files_sys] |
| 78 |
libusb0.sys,libusb0.sys |
| 79 |
|
| 80 |
; For each one of these, there must be one for Services !!! |
| 81 |
[LIBUSB0_DEV] |
| 82 |
CopyFiles = Libusb0_files_sys |
| 83 |
|
| 84 |
[LIBUSB0_DEV.HW] |
| 85 |
AddReg = libusb0_add_reg_hw |
| 86 |
|
| 87 |
[libusb0_add_reg] |
| 88 |
HKR,,DevLoader,,*ntkern |
| 89 |
HKR,,NTMPDriver,,libusb0.sys |
| 90 |
|
| 91 |
[libusb0_add_reg_hw] |
| 92 |
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID% |
| 93 |
HKR,,SurpriseRemovalOK,0x00010001,1 ; Device properties |
| 94 |
|
| 95 |
[LIBUSB0_DEV.Services] |
| 96 |
AddService = libusb0, 0x00000002, libusb0_add_service |
| 97 |
|
| 98 |
[libusb0_add_service] |
| 99 |
DisplayName = %libusb0_SvcDesc% |
| 100 |
ServiceType = 1 |
| 101 |
StartType = 3 |
| 102 |
ErrorControl = 0 |
| 103 |
ServiceBinary = %12%\libusb0.sys |
| 104 |
|
| 105 |
; ==== Manufacturers ==== |
| 106 |
|
| 107 |
[Manufacturer] |
| 108 |
"HCFR Association"=HCFR_Devices,NTx86,NTamd64,NTarm64 |
| 109 |
"Sequel Imaging"=Sequel_Devices,NTx86,NTamd64,NTarm64 |
| 110 |
"X-Rite"=X_Rite_Devices,NTx86,NTamd64,NTarm64 |
| 111 |
"ColorVision"=ColorVision_Devices,NTx86,NTamd64,NTarm64 |
| 112 |
"Gretag Macbeth/X-Rite"=GM_X_Rite_Devices,NTx86,NTamd64,NTarm64 |
| 113 |
"Hughski Ltd"=Hughski_Devices,NTx86,NTamd64,NTarm64 |
| 114 |
"Image Engineering"=ImageEngineering_Devices,NTx86,NTamd64,NTarm64 |
| 115 |
|
| 116 |
; ==== Devices ==== |