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

Win32: mantis JRE installation fails when there are locked files

XMLWordPrintable

    • mantis
    • x86
    • generic, 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: Clean install of j2re.exe
      reproduced in : Win XP-Pro, Windows 2000 Pro

      DESCRIPTION:
      When there are locked files in the jre image of previous mantis installation, subsequent attempt to install in the same location fails with the following error message:

      """"""
      "Microsoft Visual C++ Runtime Library"
      Runtime Error!
      Program: C:\Windows\Installer\MSI2D.tmp

      This application has requested the Runtime to terminate in an unusual way.
      Please contact the applications support team for more information

      """""
      this error message appears 4 times. After this, the install completes without any error. But, the file "j2re-core.zip" from the j2re media is not unzipped and installed to the required locations. This results in there being no java.exe & other files. Hence Installation is a failure.

      This problem occurs because during uninstall of previous J2RE installation, installer does not ask for a reboot when there are locked files.
      Hence, the j2re directory remains with some locked files.

      STEPS TO REPRODUCE:
      1. Install the j2re.exe on a clean machine.

      2. Run Plugin demos with IE & Netscape 6

      3. Immediately after running demos, uninstall the J2RE.

      4. If there are files remaining in the j2re image, then there are locked files.

      5. Reinstall J2RE in the same location. Installer will give the above mentioned error messages. Then it completes saying J2RE has been installed successfully.

      6. Go to the J2RE image location, there wont be java.exe



      ###@###.### 2002-11-14

      CAP member reported the same problem:

      - Uninstall 1.4.2 b4 then tried to install the b6,
        the b6 installer showed errors, and the b6 didn't work.

        got 6 times following error messages:

          "Microsoft Visual C++ Runtime Library"
           Runtime Error!
           Program: C:\Windows\Installer\MSI5D.tmp

           This application has requested the Runtime to terminate in an unusual way.
           Please contact the applications support team for more information

      - the uninstall of the 1.4.2 b4 plug-in wasn't complete (some files were
        still in use), and so, the b6 couldn't install all JRE files.
      - then installed the 1.4.1 plug-in, to kind-of "release" the 1.4.2b4 plug-in,
        then rebooted my machine, to make the 1.4.1 plug-in be the current one.
      - manually remove the 1.4.2 b4 files, and finally I could install the b6.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: