Installing the LabWindows/CVI Runtime
Use the Selected Component section of the Drivers & Components tab in the Edit Installer dialog box to install the following LabWindows/CVI Runtimes:
- LabWindows/CVI Shared Runtime—The LabWindows/CVI Runtime is selected by default. The LabWindows/CVI Shared Runtime is distributed with the application as a .msi file containing all the listed subitems. National Instruments highly recommends that you include the runtime in this way because this mimics the way LabWindows/CVI was installed on the build computer. The items underneath the top-level LabWindows/CVI Shared Runtime item are soft dependencies of LabWindows/CVI. To make your installer smaller, you can choose to not include any combination of those dependencies in your installer. If you choose to omit any soft dependencies in the installer, review the caveats in the National Instruments Dependencies in LabWindows/CVI Installers topic.
Note If you select the top-level LabWindows/CVI Shared Runtime item and you are building a 64-bit distribution, LabWindows/CVI includes both 32-bit and 64-bit versions of the components of the LabWindows/CVI Runtime, causing the size of your distribution to be larger. - NI LabWindows/CVI Side-By-Side Runtime (Current)—The side-by-side Runtime that corresponds to the version of LabWindows/CVI you use to build the installer. Use this option so that when you rebuild the executable/DLL and installer in a different version of LabWindows/CVI, the version of the side-by-side Runtime that corresponds to that version of LabWindows/CVI is included in the installer.
Note If National Instruments patched the LabWindows/CVI Runtime, this option refers to the patched side-by-side Runtime in the installer. - NI LabWindows/CVI Side-By-Side Runtime <version>—The side-by-side Runtime where <version> corresponds to the version or versions of the LabWindows/CVI Side-by-Side Runtime available on the system. Use this option to retain this specific version of the side-by-side Runtime when you build this installer in a different version of LabWindows/CVI without rebuilding the executable or DLL.
If you bind an executable or DLL to a version-specific, side-by-side LabWindows/CVI Runtime, you must include the side-by-side Runtime in your installer.
![]() |
Note Side-by-side Runtime binding is compatible with the LabWindows/CVI 2012 Runtime or later. Applications that use DLLs bound to the LabWindows/CVI Side-by-Side Runtime must ensure that the application's shared Runtime, if loaded by another module, is version 2012 or later because RTEs prior to 2012 use different shared memory structures than the 2012 shared Runtime. If you deploy an application or DLL bound to a side-by-side Runtime that is used with older LabWindows/CVI DLLs or applications, consider also deploying the 2012 or later shared Runtime to ensure that the older DLLs or applications use the 2012 or later shared Runtime. |