Help! Need help writing a batch file

By frank.corey ·
OK - so the powers that be decided to upgrade a program which was installed system wide at many different site, but to do that the old program has to be manually removed and the new version manually installed. Our IS tells us this is the only way for some reason.

What I want to do is write a batch file that I can set to run at start up, or at least run the batch file on each machine so that running the script will:
1. Uninstall the original program with all associated registries
2. Install the new program

Unfortunatly I can't find an uninstall.exe file. Is there a way I can run a command to prompt the windows uninstall sheild to remove a specific program, and then place that command in my batch file?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Couple of ideas.....

by robo_dev In reply to Help! Need help writing ...

For uninstalling software which must be manually uninstalled:

Uninstall Tools

Scripting an uninstall of a windows app is very very tricky....use a utiltity to do that, unless you get paid by the hour.

For the install, build a MSI package for that.

Collapse -

This might be of help to you and your batch file issue.

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks

Related Discussions

Related Forums