Launching a Readme.txt File with an Application Builder Installer

Updated Oct 26, 2020

Environment

Software

  • LabVIEW Application Builder Module

I am creating an installer with the LabVIEW Application Builder. I want to include a readme.txt file with the installer that will launch automatically after the LabVIEW installer finishes. How can I do this?

You need to use the Advanced Installer Settings option of running an executable after installation. Use the following steps:
  1. On the Installer Settings tab in Application Builder go to Advanced and select Run executable after installation.
  2. Enter Notepad.exe (or NOTEPAD.exe) as the Executable.
  3. Enter [INSTALLDIR]readme.txt in the Command Line Arguments field. The "readme" in this example should be replaced by the name of your file you are opening. This field is case sensitive, so type the name of your readme file exactly as it appears. 
  4. Click OK.
  5. Add Notepad.exe and the readme.txt file as support files on the Source Files tab (in addition to adding your top level VI).
  6. Click Build to create the installer.
When you run the setup file for the installer, the readme.txt file will launch at the end of the installation. Note that the installer will not completely finish until the readme file is closed.

Additional Information

When attempting to open this installer on different Windows operating systems (i.e. Windows 7/8/10) than what it was originally created on, there may be compatibility issues with the Notepad.exe version that was included in the installer that needs to be accounted for.