|
1 |
| -; mbed Microcontroller Windows USB Composite Device Installation File (x64) |
2 |
| -; Copyright (c) ARM Ltd 2009 |
3 |
| -
|
4 |
| -;****************************************************************************** |
5 |
| -; Version Section |
6 |
| -;------------------------------------------------------------------------------ |
7 |
| -[Version] |
8 |
| -Signature="$Windows NT$" |
9 |
| -Provider=%S_Provider% |
10 |
| -ClassGUID={36fc9e60-c465-11cf-8056-444553540000} |
11 |
| -Class=USB |
12 |
| -CatalogFile=mbedComposite_x64.cat |
13 |
| -DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] |
14 |
| -
|
15 |
| -;****************************************************************************** |
16 |
| -; Manufacturer |
17 |
| -;------------------------------------------------------------------------------ |
18 |
| -[Manufacturer] |
19 |
| -%S_Mfg%=_Models, ntamd64 |
20 |
| -
|
21 |
| -
|
22 |
| -;****************************************************************************** |
23 |
| -; Models Section |
24 |
| -;------------------------------------------------------------------------------ |
25 |
| -[_Models.ntamd64] |
26 |
| -%S_DeviceDesc%=_Install, USB\VID_0D28&PID_0204 |
27 |
| -
|
28 |
| -
|
29 |
| -;****************************************************************************** |
30 |
| -; Install Sections |
31 |
| -;------------------------------------------------------------------------------ |
32 |
| -[_Install.ntamd64] |
33 |
| -CopyFiles=_CopyFiles_sys |
34 |
| -CopyINF=mbedSerial_x64.inf |
35 |
| -
|
36 |
| -[_Install.ntamd64.Services] |
37 |
| -AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog |
38 |
| -
|
39 |
| -[_Install.ntamd64.HW] |
40 |
| -AddReg=_AddReg_HW |
41 |
| -
|
42 |
| -[_AddService] |
43 |
| -ServiceType = 1 ; SERVICE_KERNEL_DRIVER |
44 |
| -StartType = 3 ; MANUAL |
45 |
| -ErrorControl = 1 ; SERVICE_ERROR_NORMAL |
46 |
| -ServiceBinary = %12%\%S_DriverName%.sys |
47 |
| -AddReg=_AddReg_Service |
48 |
| -
|
49 |
| -[_EventLog] |
50 |
| -AddReg=_EventLog_AddReg |
51 |
| -
|
52 |
| -[_EventLog_AddReg] |
53 |
| -HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" |
54 |
| -HKR,,TypesSupported, %REG_DWORD%, 7 |
55 |
| -
|
56 |
| -
|
57 |
| -;****************************************************************************** |
58 |
| -; Registry sections |
59 |
| -;------------------------------------------------------------------------------ |
60 |
| -[_AddReg_HW] |
61 |
| -HKR,,UsbConfiguration,%REG_DWORD%,0 |
62 |
| -HKR,,PnpIdPrefix,%REG_SZ%,"MI" |
63 |
| -HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" |
64 |
| -
|
65 |
| -[_AddReg_Service] |
66 |
| -
|
67 |
| -
|
68 |
| -;****************************************************************************** |
69 |
| -; Copy file sections |
70 |
| -;------------------------------------------------------------------------------ |
71 |
| -[_CopyFiles_sys] |
72 |
| -mbedComposite_x64.sys |
73 |
| -; note: no string variable possible in this section ! |
74 |
| -
|
75 |
| -;****************************************************************************** |
76 |
| -; Destination Directories |
77 |
| -;------------------------------------------------------------------------------ |
78 |
| -[DestinationDirs] |
79 |
| -DefaultDestDir = 12 ; %windir%\system32\drivers |
80 |
| -_CopyFiles_sys = 12 |
81 |
| -
|
82 |
| -;****************************************************************************** |
83 |
| -; Disk Layout |
84 |
| -;------------------------------------------------------------------------------ |
85 |
| -[SourceDisksNames.amd64] |
86 |
| -1=%S_DiskName%,,0 |
87 |
| -
|
88 |
| -[SourceDisksFiles.amd64] |
89 |
| -mbedComposite_x64.sys=1 |
90 |
| -; note: no string variable possible in this section ! |
91 |
| -
|
92 |
| -
|
93 |
| -;****************************************************************************** |
94 |
| -; Strings |
95 |
| -;------------------------------------------------------------------------------ |
96 |
| -[Strings] |
97 |
| -; |
98 |
| -; Non-Localizable Strings, DO NOT MODIFY! |
99 |
| -; |
100 |
| -REG_SZ = 0x00000000 |
101 |
| -REG_MULTI_SZ = 0x00010000 |
102 |
| -REG_EXPAND_SZ = 0x00020000 |
103 |
| -REG_BINARY = 0x00000001 |
104 |
| -REG_DWORD = 0x00010001 |
105 |
| -
|
106 |
| -; |
107 |
| -; Localizable Strings |
108 |
| -; |
109 |
| -S_Provider="mbed" |
110 |
| -S_Mfg="mbed" |
111 |
| -S_DeviceDesc="mbed Composite Device" |
112 |
| -S_DiskName="mbed Composite Device installer" |
113 |
| -S_DriverName="mbedComposite_x64" |
114 |
| -S_ServiceName="mbedComposite" |
| 1 | +; mbed Microcontroller Windows USB Composite Device Installation File (x64) |
| 2 | +; Copyright (c) ARM Ltd 2009 |
| 3 | + |
| 4 | +;****************************************************************************** |
| 5 | +; Version Section |
| 6 | +;------------------------------------------------------------------------------ |
| 7 | +[Version] |
| 8 | +Signature="$Windows NT$" |
| 9 | +Provider=%S_Provider% |
| 10 | +ClassGUID={36fc9e60-c465-11cf-8056-444553540000} |
| 11 | +Class=USB |
| 12 | +CatalogFile=mbedComposite_x64.cat |
| 13 | +DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] |
| 14 | + |
| 15 | +;****************************************************************************** |
| 16 | +; Manufacturer |
| 17 | +;------------------------------------------------------------------------------ |
| 18 | +[Manufacturer] |
| 19 | +%S_Mfg%=_Models, ntamd64 |
| 20 | + |
| 21 | + |
| 22 | +;****************************************************************************** |
| 23 | +; Models Section |
| 24 | +;------------------------------------------------------------------------------ |
| 25 | +[_Models.ntamd64] |
| 26 | +%S_DeviceDesc%=_Install, USB\VID_2A03&PID_805A |
| 27 | + |
| 28 | + |
| 29 | +;****************************************************************************** |
| 30 | +; Install Sections |
| 31 | +;------------------------------------------------------------------------------ |
| 32 | +[_Install.ntamd64] |
| 33 | +CopyFiles=_CopyFiles_sys |
| 34 | +CopyINF=mbedSerial_x64.inf |
| 35 | + |
| 36 | +[_Install.ntamd64.Services] |
| 37 | +AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog |
| 38 | + |
| 39 | +[_Install.ntamd64.HW] |
| 40 | +AddReg=_AddReg_HW |
| 41 | + |
| 42 | +[_AddService] |
| 43 | +ServiceType = 1 ; SERVICE_KERNEL_DRIVER |
| 44 | +StartType = 3 ; MANUAL |
| 45 | +ErrorControl = 1 ; SERVICE_ERROR_NORMAL |
| 46 | +ServiceBinary = %12%\%S_DriverName%.sys |
| 47 | +AddReg=_AddReg_Service |
| 48 | + |
| 49 | +[_EventLog] |
| 50 | +AddReg=_EventLog_AddReg |
| 51 | + |
| 52 | +[_EventLog_AddReg] |
| 53 | +HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" |
| 54 | +HKR,,TypesSupported, %REG_DWORD%, 7 |
| 55 | + |
| 56 | + |
| 57 | +;****************************************************************************** |
| 58 | +; Registry sections |
| 59 | +;------------------------------------------------------------------------------ |
| 60 | +[_AddReg_HW] |
| 61 | +HKR,,UsbConfiguration,%REG_DWORD%,0 |
| 62 | +HKR,,PnpIdPrefix,%REG_SZ%,"MI" |
| 63 | +HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" |
| 64 | + |
| 65 | +[_AddReg_Service] |
| 66 | + |
| 67 | + |
| 68 | +;****************************************************************************** |
| 69 | +; Copy file sections |
| 70 | +;------------------------------------------------------------------------------ |
| 71 | +[_CopyFiles_sys] |
| 72 | +mbedComposite_x64.sys |
| 73 | +; note: no string variable possible in this section ! |
| 74 | + |
| 75 | +;****************************************************************************** |
| 76 | +; Destination Directories |
| 77 | +;------------------------------------------------------------------------------ |
| 78 | +[DestinationDirs] |
| 79 | +DefaultDestDir = 12 ; %windir%\system32\drivers |
| 80 | +_CopyFiles_sys = 12 |
| 81 | + |
| 82 | +;****************************************************************************** |
| 83 | +; Disk Layout |
| 84 | +;------------------------------------------------------------------------------ |
| 85 | +[SourceDisksNames.amd64] |
| 86 | +1=%S_DiskName%,,0 |
| 87 | + |
| 88 | +[SourceDisksFiles.amd64] |
| 89 | +mbedComposite_x64.sys=1 |
| 90 | +; note: no string variable possible in this section ! |
| 91 | + |
| 92 | + |
| 93 | +;****************************************************************************** |
| 94 | +; Strings |
| 95 | +;------------------------------------------------------------------------------ |
| 96 | +[Strings] |
| 97 | +; |
| 98 | +; Non-Localizable Strings, DO NOT MODIFY! |
| 99 | +; |
| 100 | +REG_SZ = 0x00000000 |
| 101 | +REG_MULTI_SZ = 0x00010000 |
| 102 | +REG_EXPAND_SZ = 0x00020000 |
| 103 | +REG_BINARY = 0x00000001 |
| 104 | +REG_DWORD = 0x00010001 |
| 105 | + |
| 106 | +; |
| 107 | +; Localizable Strings |
| 108 | +; |
| 109 | +S_Provider="mbed" |
| 110 | +S_Mfg="mbed" |
| 111 | +S_DeviceDesc="mbed Composite Device" |
| 112 | +S_DiskName="mbed Composite Device installer" |
| 113 | +S_DriverName="mbedComposite_x64" |
| 114 | +S_ServiceName="mbedComposite" |
0 commit comments