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.
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)
Please log in to answer
Posted by:
weberik
13 years ago
Posted by:
sanath_sunny
13 years ago
Posted by:
sanath_sunny
13 years ago
Posted by:
pjgeutjens
13 years ago
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
PJ
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.
so that the conversation will remain readable.