JDK-7141169 : 6ux Installer/Uninstaller need to be JavaFX aware
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u30
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2012-01-31
  • Updated: 2013-04-15
  • Resolved: 2013-04-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6-poolResolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Description
With regdeploy changes,  the highest deployment version on the system should always be the default one.  It is noticed that the latest 6u31-b04 uninstaller does NOT follow that rule. That is, 6u31 uninstaller reset npjp2.dll, jp2iexp.dll ,ssv.dll, jp2ssv.dll, to the second remaining  highest  deployment version 


*** Tested Cobfiguration:
x86 Win 7 
x64 Vista
jre 6u31-b04, jre 7u4. FX 2.1-b10 (promoted) FX 2.1 deploy-scrum bit (latest b37)

*** Steps to reproduce:
0) Make sure the system clean of jre, javafx runtime and related java registries
1) Install jre 6u31-b04
2) Install JavaFX runtime 2.1-b10 promotion or latest b37 FX deploy-scrum bit at:
http://jfx.sfbay.sun.com/hudson/view/2.1/job/2.1-deploy-scrum/
3) Install jre 7u4-b09 
At this point, all npjp2.dll, jp2iexp.dll ,ssv.dll, jp2ssv.dll are correctly from JavaFX 2.1 (which is the highest deployment version on the system)

Now, come to the problem created by 6u31 uninstaller
4) Uninstall 6u31

Expected:   npjp2.dll, jp2iexp.dll ,ssv.dll, jp2ssv.dll should come from JavaFX 2.1
Actural:    npjp2.dll, jp2iexp.dll ,ssv.dll, jp2ssv.dll come from jre 7u4 which is not  the highest deployment version on the system
JavaFX introduced separation between core JRE and deploy bits. 
And deploy bits can be installed separately.

JRE installer code in JRE6 need to be aware of this and use notion of "DeployHome" instead of "JreHome" to correctly dal with it.
Otherwise any install/uninstall operation with JRE6 on windows will corrupt JavaFX installation.

Comments
Verified. The issue was fixed in 6u32 b01 by 7045457. Closing as duplicate.
15-04-2013

EVALUATION the FX aware changes is in 6u32 b01 already: 7045457 uninstall of JRE 7 with JRE 6 on the machine left 10.0.0 deployment registry key behind please test with 6u32 b01, and see if there is any problem.
09-02-2012

EVALUATION This is essentially request to make installer to be FX aware (i.e. be able to detect partial JRE and not just full JRE).
31-01-2012