/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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]
Answered 11/04/2011 by: weberik
Yellow Belt

Please log in to comment
0
Thanks for you reply,
Please find the below screenshot of batch file

Thanks in Advance.
Answered 11/04/2011 by: sanath_sunny
Orange Belt

Please log in to comment
0
sorry, i missed out the command line....

start /wait "%~dp0setup.exe" /Q
Start /wait "SQLServer2008-ServicePack-Extracted Source\Setup.exe" /Q
Answered 11/04/2011 by: sanath_sunny
Orange Belt

Please log in to comment
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
Answered 11/04/2011 by: pjgeutjens
Red Belt

Please log in to comment