How Can I Add a .dll to the Windows System Folder with a LabVIEW Installer?

Updated Jun 29, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

When distributing a LabVIEW application, my VI uses a .dll that needs to be in the Windows System folder. How can I add this .dll to my installer so that the installer places it to the Windows System folder?

Solution

To add the .dll to the installer, make sure the .dll is added to the project, by right-clicking My Computer in the Project Explorer Window and clicking Add > File.
Once the .dll is in the project, create an Installer Build Specification by right-clicking Build Specifications on the Project Explorer Window and clicking New > Installer.
In the build specifications properties dialog, select the Source Files category and select the .dll under the Project Files View panel and the click the [System] folder in the Destinations View Panel. Finally, click the right pointing arrow and confirm that the .dll is now included under the Destinations View Panel.

Additional Information

  • When creating installers using LabVIEW 32 bits and installing them on a 32 bit system, the installer places all files in the [System] folder in C:\Windows\System32.
  • When creating installers using LabVIEW 32 bits and installing them on a 64 bit system, the installer places all files in the [System] folder in C:\Windows\SysWOW64.
  • When creating installers using LabVIEW 64 bits and installing them on a 64 bit system, the installer places all files in the [System] folder in C:\Windows\System32.

WAS THIS ARTICLE HELPFUL?

Not Helpful