install the software , one after another?

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
caomeisanhao
Junior Coder
Posts: 28
Joined: Wed Jun 08, 2005 2:48 pm

install the software , one after another?

Post by caomeisanhao » Wed Jun 29, 2005 3:17 pm

Hi,guys
I want to install two software, software A ist the condition to install software B, both of them are big stuff.
I do :
Run Program>A.exe
Run Program>B.exe
I look the taskmanager, both of them are installing,so the install failed.
because B cannot be successfully installed,until A is finished to be installed.
so I do:
Run Program>A.exe
waitready>0
Run Program>B.exe
but seems the same.

how to do it, if I want to install A first,when A 100% finished, then begin to install B .Thanks in advance!

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed Jun 29, 2005 6:31 pm

Do you have RP_Wait set to 1 ? If not I think that will be the problem.

To quote the help:

By setting RP_WAIT to 1 the script will wait until the program launched by Run Program has terminated before continuing. The default value of RP_WAIT is 0.

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Thu Jun 30, 2005 12:48 am

Give This A Try.
Let>RP_Wait=1
Run Program>A.exe
Run Program>B.exe
Let>RP_Wait=0
FIREFIGHTER

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts