Community
    • Login

    Installation Bug?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 4 Posters 135 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rory O'BrienR
      Rory O'Brien
      last edited by

      I am a newbie and installed Notepad++ v8.8.3 today. I ran the installation executable and it halted about 95% through the process after extracting NppShell.dll and starting an execute statement. (I could not see which file it executed).
      I had to kill the process and ran the installation file again with the same result but with the slight variant that a Notepad++ icon appeared on the desktop and the application seems to work.

      Does anyone have any ideas as to what happened and how I can cure the problem?

      PC is:
      OS = MS Windows 11 Pro for Workstations, Version 10.0.26100 Build 26100
      System = Dell Precision 7920 Tower
      Processor = 2 x Intel® Xeon® Silver 4208 CPU @ 2.10GHz, 2095 Mhz, 8 Core(s), 16 Logical Processor(s)
      BIOS Version/Date Dell Inc. 2.48.0, 09/06/2025
      SMBIOS Version 3.2
      BIOS Mode UEFI
      Installed Physical Memory (RAM) 96.0 GB

      PeterJonesP mpheathM 2 Replies Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Rory O'Brien
        last edited by

        @Rory-O-Brien ,

        Installation often requires UAC privileges, especially for something like activating the NppShell.dll. I know there are rare times where Windows doesn’t pop the UAC elevation request to the front, so when that happens, you might want to Alt+Tab and see if Windows is hiding the permission request. (I’m not an expert on the installer process – though there are some regulars here who are – so if that doesn’t solve it, you might have to wait for someone else to chime in.)

        1 Reply Last reply Reply Quote 3
        • mpheathM
          mpheath @Rory O'Brien
          last edited by

          @Rory-O-Brien

          There is a checkbox to check to stop the log page from automatically closing. If the log closed then the extraction of files would be basically finished. I can only suggest checking system event logs and program logs that may scan and block processes. More details may help to expose the source of the issue.

          The v8.8.3 installer may work like previous versions though the uninstaller appears to be bugged regarding the unregistering of the context menu extension as I found today viewing the log.

          Process $winSysDir Target
          install x64 $WINDIR\System32 Redirects to C:\Windows\SysWOW64
          install x86 $WINDIR\SysWOW64 C:\Windows\SysWOW64
          uninstall No value assigned \regsvr32.exe
          uninstall No value assigned \rundll32.exe

          The install system path both target the 32 bit system directory so the creation of a variable named $winSysDir seems pointless when the builtin $SYSDIR would be adequate. $SYSDIR also works for the uninstall process so instead of targeting the root of the current drive as to the empty value of $winSysDir, it will target the 32 bit system directory.

          whindsaks questioned the use of $winSysDir a few weeks ago in a commit comment . Nobody responded at that time.

          For a 32 bit process, like the installer is, to access the 64 bit system directory, the file system redirector may need to be temporarily disabled while the access is needed. The alias $WINDIR\SysNative can also access the 64 bit system directory with Windows Vista+ from a 32 bit process. $winSysDir fails to achieve this 64-bit access as the active file system redirector changes the direction and I do not see how previous installers accessed it either without absolute paths so it has been accessing the 32 bit system directory for a long time.

          @xomx can you confirm and consider a solution.

          xomxX 1 Reply Last reply Reply Quote 2
          • xomxX
            xomx @mpheath
            last edited by

            @mpheath said in Installation Bug?:

            uninstaller appears to be bugged regarding the unregistering of the context menu extension

            I can confirm:

            • v8.8.2 ok (but vulnerable to the reported regsvr32/rundll32 hijacking CVE):
              npp-uninstall-v882-ok.png

            • v8.8.3 regression:
              npp-uninstall-v883-bad.png

            If you can, please create a GitHub regression issue for it and link there the culprit.


            OTOH, the v8.8.3 installer is ok (and not sensitive to that hijacking by using fullpaths):
            npp-install-v883-ok.png

            mpheathM 1 Reply Last reply Reply Quote 2
            • mpheathM
              mpheath @xomx
              last edited by

              @xomx

              Thanks for the confirmation. Issue has been posted at Github #16896 .

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors