Silent Java Deployment (7u25) with Internet Explorer (and other browsers?) running
I'm trying to work out a good way to deploy JRE silently through Altiris (Symantec Management Platform) with no user impact e.g killing the IE process.
I noticed JRE when run with /qn and my transform (custom actions detailed at the end of this post) the install works as expected but if Internet Explorer is open the install appears to run correctly (files created, exit code of 0, Applet in Control Panel) but Java doesn't work.
I'm thinking of scheduling the SMP policy to start "At Computer Startup" and checking the Advanced setting of "A user is not logged on to the computer". My deployment experience is primarily in SCCM, SMP is very new to me so in addition to this I'm going to use a VBScript as a "belt and braces" approach.
Set objWMIService = GetObject ("winmgmts:") For each Process in objWMIService.InstancesOf ("Win32_Process")
If Process.Name = "iexplore.exe" then
Next Set WshShell = WScript.CreateObject("WScript.Shell")
strCmd = "msiexec.exe /I jre1.7.0_25.msi /qn TRANSFORMS=Oracle_Java_Runtime_Environment_7.0.250_x86_P1.0.mst"
Return = WshShell.Run(strCmd , 0, True)
Transform actions (I know some of these are deprecated, but I guess there is no harm in keeping them):
So, my questions are:
- Is there a better way to deploy JRE silently with no user impact?
- With this method, through SMP, will the package rerun if it fails on exit codes? or should I look into rule based detection (bearing in mind the install appears successful when installed with IE running, but isn't)?
- Can other broswers cause similar installation issues?
Any help would be great. If successful, I'll post info in "Deployment Tips".