Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

How Can I Create a Silent Install for NI Products Managed by NI Volume License Manager?

Primary Software: Other NI Software>>NI Volume License Manager
Primary Software Version: 2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I want to create a silent installer for NI products using a batch file. I have tried creating a network installer with NI Volume License Manager and using the /q option, but I still get a dialog box at the end of installation showing VLM administrator information. Is there a way to hide this dialog box?

Solution:
A network installer created by NI Volume License Manager will always run vlmclient.exe (formerly mslsetup.exe) at the end of installation. The vlmclient.exe program points the client computers to the NI Volume License Manager server and changes the method of licensing from local licenses to volume licenses. This program, vlmclient.exe, also displays the dialog box with the administrator information.

The solution is to use the regular installer for the NI product, for example use the LabVIEW CD or copy the CD contents to a network drive, instead of installing from the network installer made by NI VLM. After the regular installer completes, launch the network installer silently.

To do this, first, create a network installer using NI VLM to create the necessary files to convert your local licenses to be managed by NI VLM. All of the necessary files for the vlmclient.exe will be found in the "client" folder under the network installer.  For information on how to create the network installer and what files are necessary run the network installer see the KnowledgeBase on converting single-seat software to NI VLM listed below in the Related Links section.

Next, create a batch file or script that does the following:
  1. Launches the installer for the product(s) you wish to install. Run your installer with the /q flag for silent installation or create a spec file to further automate installation. For more information about what installation options are available, from a command prompt, run the installer with the "/?" parameter (for example, "setup.exe /?") or see the KnowledgeBase on automating installation in the Related Links section below.
  2. Copy all of the contents of the 'client' folder (including vlmclient.exe) to the distribution location.
  3. In the batch file or script, launch vlmclient.exe silently using the following command: "vlmclient.exe -silent 1".


Related Links: KnowledgeBase 4CJDP38M: Automating the Installation of National Instruments Software
KnowledgeBase 3X8BAP96: Automating the Installation of National Instruments Software - NI Installers version 2.4x and Previous
KnowledgeBase 339F766E: Changing a Single-Seat Installation to a NI Volume License Manager Managed Seat

Attachments:





Report Date: 01/17/2006
Last Updated: 02/14/2008
Document ID: 3TG75NRM

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit