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. debug.log
          82 kB
          Oleg Dubinskiy
        2. notepad_ros_after.png
          84 kB
          Oleg Dubinskiy
        3. notepad_ros_before.png
          72 kB
          Oleg Dubinskiy
        4. notepad_win2k3.png
          67 kB
          Oleg Dubinskiy
        5. readme_ros_after_1.png
          44 kB
          Oleg Dubinskiy
        6. readme_ros_after_2.png
          85 kB
          Oleg Dubinskiy
        7. readme_ros_before_1.png
          54 kB
          Oleg Dubinskiy
        8. readme_ros_before_2.png
          11 kB
          Oleg Dubinskiy
        9. readme_ros_before_3.png
          104 kB
          Oleg Dubinskiy
        10. readme_win2k3_1.png
          57 kB
          Oleg Dubinskiy
        11. readme_win2k3_2.png
          40 kB
          Oleg Dubinskiy

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: