Search found 5 matches

by JrSysEngineer
23 Mar 2012 10:04
Forum: DOS Batch Forum
Topic: batch file to uninstall any version of a software
Replies: 11
Views: 18118

Re: batch file to uninstall any version of a software

I tried to do the error level like your snippet but it returned an error so I jet left that the same way I had it originally. ECHO OFF CLS ECHO. ******************************************************* ECHO. ******************************************************* ECHO. ECHO. DO NOT CLOSE THIS WINDOW ...
by JrSysEngineer
23 Mar 2012 09:25
Forum: DOS Batch Forum
Topic: batch file to uninstall any version of a software
Replies: 11
Views: 18118

Re: batch file to uninstall any version of a software

Ok, so I took your advise and cleaned up the batch like in your snippet. It is definitely much more readable, thank you. I still would like to clean it up more so that I do not have to add a key to the batch file every time a new update to Java comes out, if this is even possible. As to your questio...
by JrSysEngineer
23 Mar 2012 07:48
Forum: DOS Batch Forum
Topic: batch file to uninstall any version of a software
Replies: 11
Views: 18118

Re: batch file to uninstall any version of a software

The top set of keys is all of the x86 versions of Java from 6 update 14 to 6 Update 31. The bottom set of keys is all of the x64 versions of Java from 6 Update 21 through 6 Update 31. What I want to do is not have to list all of the keys since only a few characters change between versions and platfo...
by JrSysEngineer
22 Mar 2012 11:40
Forum: DOS Batch Forum
Topic: batch file to uninstall any version of a software
Replies: 11
Views: 18118

Re: batch file to uninstall any version of a software

That could work but I would rather not have to list all keys from 6 Update 14 through 7 Update 3 for both x86 and x64 platforms.
by JrSysEngineer
22 Mar 2012 11:04
Forum: DOS Batch Forum
Topic: batch file to uninstall any version of a software
Replies: 11
Views: 18118

batch file to uninstall any version of a software

Hello, I am trying to write a batch file that will query the registry to find and uninstall any version of Java. I would like to make it as efficient as possible so that it can be used in an enterprise situation. I would also like it to be able to be used regardless of the version of Java is install...