Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Can I Update My Installer to Take Advantage of Spec File Generation?



Primary Software:
Primary Software Version: 8.2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to be able to take advantage of the spec file generation mode available to NI Installer 2.71 and later. However, I have an older installer. Is there any way to update the installer to take advantage of the functionality?

Solution:
You can update the installer temporarily in order to create a spec file for use with your installation. The following steps will enable you to use spec file generation mode with older installers:
  1. Copy your distribution to an editable location such as your local hard disk.
  2. Download the Installer_271.zip folder which is attached to this KnowledgeBase.
  3. Locate setup.exe, NISysInf.dll, and any file that starts with nires* which are in the same direcctory as NISysInf.dll. Copy these files to a temporary location.
  4. Replace setup.exe found in the root directory of the installer with the setup.exe found in the ZIP file.
  5. Replace NISysInf.dll found in your installer with the NISysInf.dll found in the ZIP file.
  6. Remove any of the nires* files found in the same installer directory as NISysInf.dll. Place all nires*.cab files found in the ZIP file in the same installer directory as NISysInf.dll.
  7. Run the installer in spec file generation mode. You can find more instructions regarding spec file generation mode in KnowledgeBase 4CJDP38M. A link can be found in the related links section below.
  8. Place all original files (setup.exe, NISysInf.dll, and nires* files) back into the installer folders. The installer should be in the same state as when you started.
You can now use the spec file to run the installer silently.

NOTE: Only silent installation ('/q' option) is available in NI Installer 2.4 and previous.  You will not be able to run the installer in basic mode or basic full mode. (See KnowledgeBase 4CJDP38M in the related links section below for more information.)
NOTE: The solution only applies to installer versions 1.22 to 2.4x. See the related links section for more information on determining the version of your NI Installer.

Related Links:
KnowledgeBase 4CJDP38M: Automating the Installation of National Instruments Software
KnowledgeBase 4CJDR18M: How Can I Determine the Version of My National Instruments Installer?

Attachments:

Installer_271.zip





Report Date: 08/21/2007
Last Updated: 01/15/2010
Document ID: 4CKEFN8M

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