Additional Installers in LabVIEW Application Builder

您所在的位置:网站首页 无法定位labview运行引擎怎么处理 Additional Installers in LabVIEW Application Builder

Additional Installers in LabVIEW Application Builder

2024-07-05 00:05| 来源: 网络整理| 查看: 265

SolutionLabVIEW 2015 and Later Beginning in LabVIEW 2015, application builder enhancements were added so that the聽Additional Installers聽page of the聽Installer Properties dialog box includes the new聽Only display runtime installers checkbox, which filters the run-time installers to display. Place a checkmark in this checkbox to view run-time installers only. This option is enabled by default.聽 聽 LabVIEW 2013 and 2014聽 In LabVIEW 2013, application builder enhancements were added so that LabVIEW automatically selects installers for the drivers and other software components required by the built application. The user may still choose to add NI installers, just as explained in 8.x versions below. Unlike earlier versions, you must remove the checkmark from the聽Automatically select recommended installers聽checkbox on the聽Additional Installers聽page of the聽Installer Properties聽dialog box for your installer. When the checkbox is disabled, the Run-Time Engine should still be selected. Other drivers will then be available to include. Like LabVIEW 8.6 to 2012, the聽Installer source location field聽is not editable.聽

LabVIEW 8.6 to 2012聽 In LabVIEW 8.6 and later, you can include other NI installers,聽just as explained for the other 8.x versions below. Unlike the other 8.x versions, LabVIEW 8.6 and later do not offer an editable Installer source location field. These changes are noted in the聽LabVIEW 8.6 Upgrade Notes .

If LabVIEW cannot find the associated installer at the specified location, the聽Distributions Needed聽prompt will ask you to point to it manually later in the build process.

Note:聽If the linked distribution is not available, you can run an available installer of the software and the聽Installer source location聽will be updated to the available installer distribution and location.聽

LabVIEW 8.0 to 8.5聽 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鈥檚 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 you installed from a network location, you will need to still have access the files on the network drive or one of the two above options.

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聽Select Source Dialog When Building an Installer in LabVIEW聽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聽How to Include and Run My Exectuable with My LabVIEW-built Installer). 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:

Want the LabVIEW application installer to launch other installers from an installation disk or CD without actually having to copy all the installer files to the hard drive first or having to include the entire installer as support files.Want to have the LabVIEW application installer launch multiple other installers.Want to give the user install options, allowing them to choose whether they want to launch the other installers or not.


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3