LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about "run executable at the end of installation"

Solved!
Go to solution

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

0 Kudos
Message 1 of 6
(2,987 Views)
Solution
Accepted by topic author plyons.gks

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

Message 2 of 6
(2,981 Views)

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

0 Kudos
Message 3 of 6
(2,975 Views)

You would need to use a batch file to launch multiple executables.

0 Kudos
Message 4 of 6
(2,973 Views)

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? 

0 Kudos
Message 5 of 6
(2,959 Views)

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

0 Kudos
Message 6 of 6
(2,937 Views)