Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Automating the Installation of a Suited Installer

Primary Software: NI Installers>>Installer Framework
Primary Software Version: 2.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: How can I install my software suite silently?

Solution:

Note:  This information is specific to a suited installer.  To determine the type of your installer, see How Can I Determine the Type and Version of My National Instruments Installer?  For silent installation of a regular NI Installer, see Automating the Installation of National Instruments Software.

For a typical silent installation, use the /q and /acceptlicenses arguments.  For example: 

setup.exe /q /acceptlicenses yes

This silently installs the products that are configured to install by default if you launch the suite installer interactively.  For an automated install with a custom configuration, bypass the suite installer by using a batch file to call the individual installers.  When calling the individual installers, you can specify a spec file to customize the installation.  For more information on this process, see Automating the Installation of National Instruments Software.

Other suite installer command-line arguments are:

/log <log file> Installer writes a debug log file at the location <log file>.   For example:  /log c:\temp\log.text
 /results <results file>

Saves a summary of the installation results at the location specified by <results file>.  For example: 
/results c:\temp\results.txt

/r[:n][:f]

By default, the installer will prompt for reboot at completion.  Use the flag /r:n to suppress reboot, or /r:f to force a reboot.



Related Links:

KnowledgeBase 4CJDP38M:  Automating the Installation of National Instruments Software

KnowledgeBase 4CJDR18M:  How Can I Determine the Type and Version of my National Instruments Installer?



Attachments:





Report Date: 12/17/2007
Last Updated: 04/22/2008
Document ID: 4GGGDQH0

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