10-10-2011 08:10 AM
Hey Folks-
I'm currently building an installer, and I wanted to try and get this installer to also install a driver for an external piece of hardware (usb-->serial adapter). The adapter came with an exe driver installer- I was hoping I could just select this driver exe to be run by the installer I'm building (when it finishes).
When I click the "run executable at the end of installation" the window and alert come up as shown in the jpeg I'm attaching-
Any idea or info apparecited!
Thanks
-pat
Solved! Go to Solution.
10-10-2011 08:12 AM
As the dialog box indicates, and from the LabVIEW Help:
Executable—Specifies the filename of the stand-alone application that runs after the installer completes installation. You must include the file in the LabVIEW project with a .EXE or .BAT extension
10-10-2011 08:50 AM
Thanks for the very quick reply!
Looking at the help page I found online (thanks for your reference), I realize that I've never added an exe to a project.
A little more clicking around and I found I can add exe's in the "source files" - which are then available for selection after clicking "Run executable at the end of installation".
Thank you very much for your quick replay and info!
Do you know if it is possible to runn multiple exe's after installation? I'm curious...
Thanks again!!
-pat
10-10-2011 08:55 AM
You would need to use a batch file to launch multiple executables.
10-10-2011 02:28 PM - edited 10-10-2011 02:31 PM
There are several txt files I use in my main program (that it reads from and writes to), do you know of a way I could have the installer place those in the same folder at the exe? The "source files" section of the build (installer) window doesn't seem to see any of the ini or txt files.
Thanks
-Pat
edit- I do see the "use custom config (ini) file" in the build specs for the exe, but I would love to have two other txts files as well. Is it possible?
10-11-2011 07:10 AM
I swore I tried this already, maybe I was just moving too fast? I just drag n' dropped the files into the project, you have to drag them up under the "my computer" part of the tree though, otherwise it wont let you drop 'em.
-pat