Menu

Edit with Notepad++ disappeared from explorer

JackArrow
2011-01-26
2012-11-13
  • JackArrow

    JackArrow - 2011-01-26

    Hi I've just installed the last version from the 5.8.3 and now the "Edit with Notepad++" option is no more in the explorer menu when I right-click on an item…I've tried to register some dlls but nothig worked…can someone help me?
    Thanks in advance!

     
  • cchris

    cchris - 2011-01-26

    Did you try registering NppShell_01.dll? If you find a different figure, try with the highest you find.

    CChris

     
  • JackArrow

    JackArrow - 2011-01-31

    Hi CChris thanks for your answer!
    I've found the NppShell_04.dll and with cmd I've used this command: "regsvr32 /s /i NppShell_04.dll" (starting from the Notepad++ directory) but nothing changed…
    Any idea?

     
  • cchris

    cchris - 2011-01-31

    You need admin privileges to run the command. I'd expect you to get some error otherwise. Could it be this?

    CChris

     
  • JackArrow

    JackArrow - 2011-02-02

    Actually I don't have admin privileges but I don't receive any error…I really don't understand.

    Jack Arrow

     
  • cchris

    cchris - 2011-02-02

    You have to. Installing a dll can modify anything in Windows, with the obvious security risks. That's why you need admin privileges to install any dll. Windows won't report an error so as not to give a clue to a novice attacker.

    CChris

     
  • JackArrow

    JackArrow - 2011-02-02

    Ok i perfectly understand and I'll tell to my admin.
    But why with the 5.8.3 installer all works well?
    (just installed the new version and nothing…confirming your theory)

     
  • cchris

    cchris - 2011-02-02

    Are you sure you requested the Shell extension in the installer option page?

    CChris

     
  • JackArrow

    JackArrow - 2011-02-03

    Yes I'm sure and I've uninstalled and reinstalled np++ to be sure…nothing…

     
  • JackArrow

    JackArrow - 2011-02-07

    Here the solution!!!
    The installer won't create a registry key…here the code to put in a .reg file.. :)

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\CLSID\{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}]
    @="Notepad++"
    [HKEY_CLASSES_ROOT\CLSID\{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}\InprocServer32]
    @="C:\\Program Files\\Notepad++\\NppShell_04.dll"
    "ThreadingModel"="Apartment"
    [HKEY_CLASSES_ROOT\CLSID\{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}\Settings]
    "Title"="Edit with &Notepad++"
    "Path"="C:\\Program Files\\Notepad++\\notepad++.exe"
    "Custom"=""
    "ShowIcon"=dword:00000001
    "Dynamic"=dword:00000001
    "Maxtext"=dword:00000019