View Single Post
  #1  
Old 12-22-2014, 10:50 PM
ricktendo ricktendo is offline
Senior Member
 
Join Date: Nov 2014
Posts: 137
Default Optimized usbjtag.inf for Windows 6.x

The following is an optimized INF for use with Windows 6.x (Vista and above.) There is no need for the CoInstallers unless you are working on Windows 2000/XP (even so it may be a good idea to update the older driver from 01007 to 01009 CoInstallers)

Anyway here is the optimized INF (no other files needed)

usbjtag.inf
Code:
[Version]
Signature = "$Windows NT$"
Class = USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider = %ProviderName%
;CatalogFile=MyCatFile.cat

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86.6.0,NTamd64.6.0

[MyDevice_WinUSB.NTx86.6.0]
%USB\MyDevice.DeviceDescNT% =USB_Install, USB\Vid_04B4&Pid_8613
%USB\MyDevice.DeviceDesc% =USB_Install, USB\Vid_0547&Pid_2131

[MyDevice_WinUSB.NTamd64.6.0]
%USB\MyDevice.DeviceDescNT% =USB_Install, USB\Vid_04B4&Pid_8613
%USB\MyDevice.DeviceDesc% =USB_Install, USB\Vid_0547&Pid_2131

; =================== Installation ===================

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
Needs=WINUSB.NT.Services

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{b35924d6-3e16-4a9e-9782-5524a4b79bac}"

; =================== Strings ===================

[Strings]
ProviderName="USBJTAG"
USB\MyDevice.DeviceDesc="USBJTAG"
USB\MyDevice.DeviceDescNT="USBJTAGNT"
BTW I have a self signed version of this INF that gets around the problem on Windows 8+ with unsigned drivers, I could provide it and I could also show you how you can make your own (just let me know if anybody is interested)
Reply With Quote