Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4766039

Win32: mantis J2RE installer does not register with IE and NS6 on silent install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.4.2
    • install
    • mantis
    • x86
    • windows_xp
    • Verified

      Platform: Windows 32-bit
      Build : J2SE 1.4.2 Mantis b-03
      Bundle: j2re.exe bundle
      Location : /java/re/jdk/1.4.2/promoted/beta/b03/bundles/windows-i586
      Test Case: Silent Install in clean machine

      reproduced in : Win XP-pro, XP-Home, Win2000

      Steps to reproduce:
      1. Silent install the j2re bundle with the following command
       c:\>j2re-1_4_2-beta-windows-i586.exe /s /v"/qn IEXPLORER=1 NETSCAPE6=1"

      2. Even though args have been passed inorder to register the plugin with NS6 and IE, the Installer does not register.

      3. The problem results in the following registry keys being either incorrect or absent.
       
      THE FOLLOWING 2 KEYS HAVE INCORRECT VALUES:

      [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2]
      "JavaHome"="C:\Program Files\Java\j2re1.4.2"
      "UseJava2IExplorer"=dword:00000000


      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{08B0E5C0-4FCB-11CF-AAA5-00401C608500}]
      @="Microsoft VM"
      "ComponentID"="JAVAVM"
      "IsInstalled"=dword:00000001
      "KeyFileName"="C:\WINDOWS\System32\msjava.dll"
      "Version"="5,0,3802,0"
      "Locale"="EN"


      FOLLOWING KEYS ARE MISSING:

      HKEY_CLASSES_ROOT\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs\

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}
      4. To workaround this problem, the user can register Netscape 6 through the plugin control panel.
      But, when IE is registered in the control panel, it gives the following error message:
      "Unable to change browser settings.
      Please check if you have sufficient permissions to change system settings."

      As a result, attempts to register IE through control panel fail.

      5. When performing a silent install with "/qn IEXPLORER=0 NETSCAPE6=0", the j2re installer registers with both IE and Netscape 6.
      This is not the expected behaviour. When passing '0' as the argument, the installer should not register with the browser.

            billyh William Harnois
            aramanatsunw Ashwin Ramanathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: