I am having an issue when deploying JRE 1.6.0_11. If users are logged in and have any browser windows open the install prompts them to close the browsers before it will continue.

This is the command line I am using to install.

jre-6u11-windows-i586-p-s.exe /s ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=Supress

Is there a switch available that will tell the installer to force the applications to close and continue without user interaction? This only affects about 10% of the installs but I want to avoid users cancelling the installation.

Also, I have had no success extracting a useful MSI from this version, as I have done with past versions. Has anyone had any luck with that?

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
first, i'm pretty sure you don't have to set IEXPLORE or MOZILLA, the installation should detect it, second, you want the prompt the browser to close unless you want to p*** off users.

i don't know of anything that'll force it except a winternals util like tskill.
Answered 01/15/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
i found jre1.6.0_11.msi in my userprofile under Application Data\Sun\Java\jre1.6.0_11
I think this WAS in another thread.
Answered 01/15/2009 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
Thanks for the info. I did find the msi and it works standalone, however when I try to put a transform on it it appears to install fine but the jre test page states the it is not installed properly. I am going to try some different configurations in the transform.
Answered 01/23/2009 by: bigherrm
Senior Yellow Belt

Please log in to comment
0
If you use the "/s" command, it won't close IE or prompt the user to close it.

I used this command:
jre-6u11-windows-i586-p-s.exe /s ADDLOCAL=ALL SYSTRAY=0 EULA=0 IEXPLORER=1 JAVAUPDATE=0 AUTOUPDATECHECK=0 JU=0 REBOOT=ReallySupress

But the auto update really only turns off if you switch some regkeys after it's installed.. so I used this vbscript:


Option Explicit
Dim ObjShell, objFso, InstallCommand
Dim strKeyPath, strValueName, strValue, oReg, strComputer

'*****Install JRE***********

Set ObjShell = Wscript.CreateObject("WScript.Shell")
Set objFso = CreateObject("Scripting.fileSystemObject")

InstallCommand = "C:\Progra~1\radiatemp\Java_RE_160_u11\jre-6u11-windows-i586-p-s.exe /s ADDLOCAL=ALL SYSTRAY=0 EULA=0 IEXPLORER=1 JAVAUPDATE=0 AUTOUPDATECHECK=0 JU=0 REBOOT=ReallySupress"
objShell.Run InstallCommand,,TRUE


'*****Turn off autoupdates*************

Const HKEY_LOCAL_MACHINE = &H80000002

strComputer = "."

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\JavaSoft\Java Update\Policy"
strValueName = "EnableJavaUpdate"
strValue = "00000000"
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

strValueName = "NotifyDownload"
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

strValueName = "NotifyInstall"
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

Answered 01/23/2009 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
the auto update really only turns off if you switch some regkeys after it's installed.. so I used this vbscript:...with no check to see if the install actually worked or not or whether the values got written or not. Perhaps the error-checking code has been removed for clarity? :)

I can't keep saying often enough that ANY script, no matter how simple, should assume NOTHING. Check that your objects got created, check that a file copy operation succeeded before trying to do something to the target file, etc., etc. There's a really useful routine called BugAssert built in to some of MS's scripts which makes such error-trapping simple, removing the need for tons of "If Err.Number <> 0 Then" constructs. Find it and add it to all your scripts.

Lecture over...
Answered 01/26/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity