Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN/NI-XNET install autorun fails

Trying to download and install the NI-CAN/NI-XNET drivers, the autorun after the unzip is failing. We get an error message dialog claiming "Encountered an improper argument". You can only click OK, which brings up a strange box in the upper-right corner of the screen. The only option is right-click and close the window via the task bar.

0 Kudos
Message 1 of 5
(6,895 Views)

Hi JaremyP,

 

Where are you downloading the file from?  It is possible that one of the files got corrupted during the download.  Have you tried re-downloading the drivers?

 

What operating system are you installing the drivers on?  Also, can you describe what the "strange box" is that shows up in the upper-right corner?

 

Nick

Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(6,884 Views)

We are downloading from the NI web site with the links available on the download pages for each respective driver. This issue has been seen on multiple machines, each downloading the drivers respectively.

 

Windows 7, 32 and 64-bit.

 

Image of the box is attached.

 

Capture.JPG

0 Kudos
Message 3 of 5
(6,836 Views)

Hi JaremyP,

 

So you are seeing the same behavior on every computer that are each downloading the files independently?

 

Could you provide a link to the exact driver you are downloading?  I will go ahead and check to make sure that the download is working correctly on this end.  Also, what other NI software (and versions) do you have installed on the computers?

 

Nick

Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(6,817 Views)

NI has reproduced this issue and found one possible cause. This behaviour can occur if you have a particular registry key present on your system. The NI autorun.exe application uses Windows APIs to read configuration information from autorun.inf located in the same folder as autorun.exe. When the particular registry key is on the system, it causes the Windows APIs to read from an autorun.inf file in a folder pointed to by the registry key(s) instead of from the autorun.inf in the folder with autorun.exe.

 

To see if this is the cause of your issue, check for the presence of either or both of the following registry keys (case doesn't matter):
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\IniFileMapping\autorun.inf
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\autorun.inf

 

You can work around this error by not running the autorun at all. Instead, run the appropriate setup.exe directly.

 

Alternatively, you can modify your registry to remove or rename the offending registry keys, either permanently or temporarily. If you choose this alternative, please read the following Microsoft KB to understand the risks and proper processes for modifying your registry: http://support.microsoft.com/kb/136393.

 

We plan to modify the NI autorun to avoid this issue in future versions of NI software.

0 Kudos
Message 5 of 5
(5,905 Views)