Add .NET Framework to My LabVIEW Installer

Updated Nov 20, 2023

Environment

Software

  • LabVIEW Full
  • LabVIEW Base

I have an EXE that I built with LabVIEW. In the program, I use .NET Constructor nodes and/or interface with the Microsoft .NET Framework. How can I build an installer for my program that will also ensure that the .NET Framework is installed on the target computer?

Complete the following steps to build an installer for your program that will also ensure that the .NET Framework is installed on the target computer:
 

  1. Download the redistributable (EXE) installer for the .NET framework from the official Microsoft .NET Framework download page.
     
  2. In your LabVIEW project, right-click the My Computer target and select Add»File... ;  add the .NET install program you just downloaded.
     
  3. Right-click the Build Specification for your installer and select New»Installer to launch the Installer properties dialog.
     
  4. Select the Source Files category. In the Project View pane, you should see the .NET installer under the My Computer target. Add this file to your installer by clicking the arrow (Add button).
     
  5. Now, select the Advanced category and check the box Run executable at end of installation.
     
  6. The Select Target File dialog box will then launch; select the .NET installer from the list and click OK.
     
  7. Click the Build button to rebuild your installer.


Your installer should now install the .NET Framework immediately after installing your LabVIEW EXE and any other Additional Installers you have included