Volume License Manager and Automated Software Installation

cancel
Showing results for 
Search instead for 
Did you mean: 

Install single GPIB driver only (ni-488.2)

Dear Community,

 

I have been wasting hours trying to get an automated install of only the driver files/package working. I have been using the 21.0 offline iso from here (https://www.ni.com/de-at/support/downloads/drivers/download.ni-488-2.html#409630).

I tried tampering with the suite.dat file. /generatespecfile doesn't exist anymore apparently. --force-essentials, install ni-488.2. Nothing worked. 😕

 

Either the installer did not even show up, no error message, but still exit code 0. Also "unable to locate package ni-488.2 with a compatible version and architecture". 

 

I tried calling the root Install.exe as well as bin/Install.exe with all possible arguments. 

 

Please help me. I'd just need a command to install the GPIB drivers only. Thank you!

0 Kudos
Message 1 of 5
(4,538 Views)

Sorry that you had difficulty with the install! Yes, the installer technology has changed over the past few years to be Package Manger-based (NIPM), and the command-line options are different as well.

 

To automate the install of the offline installer:

  1. Download the ISO, and extract its contents to a folder.
  2. Follow the instructions in the table here under "Offline", using the install.exe at the root of the .iso.

That will install NIPM itself if necessary, and will take all of the defaults in the installer, including recommended packages. As a suggestion - you could use the "--passive" flag the first time to see what it's doing, then use the "--quiet" flag for production if you wanted a fully silent install.

 

Please post back if you're still having issues!

 

0 Kudos
Message 2 of 5
(4,504 Views)

Thanks for the fast reply!

I guess I expressed myself not clear enough. The installation described in your steps already worked, but is not what we require.

 

Running the installer like that gives us:

 

Privacy123_0-1634987286544.png

 

As well as a ton of unnecessary services.

 

All we want is the driver for our GPIB adapter. 

 

Thanks for trying to help. 🙂 

 

0 Kudos
Message 3 of 5
(4,476 Views)

OK - some of those are recommended (optional) packages, but there currently isn't a command-line flag to the GUI installer to not install recommendations. 

 

Here's a suggested workaround:

  1. Extract the GPIB ISO somewhere, like c:\temp.
  2. Download and install NI Package Manager (NIPM) itself using the command-line flags listed above. This will also install the NIPM CLI, which gives more control over what's installed.
  3. Open an admin command-prompt.
  4. Use the NIPM CLI to connect the GPIB feed and refresh NIPM's available packages. The command would be something like:
    • "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add "c:\temp\feeds\ni-488.2\Packages" --system
    • "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" update
  5. Use the NIPM CLI to install the GPIB runtime package, which would be something like:
    • "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-488.2-runtime

On step 5, that is just the driver runtime, with no LabVIEW or other ADE support. For that, you could instead install the "ni-488.2" package. 

 

The CLI has decent built-in help, so you can do nipkg.exe help install to learn more about that command, for example to pass the "--yes and "--accept-eulas" flags to do the install unattended.

0 Kudos
Message 4 of 5
(4,458 Views)

Thanks that finally worked!
Sadly this is super cumbersome to set up automated (e.g. via Ansible). 

Is it possible to do that via the online installer in a more elegant way?

 

Needing only one iso/installer would help already.

 

Thanks once again. 🙂 

0 Kudos
Message 5 of 5
(4,430 Views)