United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7020613 installation fails by SMS under System Account
JDK-7020613 : installation fails by SMS under System Account

Details
Type:
Bug
Submit Date:
2011-02-18
Status:
Resolved
Updated Date:
2012-03-14
Project Name:
JDK
Resolved Date:
2011-12-12
Component:
install
OS:
windows_7
Sub-Component:
install
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u22,6u27
Fixed Versions:
6u30-rev (b22)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
The installation of jre 1.6u22 fails by SMS (System Managment Sever) under System Account.
it seems the JRE-Setup wants to extract msi in user profile. But system account has no user profile.

A possble workaround is extracting the MSI and using msiexec /i jre1.6.0_20.msi /qn. 
but this solution it is not supported and it seems to give problem (see the bugs 6925051 and 6930226).
Latest update shows up as empty in Monaco.  Please elaborate either here or in email to interest list.

                                    

Comments
EVALUATION

See evaluation of: 
http://monaco.sfbay.sun.com/detail.jsf?cr=7014194
                                     
2011-07-28
SUGGESTED FIX

Problem 1:
LocalAppDataLow does not exist on a fresh installation of Windows Server 2008.
        
Fix:
Try to get LocalAppData location instead and then create LocalAppDataLow
in the same location.
                
Problem 2:
Windows doesn't map System32->Syswow64 for location of *.msi files being passed to
msiexec.exe.
For 32bit applications running under 64 bit Windows all attempts to access System32 directory
should be mapped by WOW64 (Windows 32 On Windows 64) emulator to Syswow64 directory.
For some reason System32->Syswow64 conversion/mapping doesn't take place for msiexec.exe
(neither for 32bit version Syswow64/msiexec.exe nor for 64 bit version System32/msiexec.exe).
        
Fix:
Detect location of msiexec.exe by checking following registry:
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\InstallerLocation"
If the location contains "Syswow64" then it means that
Java installer wrapper is a 32 bit application running under 64 bit Windows 
so replace "System32" string with "Syswow64" string in a path to *.msi files
being passed to msiexec.exe

FVB is available here:
----------------------
/net/nightsvr/export5/users/miroslaw/share/FVB/7014194

Above directory contains jre-6u25*.exe installer bundle:
jre-6u25-nb-bin-b99-windows-i586-17_aug_2011.exe
and the same bundle wrapped with IDR package:
IDRJDK-7014194-541135956.zip

Note: 
There are still two issues to be solved: 
- OpenOffice.jpg banner error message appearing during installation under system account 
- No Java Update Tab in Java Control Panel if installation done under system account
                                     
2011-08-18
SUGGESTED FIX

webrev:
http://jpsesvr.us.oracle.com:8080/ctetools/html/ViewDetail.jsp?index=4230
http://jpsesvr.us.oracle.com:8080/ctetools/html/ViewDetail.jsp?index=4231
                                     
2011-08-30



Hardware and Software, Engineered to Work Together