Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Caveats and Recommendations for Building Installers

NI LabVIEW 8.6 Help
June 2008

NI Part Number:
371361E-01

»View Product Info

The following list describes some of the caveats and recommendations to consider when you build an installer.

  • When you select files to include in the installer build from the Source Files page of the Installer Properties dialog box, you cannot select part of a build specification or a LabVIEW project library. You must include build specifications and project libraries as a whole. The entire specification or project library appears in the Destination View directory.
  • If you want to include a project library in the installer build, make sure the project library does not include files on a network or other files with links that will break if moved. You cannot copy a project library from the Project View directory to the Destination View directory if any of the files are on different drives, or if the files do not share a common path with the LabVIEW project file (.lvproj).
  • Consider building a source distribution that contains the files you want to include in an installer build, to reduce the possibility of broken links for files on networks or different drives.
  • When you add a National Instruments product installer to the installer build, the drivers and components for NI products that you include in the installer contain only those features that are installed on the computer on which you build the installer. For example, if you have only 10 of a possible 20 features of an NI product installed on the build computer and then select to include the full version of that product in the installer, the installer will include only the 10 features installed on the build computer, not all 20 features available for that product.

    It is possible for an installer you create to uninstall components on the computer on which it is installed without reinstalling current versions of those components. This behavior depends on the NI products installed on the build computer and those installed on the computer on which you run the installer. If the computer on which you run the installer has an NI product installed that is not installed on the build computer, that product may be removed during the installation. The installer displays information to you that explains what features will be removed as part of the installation before uninstalling any components and gives you the option to stop the installation.
  • You can include custom error codes in the installer. The [LVxxRTEDIR] folder in the Destination View directory corresponds to the Shared\LabVIEW Run-Time\x.x directory, where xx is the LabVIEW version currently in use. If you place a checkmark in the Install custom error code files checkbox on the Advanced page, the installer build includes all error code files from labview\project\errors and labview\user.lib\errors and installs them in the Shared\LabVIEW Run-Time\x.x\errors directory.
Note Note  You must manually create an errors folder in the labview\user.lib directory to organize your error code files.
  • Use the [LVDIR] folder in the Destination View directory to add files to install in the directory of the latest version of LabVIEW that the user has installed.
  • You do not need additional license files when using LabVIEW distribution components with LabVIEW-built applications.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit