United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6540679 JRE 6u1 fails plugin test on some windows Vista machines
JDK-6540679 : JRE 6u1 fails plugin test on some windows Vista machines

Details
Type:
Bug
Submit Date:
2007-03-30
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2007-05-23
Component:
deploy
OS:
windows_vista
Sub-Component:
plugin
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u1
Fixed Versions:
6u2 (b03)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
From what the L10N team reported, jre-6u1-*-windows-i586.exe bundle on Vista (ja) passed, but jdk-6u1-*-windows-i586-iftw.exe bundle on Vista (zh) failed plugin test.

The sympton reported is as follows:

1. Download and install 6u1 (jdk-iftw.exe) on Windows Vista/2003 (zh)

2. click on the "this <http://webeng.sfbay/plugin-test/>" link to go to the test page.

3. click on "Test Install" link for the corresponding release version ( 6u1) to begin testing.

Problem:

It prompts to install 6u1 again.

A machine with which the failure can be reproduced is in Beijing with Vista zh_CN locale.
The problem can be reproduced on any windows Vista machine which doesn't have the msvcr71.dll in the C:\windows\system32 directory.

                                    

Comments
EVALUATION

The installer checks for windows Vista and will invoke some functions in the ssv.dll module to set the static versioning redirect registry keys. The ssv.dll has a dependency on the msvcr71.dll. For machines with msvcr71.dll in the C:\windows\system32 directory, the ssv.dll will be loaded successfully. Otherwise, the loading of ssv.dll will fail and the functions won't be called to set the static versioning redirect registry keys.
A fix is to prepend the {JreHome}\bin to the PATH env. variable before loading the ssv.dll.
Another problem I found is that the static versioning redirect keys were not deleted after uninstallation of JRE 6u1. The problem is due to the IsPlatformWindowsNT check isn't specific enough, it also returns TRUE for Vista. I'm adding more condition to ensure that block of code is executed only for non-Vista and up to XP windows platforms only.
                                     
2007-03-31



Hardware and Software, Engineered to Work Together