Due to issues with Java partially installing (even when run with ESD with the systems logged off) the following script was used to work around this (also run logged off to avoid open IE sessions):
rem Installs requires certs if not already installed - This is only necessary for environments that don't get root certs via another method
certutil -f -addstore root VeriSignRootExp5182018.cer
certutil -f -addstore root VeriSignRootExp8012028.cer
rem This is done to repair a corrupted install to allow for uninstall - May not be an issue if you do not currently have this condition
COPY /Y "%~dp0regutils.dll" "C:\Program Files\Java\jre6\bin"
rem Uninstall 6_29 - Any uninstal could be here
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216029FF} /quiet /norestart
rem Ensure Uninstall removes directory - this appears to be a key step
rd /s /q "C:\Program Files\Java\jre6"
jre-6u27-windows-i586.exe isn't going to work in Windows 7 64-bit, running as the System user. The installer gets C:\Windows\system32\config\systemprofile and C:\Windows\SysWOW64\config\systemprofile mixed up. Find the folder where the msi is extracted, and install that manually:
-This setting can be changed be creating/editing a .MST file or by editing the deployment.properties file.
-When editing the .MST file with Windows Installer Editor, go to "Properties" and create a new property called "deployment.security.mixcode". Set the value based on your needs. The options on what values to pick are here (http://docs.oracle.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html).
"ENABLE"
"HIDE_RUN"
"HIDE_CANCEL"
"DISABLE"
-The link also shows you how to modify the deployment.properties file.
-Please note there are two different locations for the deployment.properties file. One for user settings and another for system level settings.
-Please note creating a Java x86 package will work for both
x86 and x64 systems but if you install the package (x86) on a x64 system not all of the settings in your .MST file will stick. (i.e. Mixed Mode Security Settings)
Do not install the msi of the same java version twice. It will break the install and you'll have to copy regutils.dll to jre6\bin again to uninstall it. I recommend something like:
- Run firstly jre-6u31-windows-i586-s.exe
- Click "Install" button and after dont click "Next" button.
- Now, dont close setup window and open "%APPDATA%\Sun\Java\jre1.6.0_31" directory
- Copy jre1.6.0_23.msi and Data1.cab files
- And thats batch commands
Looks like running that msi twice breaks the java install. It will still be listed in Programs and Features, but the folder C:\Program Files(x86)\Java\jre6\bin\ will be practically empty.
Put regutils.dll back in the bin directory, then you can uninstall or upgrade it.
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ