02-26-2014 09:47 AM
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.
02-27-2014 08:28 AM
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
03-07-2014 02:42 PM
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.
03-10-2014 08:44 AM
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
11-20-2014 12:38 PM - edited 11-20-2014 12:47 PM
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.