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

msvcrt.dll is deleted if the user clicks on reboot during public jre uninstall

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • install
    • rc1
    • generic
    • generic
    • Not verified

      Steps to reproduce:

          Install sdk (with public jre)
          Uninstall sdk
          Uninstall public jre, and click on reboot when asked to remove msvcrt.dll
          When the system is rebooted, it will crash because there will be no msvcrt.dll

      This is because the file group which installs msvcrt.dll in the windows system directory does not treat the file as potentially shared. It should have the same properties as the "shared-dll" file group in the stand-alone jre installer.
      ###@###.### 2001-11-26

      Another problem was found by Raju Pallath is that the public jre is not checking the BATCH_INSTALL variable to see if it needs a reboot at the right time. It is checking before it tries to copy msvcrt.dll in OnFirstUIBefore. It is always coming up as 0 because there isn't a need for a reboot yet. It should be checking after it tries to copy in OnFirstUIAfter.
      ###@###.### 2001-11-30

            billyh William Harnois
            billyh William Harnois
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: