There are three configuration steps to create an installer that will run an executable after it finishes.
1. Add the executable to the project:
a. Navigate to the Project Explorer window of the project. b. Right-click My Computer, and click Add File.
2. Browse to the executable you’d like the installer to launch after it finishes and click the Add File button.
The executable should appear in the list under My Computer in the Project Explorer window.
3. Include the executable in the installer:
a. Right-click Build Specifications in the Project Explorer window and select New » Installer.b. Select Source Files in the Category list on the left side.c. Expand My Computer in the Project View by left-clicking the plus sign.d. Left-click the executable that appears in the expanded list, and verify in the Destination View that the selected destination is the project folder.e. Left-click the blue arrow that is between the Project View and the Destination View to transfer the executable to the destination project folder.
Continuing in the Installer Properties Window:
Configure the installer to run the executable after installation is complete:
Select Advanced in the Category List on the left side.
Navigate to the Launch Executable After Installation portion of the Advanced dialog window. In LabVIEW 2009 and later, tick the Run Executable at End of Installer box.
There are two buttons on the right side of the executable file path display. Left-click the Add Executable button.
Select the executable from inside the project list, and click OK.
Now the executable path will be in the executable window, and the Command Line Arguments box is enabled for entering commands. Use this box if you want to send additional commands to the executable.If you don’t need to send additional commands to the executable, click OK at the bottom of the Installer Properties window. The Project Explorer window will now list the installer underneath Build Specifications.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful