Automating the Installation of a Suited InstallerPrimary Software: NI Installers>>Installer FrameworkPrimary Software Version: 2.6 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a software suite installer as opposed to a single product installer. How can I automate the installation of National Instruments software? How can I suppress the installer's dialog boxes, user interface, and progress bar? Solution: As of Installers 2.6.1, you can automate a suited installer in the same way as a single product installer. Refer to KnowledgeBase 4CJDP38M for instructions on creating a spec file to automate a single product installer. The information below is only should be used if you have a version earlier than Installers 2.6.1. Refer to KnowledgeBase 4CJDR18M to determine the version of your National Instruments Installer. Note:
Suited software installers contain single installers for each of the National Instruments products that it contains, typically contained in a subdirectory with a name like Distributions. The intent of suited installers, like the LabVIEW Platform DVD, is to simplify installation by keep all software in single distribution with all configuration before installing software. This prevents the installation progress from waiting for user input for each software product. The idea of automated installations is similar to suited installers, but is more catered toward installing software on a large number of machines. Limitations of Suited Installers and Working Around Them As of the publishing date of this KnowledgeBase, there isn't a way to customize the configuration of the top level setup executable of a suited installer if your installer is older than version 2.6.1. Consequently, something like the LabVIEW Platform DVD would just install LabVIEW without any of the LabVIEW modules. However, a solution is still possible by creating a customized configuration file for each of the individual single installers contained within the suited installers subdirectories. Customizing Installation Configuration with a Silent or Basic Installation National Instruments installers use a configuration file, called a spec file, as a replacement for the configuration dialogs. This spec file can contain information about the user, serial number information, which features to install and to not install, etc.
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. 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? KnowledgeBase 4CJDP38M: Automating the Installation of a Single Installer Attachments:
Report Date: 12/17/2007 Last Updated: 06/30/2009 Document ID: 4GGGDQH0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
