LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Build launch order

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?

0 Kudos
Message 1 of 6
(3,661 Views)

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,

James W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,643 Views)

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,

James W.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 6
(3,633 Views)

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,

James W.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,622 Views)

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?

0 Kudos
Message 5 of 6
(3,620 Views)

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,

James W.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,605 Views)