Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16003

Installers of some programs fail to open readme file at the end of the installation due to missing NOTEPAD.EXE in %SystemRoot%

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.13
    • Applications
    • VirtualBox 5.2.26.

    Description

      Usually trird-party apps (or their installers) use notepad.exe from system32 for opening its text files (readmes, changelogs, configuration files and other), but exist some installers, which use the same notepad, but from SystemRoot (folder where system is installed, usually C:\ReactOS or C:\WINDOWS). Such copy of notepad is also present in Win2k3, and that installers open its readmes succesfully there. But in ReactOS it's absent, and they fail to do it. For example, Battlefield 1942 Single Player Demo installer fails to open it, and Doom 3 Demo installer even proposes to rollback the installation after unsuccessfull opening of readme at the end of setup (see screenshots).

      I see only one solution for this problem: duplicate notepad.exe, which we already have in system32, in SystemRoot, via CMakeLists.txt of notepad's sources, which I did. After my fix, the second copy of notepad.exe appeared in C:\ReactOS, and at least installers mentioned above, opens its readmes correctly.

      P.S.: Although in Win2k3 that notepad is named in uppercase (NOTEPAD.EXE), in ROS with my fix, it's named in lowercase (notepad.exe), but nevertheless this doesn't interfere apps to open text files, and my changes fix the described problem.

      P.P.S.: I checked now: in Win2k3, the versions of two notepads are completely match, so it's not required to change the version of our notepad.

      Attachments

        1. readme_win2k3_2.png
          readme_win2k3_2.png
          40 kB
        2. readme_win2k3_1.png
          readme_win2k3_1.png
          57 kB
        3. readme_ros_before_3.png
          readme_ros_before_3.png
          104 kB
        4. readme_ros_before_2.png
          readme_ros_before_2.png
          11 kB
        5. readme_ros_before_1.png
          readme_ros_before_1.png
          54 kB
        6. readme_ros_after_2.png
          readme_ros_after_2.png
          85 kB
        7. readme_ros_after_1.png
          readme_ros_after_1.png
          44 kB
        8. notepad_win2k3.png
          notepad_win2k3.png
          67 kB
        9. notepad_ros_before.png
          notepad_ros_before.png
          72 kB
        10. notepad_ros_after.png
          notepad_ros_after.png
          84 kB
        11. debug.log
          82 kB

        Activity

          People

            hbelusca hbelusca
            Oleg Dubinskij Oleg Dubinskiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: