/build/static/layout/Breadcrumb_cap_w.png

Need to install two apps through batch file

Hi,

I need to install two set of application through a single batch file which both of application names are setup.exe and i have tried creating a folder and inside it i placed the other setup.exe and i ran the batch file, but i am not able install the second setup.exe which is in a folder. Here i am able to install the first setup.exe with out any issues.

Can anyone help me how could i resolve this issue by correct command line in batch file.

Thanks in Advance.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: weberik 13 years ago
Yellow Belt
0
could you please post the batch file you are using?
if you use subfolders there should be no problem.
see the following batch example:
[blockquote]start /wait folder1\setup.exe
start /wait folder2\setup.exe
[/blockquote]
Posted by: sanath_sunny 13 years ago
Orange Belt
0
Thanks for you reply,
Please find the below screenshot of batch file

Thanks in Advance.
Posted by: sanath_sunny 13 years ago
Orange Belt
0
sorry, i missed out the command line....

start /wait "%~dp0setup.exe" /Q
Start /wait "SQLServer2008-ServicePack-Extracted Source\Setup.exe" /Q
Posted by: pjgeutjens 13 years ago
Red Belt
0
I'm thinking with that batch file only the first setup will run in the correct directory.

I'd suggest starting the batch with
pushd %~dp0
to get to the current directory right off the bat

so that would become

pushd %~dp0
start /wait "setup.exe" /Q
Start /wait "SQLServer2008-ServicePack-Extracted Source\Setup.exe" /Q

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ