LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign file extension and custom icon to executable?

Hi bslimanea,

 

Let me make sure I completely understand what you are asking.

You want to run the DriverWizardInstallInf64.exe from the command window?

And you want to automatically install the driver and change the registry like the wizard does?

 

Justin D

 

Justin D.

Applications Engineer
National Instruments
0 Kudos
Message 31 of 39
(1,938 Views)

Yes, that is exactly it. And I Have to Know the syntax of The DriverWizardInstallInf64.exe

0 Kudos
Message 32 of 39
(1,928 Views)

Hello bslimanea,

 

I just wanted to let you know that I am still looking into your question.  It may take a few more days since this is a little more unusual application.


Thanks for the patience.

 

Justin D

Justin D.

Applications Engineer
National Instruments
0 Kudos
Message 33 of 39
(1,905 Views)

Thank you for your effort
I'm waiting

0 Kudos
Message 34 of 39
(1,896 Views)

Hi bslimanea,

 

I have a couple more questions if you don't mind.

 

Why do you need to make this automatic?  Do you have to do this each time your device is connected to the computer?  If you follow the procedure in the link below, the device should remain associated with the new driver and you should not have to repeat this process each time.

 

USB Instument Control Tutorial

 

Justin D.

Justin D.

Applications Engineer
National Instruments
0 Kudos
Message 35 of 39
(1,877 Views)

Hello,

I have to do that one time. I've create my own software and I want it to install the driver automatecly (like when you install a printer, you have not to install driver manually, the installer do that automateclly)

And i dont want the client (one who will buy my software) to use the driver wizard because he dont know how to use it. and i I want that my software whose easy to install and use

So please if i know the syntaxe of the DriverWizardInstallInf64.exe, i can do that

Thanks for your help

0 Kudos
Message 36 of 39
(1,864 Views)

The USB product's firmware will determine what driver will install when you plug in the device. (USB Firmware).

 

This link talks about why you have to install NI-VISA because it does not automatically get installed.

 

This link is some more information from Microsoft on how it chooses which driver to install. This explains how Windows chooses the driver and within her might shed more light as how to implement Windows not to install that driver but the NI-VISA driver.

 

David A.

National Instruments
Applications Engineer
0 Kudos
Message 37 of 39
(1,835 Views)

 


@bslimanea wrote:

 

I have to do that one time. I've create my own software and I want it to install the driver automatecly (like when you install a printer, you have not to install driver manually, the installer do that automateclly)

And i dont want the client (one who will buy my software) to use the driver wizard because he dont know how to use it. and i I want that my software whose easy to install and use

So please if i know the syntaxe of the DriverWizardInstallInf64.exe, i can do that


Maybe this is not helpful, but have you tried to start the program from a command line console either with empty paramaters or one of /h, -h, --help?

Most command line tools do have a usage text put out on stdout when they encounter either invalid or missing parameters or one of the above switches.

Rolf Kalbermatter
My Blog
0 Kudos
Message 38 of 39
(1,816 Views)

Hi,

Thanks for your presious help

I tried but nothing appears on the command window

0 Kudos
Message 39 of 39
(1,766 Views)