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
- Open the Windows command prompt
- Navigate to the directory containing your installer
- Run the command:
setup.exe /qb /AcceptLicenses yes
Option B) Essentially the same as option 1 but with a batch file
- Copy the attached batch file into your installer directory
- Use a text editor to confirm that name in the batch file matches the name of your installer
- 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
- Navigate to the directory containing your installer
- Open setup.ini in a text editor
- Replace any '1's with '0's in the [Dialogs] section
- 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