My Computer Forum Computer Science Forum

Go Back   My Computer Forum > Computer Science Forum > Computer Science

Computer Science Computer Science is the scientific and practical approach to computation and its applications.

Reply
 
LinkBack Thread Tools Display Modes
January 6th, 2012, 05:53 AM   #1
 
Joined: Jan 2012
From:

Posts: 4
Thanks: 0

I Ride:
Create a batch file to silent install multiple progams

Hi everyone.
I want to create a batch file(*.bat) that can auto install some of my programs from my CD silently. Actually i own a cyber-cafe and i format my computers once a week. After formatting and re-installing XP, i install some programs like Adobe reader 10.1.1, Google Chrome, Microsoft Office 2003, File formats converter, google chrome, mozilla firefox which you know is a necessity for a cyber cafe user. Installing a program one by one takes a lot of time and somehow frustrating. So i want it to be automated. I am posting a screen-shot so that it would be easy for you to figure out the issue.
Note:- 1. The CD drive letters are not same for each and every machine.
2. I want silent install please. Should i use /s or something like this?



If anyone would like to help kindly post the required solution. If for ease of writing command, i can rename the files accordingly.

Thanks and Regards
Dev Vaibhav
devvaibhav is offline  
 

My Computer Forum is free to register and we welcome everyone!

January 6th, 2012, 01:27 PM   #2
Site Founder
 
julien's Avatar
 
Joined: Dec 2007
From:

Posts: 414
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Hello,

Installing all the different pieces of software everything automatically won't be that easy because, even though it's easy to create a program which will initiate all the software installs one after the other, installing them from beginning to end require user interaction. You should therefore find a way to interact with the active window from within the batch. Not sure how you can do this ...

Maybe an easier solution would be to create a restore of your Windows containing exaclty the software to want to be there after a fresh windows install ...
julien is offline  
January 10th, 2012, 04:25 AM   #3
 
Joined: Jan 2012
From:

Posts: 4
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

I agree with you but there is a way by which we can bypass the user interaction. In-fact we can use the silent install switches for exe and msi. I know silent switch for Adobe reader AdobeRdr1000.exe /msi EULA_ACCEPT=YES /qn. We can get a silent install for Mozilla Firefox from http://www.frontmotion.com/. They provide msi package for firefox. I can use the /s switch for silent install for msi packages.
The silent job is all up to me. What i am seeking is the batch command to start a program from a local directory(means that same directory where the files are to be initiated are located) and yes please tell the command for echo.I want to insert carty text eg:- http://fsymbols.com/generators/carty/. But there is a problem, when i copy the carty text, ????(question marks come in notepad++)
Thanks and please reply.
devvaibhav is offline  
January 26th, 2012, 04:36 AM   #4
 
Joined: Jan 2012
From:

Posts: 4
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Come on. Why isn't some-one replying and not even a single thread in the least week in this section.
Ok I managed the command for auto-initiating the setups and yes in the silent way but the problem is that this command opens all the setups at the same time and error occurs saying " One or more installers are currently running ......."And yes its true all of them run at the same time. So i need some command that will run/open one setup at a time and after it is done, the next is taken into action.
The command looks like this
Code:
@echo off
start "" firefox.msi /passive
start "" adobereader.exe /sPB /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES
start "" office.exe
start "" chrome.exe
start "" fileformatconverter.exe /quiet
And please some one give reply......
devvaibhav is offline  
February 8th, 2012, 05:26 AM   #5
 
Joined: Jan 2012
From:

Posts: 4
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Code:
@echo off
start /wait "" firefox.msi /passive
start /wait "" adobereader.exe /sPB /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES
start /wait "" office.exe
start /wait "" chrome.exe
start /wait "" fileformatconverter.exe /quiet
Sorry to say but there is no help provided by the forum. I had to figure out all the issue myself. And yes the thing has worked. The correct code is written above. I hope it would help someone.
devvaibhav is offline  
February 9th, 2012, 01:42 PM   #6
Site Founder
 
julien's Avatar
 
Joined: Dec 2007
From:

Posts: 414
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Thanks for the batch code, indeed it might help somebody someday.
julien is offline  
July 11th, 2012, 02:19 AM   #7
Guest
 
Joined:
From:

Posts: n/a
Thanks:

I Ride:
Re: Create a batch file to silent install multiple progams

These batch codes really helped me a lot. Thanks for these super wonderful codes.
 
July 17th, 2012, 11:33 AM   #8
 
Joined: Jul 2012
From:

Posts: 1
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Hey, thanks for doing the leg work. The code helped me figure my thing out, too.

Have you ever thought of creating a disc-image of a clean install, and then merely loading that every time you want to format your computers? Loading a disc image is completely "silent" and you can save any degree/amount of software and/or configurations. I use Acronis True Image, but any disc imaging software will work. Create an image and store it on a safe medium (e.g. dvd or a network drive unavailable to your customers). I run mine from a bootable dvd, but I suspect you could do it from a bootable USB Key, too. Takes 1-2 minutes per machine; start it and walk away.

Just a thought.

Oh, and just an FYI - Repeatedly asking why no one is answering is the surest way to make sure your question is ignored. I'm only dropping a courtecy note because I'm using the fruits of your labour.
Johnny Pants is offline  
October 16th, 2012, 07:39 AM   #9
 
Joined: Oct 2012
From:

Posts: 3
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

What about a batch file to unistall the same apps or just multi apps?

Thanks
jeanemedi is offline  
October 16th, 2012, 07:59 AM   #10
 
Joined: Oct 2012
From:

Posts: 3
Thanks: 0

I Ride:
Re: Create a batch file to silent install multiple progams

Quote:
Originally Posted by devvaibhav
Code:
@echo off
start /wait "" firefox.msi /passive
start /wait "" adobereader.exe /sPB /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES
start /wait "" office.exe
start /wait "" chrome.exe
start /wait "" fileformatconverter.exe /quiet
Sorry to say but there is no help provided by the forum. I had to figure out all the issue myself. And yes the thing has worked. The correct code is written above. I hope it would help someone.
What about unistalling the same software, can you create a batch file for it too
Thanks
jeanemedi is offline  
Reply

  My Computer Forum > Computer Science Forum > Computer Science

Tags
batch, create, file, install, multiple, progams, silent

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
batch script to auto install applications rockin1jr Computer Science 0 November 8th, 2012 08:58 AM
IN WINDOWS, CAN I INSTALL AND RUN MULTIPLE VERSIONS OF MICRO musicworld1 Computer Science 3 July 11th, 2012 02:55 AM
confusing multiple choice questions. jumbo123 Computer Science 9 July 11th, 2012 02:08 AM
Create a website Gotte_L Web Design 18 February 27th, 2011 11:17 PM
Redirection in Batch SidT Programming 1 June 7th, 2009 12:35 PM





Copyright © 2014 My Computer Forum Forum. All rights reserved.