LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Where to place drivers for bespoke peripherals

Solved!
Go to solution

Hi,

   I have written some LabVIEW software that supports some bespoke hardware. When this hardware is plugged in for the first time, Windows needs to find the driver (.inf) fo the hardware. The driver is currently in the "/data" directory.

   When windows looks for the driver, it cannot find it. Is there a way in the "installer" creater of the project viewer to define a file as a driver?

 

Cheers, Alec

0 Kudos
Message 1 of 4
(2,054 Views)

Windows has a specifc list of places to search for drivers. This is defined in the registry by the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion key. So you could have the installer run an executable or batch file after the installation to copy your .inf file to the appropriate location. Configuring the installer to run another program is done in the "Advanced" part of the build spec.

Message 2 of 4
(2,044 Views)

Can you just double check that registry location for me again please? What opeating system are you using. I am on windows 7 and can not see the location of a driver directory.

 

Many thanks, Alec

0 Kudos
Message 3 of 4
(2,042 Views)
Solution
Accepted by topic author alecjcook

Sorry, forgot the key name at the end: DevicePath.

 

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\DevicePath

Message 4 of 4
(2,039 Views)