Script to run various installers in order


I need to run several MSI's in order to install several different applications and I was wondering if anyone can help me on creating a script that can run this installers in order and reboot when it finishes installing the last installer.

Any help will be greatly appreciated!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Matt MinorTechnical Systems AnalystCommented:
Check out PDQ Deploy from admin Arsenal. The free version will accomplish many tasks, but if you need to upgrade its cheap... The amount of time you save deploying software pays for itself immediately. Try free first though
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Of course we can create a script, but I agree that using installer software is a better way.
JohnBusiness Consultant (Owner)Commented:
creating a script that can run this installers in order and reboot when it finishes installing the last installer  

A number of software programs will not install if a pending install (so reboot) is ahead of it. So you need to be sure that you can do what you want.

I do not know of any way to negate a pending install/reboot without causing problems.
Lee W, MVPTechnology and Business Process AdvisorCommented:
You CLEARLY need to test that each one works appropriately, but you can simply use MSIEXEC to install the MSI files.  For each item you have to install, create a separate install line in a batch file using MSIEXEC.

msiexec /i product1.msi /passive
msiexec /i product2.msi /passive
msiexec /i product3.msi /passive

For more information on MSIEXEC run MSIEXEC /?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LuiLui77Author Commented:
Thanks Lee
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.