07-10-2013 03:53 PM
I have an application that I have created using LabWindows CVI 8.1 that has multiple executables. In my build settings I indicate that there are two executables that I wish to run at the end of the installation. Each of these is set to launch and wait for completion. My question is, how can I set the order in which I want these two executables to be run. For quite some time they always ran in the desired order but it occurred to me that I really didn't now how to control it. Recent builds have them now launching in the incorrect order and I can't seem to get them back the way I want. Is there some setting that I just haven't found or is it really randomly determined at build time?
07-11-2013 10:25 AM
Hi mevinger,
Just to make sure we have bases covered, in your actual distribution information; do the exe's appear top to bottom in the order that you want them to run?
Regards,
07-11-2013 11:01 AM
Sorry, I had mistaken CVI distributions with something else, I am working on a replication of this currently to get some feedback to you.
Regards,
07-11-2013 12:46 PM
Hi mevinger,
The order the executables are run appears to be based on timestamp. Whichever .exe has most recently been built will execute first.
Regards,
07-11-2013 01:03 PM
Thank you for looking into this SerJames but that does not seem to be the case for me. The executables I had were made within the same minute so I rebuilt the one that I wished to run first so that it now had a timestamp that was more than a day newer than the one that had been getting started first. I then rebuilt the install and when I run the install the one with the older date and time is still being started first. Is there some other test that you can suggest?
07-12-2013 08:49 AM
Hi mevinger,
Thank you for the feedback. I spoke with R&D about this and it looks like the best approach to getting the results you want would be to create a batch file that you would execute after your installer completes.
Regards,