LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
mawodorfer

Run executable at end of installation also for *.reg or *.bat files

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

When creating an Installer for a Labview project, make it possible to execute not only exe files after installation. It shoult be also possible to execute *.reg or *.bat or other files.

 

This should work for the two options on the Advanced page of the Installer property dialog:

Installer Registry - Run executable.png

Best Regards
Martin
4 Comments
Mads
Active Participant

But you can. Just add a path to a .bat file and it gets executed without any problems.

mniedernhuber
Member

Look at "Hiden Start" tool from ntwind software

http://www.ntwind.com/software/hstart.html

 

shb
Active Participant
Active Participant

But I can only run *.exe and *.bat files. Running other files would still be usable.

 

*.cmd, the newer file extension for batch files (see Batch file in wikipedia)

Because there seems to be no difference to bat files (see Difference Between Cmd And BatFile) this should be no problem

 

Maybe also some other script files like *.vbs, *.js or *.ps1

 

Of course we can start all this files by writing a bat file which runs them. This is also the simplest possibility for calling several executables, because only one can be selected. But it is a bit old fashioned.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.