Create Silent Installer for LabVIEW Executable and LabVIEW Run-Time Engine

Updated Dec 14, 2022

Environment

Software

  • LabVIEW
  • LabVIEW Application Builder Module

When I build an application with the LabVIEW Application Builder, I want my installer to first install my executable and then install LabVIEW Run-Time with no user prompts. How can I do this?

There are three ways to create a silent installer (no user intervention) with the LabVIEW Runtime Engine and your built executable.

NOTE: these instructions assume your installer is called setup.exe

WARNING: methods described below result in an installer that will restart the computer it is run on without asking you. Make sure any running programs are closed before running your install.

Option A) Install using command line
  1. Open the Windows command prompt
  2. Navigate to the directory containing your installer
  3. Run the command:
setup.exe /qb /AcceptLicenses yes 

Option B) Essentially the same as option 1 but with a batch file

  1. Copy the attached batch file into your installer directory
  2. Use a text editor to confirm that name in the batch file matches the name of your installer
  3. The installer can be run silently by double clicking the SilentInstall.bat file
setup.exe /q /r:n /AcceptLicenses yes /disableNotificationCheck
Option C) Modify the setup.ini file to eliminate user intervention
  1. Navigate to the directory containing your installer
  2. Open setup.ini in a text editor
  3. Replace any '1's with '0's in the [Dialogs] section
  4. Your modified [Dialogs] section should look like this after:
[Dialogs]
UserInfo=0
FeatureInfo1=0
SingleDirectory=0
InstallationType=0
FeatureTree=0
License=0
License2=0
NICertificate=0
WinFastStartup=0
ConfirmStart=0
End=0