Community
    • Login

    Install command line parameters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    installercommand line
    4 Posts 2 Posters 18.3k 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.
    • Arbus33A
      Arbus33
      last edited by

      Hello,
      I have found two setup parameters of Notepad++ : “/S” and “/D=<path>”
      But is there somewhere a complete liste of parameters ?
      (please give a link…)

      I would like to specify on the command line a default language
      (as is requested in the first window of interactive installation).

      Thanks,
      Didier

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Arbus33
        last edited by

        @Arbus33 ,

        I believe that Notepad++ installer uses NSIS. According to their documentation at https://nsis.sourceforge.io/Which_command_line_parameters_can_be_used_to_configure_installers, the command-line options included /S (silent) and /D (installation folder) – which you found already – and /NCRC, which skips a CRC check during installation.

        There are not any other options which I am aware of.

        In theory, you could create an issue to request that another option be added to the installer… but given that it’s a pre-built library to create the installer, I don’t know whether the developers could add such an option to the automatic installer. It wouldn’t hurt to ask.

        I assume this is for automatic deployment across an organization, otherwise answering the prompts once wouldn’t be worth trying to get around. If that’s the case, then in the mean time, you could do a single manual install on one machine, then zip up the c:\program files\notepad++\ and %AppData%\Notepad++\ folders, and build your own zip (or self-extracting-zip-based exe) that will put your pre-configured Notepad++ in the same location on all the machines you will be deploying to. Maybe not ideal, but it allows full customization (and you could even then decide which extra plugins to automatically include for all your users).

        1 Reply Last reply Reply Quote 1
        • Arbus33A
          Arbus33
          last edited by

          You are right, Notepad++ is about to be deployed.
          The zip is a good idea but I understand we will lose the shell interaction (may be added by regedit…)
          Populating only %AppData% as an active setup may work,
          Thanks for answering,

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @Arbus33
            last edited by

            @Arbus33 said in Install command line parameters:

            shell interaction (may be added by regedit…)

            Good point. You could run a batch script afterwards that set up the registry links.

            Or, you could do a normal silent install in English, then copy/unzip a pre-built %AppData%\Notepad++ folder with the language selected for the user

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