• Login
Community
  • Login

How to silently deploy v8.4.x

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 4 Posters 38.0k 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.
  • F
    Frédéric Gagné
    last edited by Nov 4, 2022, 6:52 PM

    Is there a way to silently deploy the version 8.4.x?

    It was previously working with the /S command but it’s doesn’t look to be working anymore :(

    Thanks!

    P 1 Reply Last reply Nov 4, 2022, 9:09 PM Reply Quote 0
    • P
      PeterJones @Frédéric Gagné
      last edited by Nov 4, 2022, 9:09 PM

      @Frédéric-Gagné ,

      I just downloaded the installer npp.8.4.6.Installer.x64.exe from the official downloads page , and put it onto a fresh Win10 virtual machine that had no previous Notepad++ installation.

      Running npp.8.4.6.Installer.x64.exe /S correctly installed Notepad++ in C:\Program Files\Notepad++ without any user prompts. If I uninstalled that one, and ran npp.8.4.6.Installer.x64.exe /S /D=C:\NotepadPlusPlus , it correctly installed it into C:\NotepadPlusPlus\ without any prompts.

      But it does do the UAC prompts… and sometimes UAC prompts get hidden in the background – when using the uninstaller between the two, I had to click on the UAC icon on the toolbar to get it to bring the UAC prompt to the front so I could tell it that it was okay to uninstall. maybe there’s a buried UAC prompt waiting for your input.

      Otherwise, all I can say is “it works for me.”

      F 1 Reply Last reply Nov 5, 2022, 11:21 AM Reply Quote 1
      • F
        Frédéric Gagné @PeterJones
        last edited by Nov 5, 2022, 11:21 AM

        @PeterJones said in How to silently deploy v8.4.x:

        npp.8.4.6.Installer.x64.exe /S /D=C:\NotepadPlusPlus

        Thanks for your answer!

        I dont know why but only the /s will pop-up the language selection window…

        But npp.8.4.6.Installer.x64.exe /S /D=C:\NotepadPlusPlus did work perfectly!

        So I will therefore just use the /s /d and go with it!

        A 1 Reply Last reply Nov 5, 2022, 12:07 PM Reply Quote 1
        • A
          Alan Kilborn @Frédéric Gagné
          last edited by Nov 5, 2022, 12:07 PM

          @Frédéric-Gagné said in How to silently deploy v8.4.x:

          /s

          /S

          Are you saying the case of the s matters, that is, has different effect if lowercase s is used versus uppercase S ?

          P 1 Reply Last reply Nov 5, 2022, 5:12 PM Reply Quote 0
          • P
            PeterJones @Alan Kilborn
            last edited by PeterJones Nov 5, 2022, 5:17 PM Nov 5, 2022, 5:12 PM

            @Alan-Kilborn said in How to silently deploy v8.4.x:

            Are you saying the case of the s matters, that is, has different effect if lowercase s is used versus uppercase S ?

            That surprised me to no end, but i just tried in the virutal machine: /s prompted for language/etc, whereas /S did not. (Similarly, /S /d=C:\OtherDirectory\ installed into the normal Program Files location, whereas /S /D=C:\OtherDirectory\ properly installed into C:\Other Directory)

            I will add a note in the User Manual that the options are case sensitive

            @Frédéric-Gagné should note that the /D=C:\NotepladPlusPlus was not required to get it to work. It was solely the difference between npp.8.4.6.Installer.x64.exe /s not being silent-install and npp.8.4.6.Installer.x64.exe /S working as a silent-install.

            A 1 Reply Last reply Nov 5, 2022, 5:35 PM Reply Quote 1
            • A
              Alan Kilborn @PeterJones
              last edited by Nov 5, 2022, 5:35 PM

              @PeterJones

              If I’m reading it correctly, / options to the installer are case sensitive in such a way that only the uppercase variants do something; it appears from your examples that the lowercase versions do nothing.

              X 1 Reply Last reply Nov 5, 2022, 5:43 PM Reply Quote 1
              • X
                xomx @Alan Kilborn
                last edited by Nov 5, 2022, 5:43 PM

                @PeterJones
                @Alan-Kilborn

                https://nsis.sourceforge.io/Which_command_line_parameters_can_be_used_to_configure_installers%3F

                So there is a “glue code in .onInit” possibility to overcome this sensitivity. But this needs a PR.

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