JDK-6995830 : x86 Silent Install fails using NT AUTHORITY\SYSTEM account on x64 Vista/Win7
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u22
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: windows_7
  • CPU: x86
  • Submitted: 2010-10-28
  • Updated: 2014-05-06
  • Resolved: 2014-05-06
Description
FULL PRODUCT VERSION :
JRE 1.6_13 - JRE 1.6_22

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7600] x64
Microsoft Windows [Version 6.0.6002] x64

EXTRA RELEVANT SYSTEM CONFIGURATION :
Trying to install Java JRE via Microsoft SCCM windows update client and also Shavlik NetChk Protect.

A DESCRIPTION OF THE PROBLEM :
If you try to install the jre-6u13-windows-i586.exe  through jre-6u22-windows-i586.exe running as NT AUTHORITY\SYSTEM rights this package fails on vista x64 and windows 7 x64 but is successful on XP x64.
The x64 package of Java jre-6u22-windows-x64 is also success full on XP/Vista/Win7.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a scheduled task in windows 7 task scheduler.
Change the User Rights to NT AUTHORITY\SYSTEM
create a install trigger "some time in the future"
create a Action install "jre-6u22-windows-i586.exe" program with command line switches  "/s "IEXPLORER=1 MOZILLA=1" /quiet"
The task executes but fails to install Java.


Do the same task with jre-6u22-windows-x64.exe it will install with no issues.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Install JRE with NT AUTHORITY\SYSTEM account silently.
ACTUAL -
Install process starts then install process closes without installing Java.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
MSI log file.
=== Verbose logging started: 10/28/2010  14:48:45  Build type: SHIP UNICODE 5.00.7600.00  Calling process: C:\Windows\SysWOW64\msiexec.exe ===
MSI (c) (A0:80) [14:48:45:405]: Resetting cached policy values
MSI (c) (A0:80) [14:48:45:405]: Machine policy value 'Debug' is 7
MSI (c) (A0:80) [14:48:45:405]: ******* RunEngine:
           ******* Product: C:\Windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\jre1.6.0_22.msi
           ******* Action:
           ******* CommandLine:  IEXPLORER=1  MOZILLA=1  METHOD=joff  REMOVEEXISTING=1
MSI (c) (A0:80) [14:48:45:405]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (A0:80) [14:48:45:405]: Grabbed execution mutex.
MSI (c) (A0:80) [14:48:45:421]: Cloaking enabled.
MSI (c) (A0:80) [14:48:45:421]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (A0:80) [14:48:45:436]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (C8:20) [14:48:45:546]: Running installation inside multi-package transaction C:\Windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\jre1.6.0_22.msi
MSI (s) (C8:20) [14:48:45:546]: Grabbed execution mutex.
MSI (s) (C8:10) [14:48:45:561]: Resetting cached policy values
MSI (s) (C8:10) [14:48:45:561]: Machine policy value 'Debug' is 7
MSI (s) (C8:10) [14:48:45:561]: ******* RunEngine:
           ******* Product: C:\Windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\jre1.6.0_22.msi
           ******* Action:
           ******* CommandLine:  IEXPLORER=1  MOZILLA=1  METHOD=joff  REMOVEEXISTING=1  CURRENTDIRECTORY="C:\Windows\SoftwareDistribution\Download\Install" CLIENTUILEVEL=3  CLIENTPROCESSID=928
MSI (s) (C8:10) [14:48:45:592]: Note: 1: 2203 2: C:\Windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\jre1.6.0_22.msi 3: -2147287037
MSI (s) (C8:10) [14:48:45:624]: MainEngineThread is returning 3
MSI (s) (C8:20) [14:48:45:702]: User policy value 'DisableRollback' is 0
MSI (s) (C8:20) [14:48:45:702]: Machine policy value 'DisableRollback' is 0
MSI (s) (C8:20) [14:48:45:702]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (C8:20) [14:48:45:780]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (C8:20) [14:48:45:780]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (C8:20) [14:48:45:780]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (C8:20) [14:48:45:780]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (C8:20) [14:48:45:780]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (C8:20) [14:48:45:780]: Restoring environment variables
MSI (c) (A0:80) [14:48:45:780]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (A0:80) [14:48:45:780]: MainEngineThread is returning 3
=== Verbose logging stopped: 10/28/2010  14:48:45 ===

jusched.log-----------------------------------

Thu Oct 28 14:48:45 2010
:: GetUpdatedJreMetrics() - MachineCount registry value exists

Thu Oct 28 14:48:45 2010
:: GetUpdatedJreMetrics() - MachineCounted: YY, InstallAttempts: 1, UpdateCount: 1

Thu Oct 28 14:48:46 2010
:: Ping Values: $sc_xml_ver#1.0$reportsuiteid#suninstallstat$visitorid#6c7e64cc-9d39d880$prop21#6c7e64cc-9d39d880$prop20#XXXXXX$pagename#ic$evar2#1.6.0_22-b04$evar3#1.6.0_21$evar15#1.6.0_22-b04$evar40#-1$evar26#-99$evar27#2.0.2.4$evar28#2.0.2.4$evar4#i586$evar5#amd64$evar6#win7$evar7#joff$evar8#US$events#event6,event7$evar17#1$evar18#YY$evar19#1$products#;jre|1619


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Install manually on 1,000,000+ systems.

Comments
We don't have plans to fix it
06-05-2014