


Md %temp%\TempSystemProfile\AppData\LocalLow REM *** Still it worked for years now without creating a known problem This is very bad but i didnt find a different way yet. Is this the way it should be done or have I configured it wrong?Ĭopy /y "" "%allusersprofile%\Oracle\Java" I thought the advertisement would run the Java install which in turn would run the removeJava before then installing the current version. If I look at the cache on the client it has downloaded all of the content it needs but it doesn't seem to have run the install part.

Then I have a program Java8 which is set to run the RemoveJava program first under the advanced tab. What I have done is create a new program called RemoveJava and put the uninstall bat file in there. Similar to you I have created a bat file to remove older versions but when I tested it, it looks like it removed the old version but didn't install the new one (if I leave the uninstall bat file off it installs the new one fine so I know that works ok). Hopefully for the next update the SCCM supercedence will work for me. In the end I wrote a batch file that ran on every machine scrubbing every trace of old Java and installing the new version. Thanks for that, and here is a more comprehensive list of strings: Java Uninstall / Remove GUIDs and Strings SCCM 2012
