Menu

I need a batch installer for NPP

2008-04-18
2012-11-13
  • PixelPusher

    PixelPusher - 2008-04-18

    Is there any way to install NPP without requiring the operator to click on dialog boxes during the install, but still get the context menu stuff added to Windows Explorer? I know there is the minimal install via the zip files, but that doesn't set up the Explorer menu stuff.

    I haven't tried downloading the source code, yet. Perhaps my answer is in there. Does anyone know?

    Thanks!
    Thom

     
    • PixelPusher

      PixelPusher - 2008-04-18

      That sounds good, but does that also set the File Associations? Scanning through the registry I see Notepad++ turning up in many locations.

       
    • PixelPusher

      PixelPusher - 2008-04-18

      W00t, I found something really useful! It seems that NP++ uses the same installer (or at least the same installer command line arguments) as 7-zip. Therefore, there is a batch install capability built right in!

      To run it, do this:
      C:\> npp.4.8.5.Installer.exe /S /D=C:\Program Files\Notepad++\

      The "/S" seems to be case sensitive. It tells the installer to operate in silent mode.

      The "/D=" obviously defines the destination folder for the install.

      I hope that helps someone out there!

      Thom

       
    • Nobody/Anonymous

      if you install Notepad++ with the zip archive, put the nppcm.dll file there too and run:
      regsvr32.exe C:\Program FIles\Notepad++\nppcm.dll (or w/e path you install it in)
      That should register the context menu

       
    • Nobody/Anonymous

      Notepad++ uses the NSIS installer, 7zip probably does that too so it can take the same commandline switches I guess

       
    • Nobody/Anonymous

      when you change the microsoft notepad with the notepad++ launcher,
      the file association for me is fine!

      http://sourceforge.net/forum/forum.php?thread_id=2005073&forum_id=331754