Preparing a batch script to uninstall and reinstall a program
Posted on 2013-01-03
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