I started the package from scratch and got the batch file to run successfully and remove all versions of Java but now it hangs on Installing Java giving error message of
Object: java 8 u 45 test
Details: Install may have failed. Unable to create install session. The caller attempted to perform an operation on an interface while another operation was in progress.
Any ideas or do I need to add a timeout period to the bat file above or is there a way to post pone installing Java until the bat file is completed?
FYI I got it to work. I had to replace java.exe and get the java.msi before it worked correctly.