JDK-6720641 : Firefox 3.0 crashes with Deployment Toolkit in UAC enabled Vista m/c.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2008-06-30
  • Updated: 2010-04-04
  • Resolved: 2008-07-01
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
6u10Resolved
Related Reports
Duplicate :  
Description
Firefox 3.0 crashes with Deployment Toolkit (npdeploytk.dll) on UAC enabled Vista box.
This is not a regression. Firefox 3.0 is released recently. 

How to reproduce:
Install FF3.0 (if not there)
Install JRE (b27 PIT)
Un-instll JRE  and Make sure that npdeploytk.dll exists in C:\Program Files\Mozilla Firefox\plugins directory.  (b527 version)
Load this page : (or any page which use deployment toolkit java script)
http://sqindia.india.sun.com/disk17/deployment/raghu/kernel/KJRE001/installJRE.html

This is reproducible with all m/cs with UAC enabled. 
Here are some SCA m/cs. Use remote desktop.
1) amd-64 (10.5.26.149)  
user: tester
passw: dtf_test
2) dnm-dtf-015 (10.5.26.56) Vista is default one (you can reboot it) - do not uninstall any microsoft software from this machine
user: tester
passw: dtf_test

Comments
EVALUATION Problem: Firefox 3.0 crashes with Deployment Toolkit in UAC enabled Vista. The fix for 6719616 basically help to discovered this problem, which is the JRE installation function of Deployment Toolkit in UAC enabled Vista with Firefox never worked. Problem is we are using CreateProcess to launch the downloaded JRE installer. And with medium integrity and UAC on firefox, CreateProcess will fail with error code 740 ERROR_ELEVATION_REQUIRED. In our code, if CreateProcess failed, deployment toolkit will try to show an error dialog, using DoModal, and hence caused the same browser crash as seen in 6719616. Fix: If CreateProcess fail with error code 740 ERROR_ELEVATION_REQUIRED, which is an error code specific in Vista, we retry with ShellExecute APIs, as suggested by MSFT: http://technet2.microsoft.com/WindowsVista/en/library/e220a496-d92b-4526-a86f-8482261dc1941033.mspx?mfr=true
01-07-2008