How Can I Include Additional Installers with My LabVIEW Applications' Installer? Primary Software: LabVIEW Development Systems>>Full Development SystemPrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have created an executable for my LabVIEW application and am now creating an installer. I would like to include other installers (NI LabVIEW Run-Time Engine, NI-VISA, NI-DAQmx, etc.) with my LabVIEW application’s installer. How can I do this? Solution: LabVIEW 8.x In LabVIEW 8.x, you can include other NI installers, such as NI-VISA, NI-DAQ, etc., with your LabVIEW application installer, as long as they are already installed on your development machine. Inside of your LabVIEW application’s installer, select the Additional Installers heading in the Category toolbar.
Select the desired installers to bundle with the LabVIEW application installer. LabVIEW requires the additional installer’s source MSI and .id files that were used for installation on the development machine to be able to install the additional installer on other machines. These source files are not usually left on the development machine after installation. The Installer source location field tells LabVIEW where to find these needed source files. LabVIEW will, by default, set this field to the last location used to install the additional installer on the development machine. If you installed your additional installer from a CD, you will need to put that CD into your drive before building your installer. If you downloaded the additional installer from ni.com/support and deleted the source, you will need to download the same version and unzip it again before you build and point the Installer source location field to this new folder. If LabVIEW cannot find the needed files, it will throw up a distribution error asking for the correct source distribution location. Refer to the linked KB, Why Do I Get A "Missing Distribution" Error When Trying to Build an Installer from LabVIEW 8.0? for more information. You can also include other non-NI installers in LabVIEW 8.x. This requires using the executable method that is described below. For more information on building LabVIEW application installers, see the “related links” section below. LabVIEW 7.1 and earlier In previous versions of LabVIEW, the LabVIEW installer options give you the ability to launch an executable after the installation (refer to the Knowledgebase - "How Do I Make My LabVIEW-built Installer Run an Executable After Installation?" linked below). The problem with launching an executable in this fashion (in LabVIEW 7.1 and below) is that you can only launch a single executable and that executable must be included as a support file in the installer. Another possibility is to have the application builder launch a batch (*.bat) file that launches the other installers. This method is useful for developers who:
Related Links: KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installer from LabVIEW 8.0? Attachments:
Report Date: 06/07/2001 Last Updated: 01/28/2008 Document ID: 2A6ECPG4 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

