You are currently browsing the tag archive for the ‘jre’ tag.
Based on Windows 2003 R2 Standard
Time to admit something to you…part of my job is made easy as there is a team dedicated to prep’ing the base build and creating OS patch payloads for security compliance, so I don’t have to concern myself with automating the base OS – I just have to fill in the gaps for XenApp to install without barfing!
Pre-requisites
there are seemingly so many pre-requisites for this build it is mind boggling. From experience, some non-virtualised application suites have their own common requirements, so we believe we should be able simplify things by providing what XenApp needs as well as what we’ve seen some of our more complicated application requirements to make hosting applications somewhat easier.
- .Net Framework 2.0
- .Net Framework 3.0
- .Net Framework 3.5
- JRE 1.5.09
- J# 2.0
- Visual C++ runtime (needed for post roll-up 03 patches!)
All these will be installed via command line scripts in unattended and silent mode, examples of working installation syntax will follow below.
This will save you oodles of time, I assure you. Some of the install commands are pretty easy but others can be a pain in the rear. I admit to getting some guidance from some pretty good resources on the web but to get them right for my own environment sometimes takes a little extra cunning!
Every one of these components need to be installed before putting XenApp 5.0 on the W2K3 server but before we install these, we need to put the server in Terminal Server Application mode.
sysocmgr.exe /i:%systemroot%\inf\sysoc.inf /u:”%INSTALLDIR%\CONFIG\TermServ.inf” /r /x /q
.Net Framework 3.0
.Net Framework 3.5
START /WAIT “dotnet35″ dotNetFx35.exe /Q /PASSIVE /NORESTART
Java JRE 1.5.09
START /WAIT “java” jre-1_5_0_09-windows-i586-p.exe /s /v”ALLUSERS=TRUE REBOOT=REALLYSUPPRESS INSTALLDIR=D:\Progra~1\Java\j2re1.5.0_09 ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=0 JAVAUPDATE=0 /QB-” /QB /l c:\setup\log\jre15.log
In addition to the JRE installation, a few things need to be tidied up, general stuff to delete shortcuts and disable the auto update. I recommend using them as-is.
REG ADD “HKLM\SOFTWARE\JavaSoft\Java Plug-in\%JAVAVERSION%” /v HideSystemTrayIcon /t REG_DWORD /d 0×00000001 /f > nul
REG ADD “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v EnableJavaUpdate /t REG_DWORD /d 0 /f > nul
REG ADD “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v EnableAutoUpdateCheck /t REG_DWORD /d 0 /f > nul
REG ADD “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v NotifyDownload /t REG_DWORD /d 0 /f > nul
REG ADD “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v NotifyInstall /t REG_DWORD /d 0 /f > nul
REG DELETE “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v PromptAutoUpdateCheck /f > nul
IF EXIST “%ALLUSERSPROFILE%\Desktop\Java Web Start.LNK” DEL “%ALLUSERSPROFILE%\Desktop\Java Web Start.LNK” > nul
IF EXIST “%ALLUSERSPROFILE%\Start Menu\Programs\Java Web Start\Java Web Start.LNK” RD /Q /S “%ALLUSERSPROFILE%\Start Menu\Programs\Java Web Start” > nul
VisualC++ Runtime
START /WAIT “C++” vcredist_x86.exe /q:a /c:”VCREDI~3.EXE /q:a /c:”"msiexec /i vcredist.msi /qn”" “
You will need to reboot your server at this juncture to ensure the SYSOCMGR change you made for Terminal Services Application Mode is registered. XenApp will not install unless you do…
So what are you waiting for, reboot!
