Wait between tasks, in a baseline

(imported topic written by AndreiShoro)

hello,

I have a basline which installs 5 versions of Visual C++ Redistributable. All tasks uses install command msiexec /i … TRANSFORMS=…

everytime I run the baseline at least one of tha task, starting with the second one from the baseline, fails with the reason:

Command failed (Move of ‘C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\CustomSite_vrl_swd__createfile’ to ‘C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\CustomSite_vrl_swd\run.bat’ failed (183)) move __createfile run.bat (group:3273,action:3294)

These 5 versions of Visual C++ Redistributable are also part of a single task which installs a BUNDLE. This Bundle has a main application like SAS Enterprise which needs those versions as prerequisites. To install the bundle I use install.vbs.

In the install.vbs I use
rVal = osh.Run(sInstallCommand,1 ,True)
after every command line. In this case all versions of Visual C++ Redistributable are installed with success.

Can you please tell me how to use the wait time between tasks in a base line if I want to install those applications one by one and not directly from install.vbs?

(imported comment written by NoahSalzman)

There is no native “pause” command in Action Script. Here are a couple ways to work around that:

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014749808&ps=25

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014749270&ps=25

And how to deal with the issue of .vbs scripts so that the agent won’t jump to the next action (thinking it is completed):

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014749677&ps=25