troubleshooting Question

Preparing a batch script to uninstall and reinstall a program

Avatar of pdixit1977
pdixit1977Flag for India asked on
Windows Server 2003Windows BatchMicrosoft Server OS
25 Comments2 Solutions590 ViewsLast Modified:
Hi Experts,
we are running a client app on 100 numbers of windows server 2003 R2 64 bit, now an upgraded version comes and client asking us to do reinstall that on all those servers. Here is the text flowchart of that batch script which i m planning to create to automate this.
1. uninstall that program (but no user intervention is required).
2. Reboot the server.
3. install the latest version.
4. copy 3 config file to installed program directory (files are already there but the one we copying is upgraded one).
5. Reboot the server again.

But i got stuck on first point, i tried

msiexec /x path_app.msi /q

it does nothing, then i remove Quiet switch but now it is asking Yes/No option for removal

Please help..
ASKER CERTIFIED SOLUTION
becraig

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 25 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 25 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros