Click here to Skip to main content
14,878,944 members
Home / Discussions / Hardware & Devices

Hardware & Devices

GeneralRe: USB, Embedded System Pin
C-P-User-316-Apr-13 8:06
MemberC-P-User-316-Apr-13 8:06 
GeneralRe: USB, Embedded System Pin
Jonathan Davies17-Apr-13 5:20
MemberJonathan Davies17-Apr-13 5:20 
GeneralRe: USB, Embedded System Pin
C-P-User-317-Apr-13 5:24
MemberC-P-User-317-Apr-13 5:24 
GeneralRe: USB, Embedded System Pin
Jonathan Davies17-Apr-13 6:28
MemberJonathan Davies17-Apr-13 6:28 
GeneralRe: USB, Embedded System Pin
C-P-User-317-Apr-13 7:47
MemberC-P-User-317-Apr-13 7:47 
GeneralRe: USB, Embedded System Pin
C-P-User-318-Apr-13 5:52
MemberC-P-User-318-Apr-13 5:52 
GeneralRe: USB, Embedded System Pin
Jonathan Davies18-Apr-13 6:07
MemberJonathan Davies18-Apr-13 6:07 
QuestionTrouble creating .inf file Pin
fglenn18-Mar-13 13:01
Memberfglenn18-Mar-13 13:01 
EDIT - Thanks to everyone that replied. Big Grin | :-D I have found a better solution than an INF file.

My company has an existing software-only driver. The 32-bit version is being installed using InstallShield. Unfortunately for me, the company wants to get away from InstallShield as the product in question is going to be part of a customer's own installation. The build system here produces the 64-bit signed driver, and I am tasked with creating a .inf file to install this driver. I've been reading Microsoft documents about .inf files (until my eyes are bleeding) and all of this documentation seems to be centered around the Windows Driver Development Kit. I believe that this kit generates a .inx file which is really the .inf file. However, all I need to do is create a .inf file that will do the job.

When right-clicking on the .inf file and selecting Install, the install process is spectacularly silent about anything that is happening (right or wrong). So it is very difficult to determine what is happening.

Some of my problems include the following:
1. The driver is already signed, so I find it unlikely that I will need a CatalogFile. Will the .inf file work without a defined CatalogFile?
2. It seems that a software-only driver needs to have some dummy device installed, and (from the InstallShield results) I see this dummy device in HKLM\CurrentControlSet\Enum\Root\LEGACY_DRIVER_NAME. This is somehow linked to service entry in HKLM\CurrentControlSet\services\driver_name which points to the actual driver executable in \Windows\System32\drivers. I'm getting lost trying to define this dummy device.
3. I am successful installing the service, and I find it in the registry, but the install process never copies my driver into the drivers directory, so it appears to die before it gets that far.
4. I keep reading about a CoInstaller, but I get the feeling that it is not exactly necessary. Is this correct?

What I need is a clue. I haven't defined the dummy driver entry which is where I need the help. I've also made the assumption that the install directory where the .inf file is executed from is the root of the SourceDisk. Here's what I have in my .inf file so far:

This was edited to include a missing quote.
Signature = "$CHICAGO$"
Class = LegacyDriver
ClassGuid = {8ECC055D-047F-11D1-A537-0000F8753ED1}
Privider = %US%
DriverVer = 12/16/2012,


1 = %DiskDesc%,,,\AMD64

%DriverExeName% = 1

DefaultDestDir = 12

CopyFiles = vstor2-mntapi20-sharedCopyFiles

AddService = vstor2-mntapi20-shared,, vstor2-mntapi20-sharedServiceInst

CopyFiles = vstor2-shared-sharedCopyFiles

AddService = vstor2-mntapi20-shared,, vstor2-mntapi20-sharedServiceInst

StartType     = 2 ; SERVICE_AUTO_START
ErrorControl  = 1 ; SERVICE_ERROR_NORMAL
DisplayName   = vstor2-mntapi20-shared
ServiceBinary = %12%\%DriverExeName%

US = "Company Name"
DiskDesc = "Install Directory"
DriverExeName = "vstor2-mntapi20-shared.sys"

Fletcher Glenn

modified 20-Mar-13 13:10pm.

AnswerRe: Trouble creating .inf file Pin
David Knechtges20-Mar-13 5:32
MemberDavid Knechtges20-Mar-13 5:32 
GeneralRe: Trouble creating .inf file Pin
fglenn20-Mar-13 7:07
Memberfglenn20-Mar-13 7:07 
AnswerRe: Trouble creating .inf file Pin
Erudite_Eric25-Mar-13 4:17
MemberErudite_Eric25-Mar-13 4:17 
QuestionUSB to RS-232 converter with 5 Baud Pin
Kiran Satish13-Mar-13 11:52
MemberKiran Satish13-Mar-13 11:52 
AnswerRe: USB to RS-232 converter with 5 Baud Pin
Erudite_Eric17-Mar-13 1:21
MemberErudite_Eric17-Mar-13 1:21 
AnswerRe: USB to RS-232 converter with 5 Baud Pin
Albert Holguin19-Mar-13 5:28
professionalAlbert Holguin19-Mar-13 5:28 
AnswerRe: USB to RS-232 converter with 5 Baud Pin
Steve4419-Mar-13 22:29
MemberSteve4419-Mar-13 22:29 
QuestionMpLab Pin
C-P-User-312-Mar-13 10:25
MemberC-P-User-312-Mar-13 10:25 
AnswerRe: MpLab Pin
enhzflep12-Mar-13 10:59
Memberenhzflep12-Mar-13 10:59 
GeneralRe: MpLab Pin
C-P-User-312-Mar-13 11:02
MemberC-P-User-312-Mar-13 11:02 
AnswerRe: MpLab Pin
glennPattonContracting222-Apr-13 22:58
professionalglennPattonContracting222-Apr-13 22:58 
QuestionWindows Mobile Pin
aymen Tn19-Feb-13 5:01
Memberaymen Tn19-Feb-13 5:01 
AnswerRe: Windows Mobile - Cross posted. Pin
Pete O'Hanlon19-Feb-13 6:04
mvePete O'Hanlon19-Feb-13 6:04 
GeneralRe: Windows Mobile - Cross posted. Pin
aymen Tn19-Feb-13 22:48
Memberaymen Tn19-Feb-13 22:48 
QuestionUSB Ports Acting Screwey Pin
Kevin Marois15-Feb-13 7:51
professionalKevin Marois15-Feb-13 7:51 
AnswerRe: USB Ports Acting Screwey Pin
Eddy Vluggen15-Feb-13 10:02
professionalEddy Vluggen15-Feb-13 10:02 
AnswerRe: USB Ports Acting Screwey Pin
Albert Holguin4-Mar-13 17:42
professionalAlbert Holguin4-Mar-13 17:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.