|This Document is not yet Rated
Can I Update My Installer to Take Advantage of Spec File Generation?
Primary Software Version:
Primary Software Fixed Version:
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?
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:
- Copy your distribution to an editable location such as your local hard disk.
- Download the
Installer_271.zip folder which is attached to this KnowledgeBase.
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.
setup.exe found in the root directory of the installer with the
setup.exe found in the ZIP file.
NISysInf.dll found in your installer with the
NISysInf.dll found in the ZIP file.
- 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
- 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.
- Place all original files (
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 (
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 SoftwareKnowledgeBase 4CJDR18M: How Can I Determine the Version of My National Instruments Installer?