Community
    • Login

    How to silently deploy v8.4.x

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 50.5k Views 3 Watching
    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.
    • Frédéric GagnéF Offline
      Frédéric Gagné
      last edited by

      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!

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Frédéric Gagné
        last edited by

        @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.”

        Frédéric GagnéF 1 Reply Last reply Reply Quote 1
        • Frédéric GagnéF Offline
          Frédéric Gagné @PeterJones
          last edited by

          @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!

          Alan KilbornA 1 Reply Last reply Reply Quote 1
          • Alan KilbornA Offline
            Alan Kilborn @Frédéric Gagné
            last edited by

            @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 ?

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • PeterJonesP Offline
              PeterJones @Alan Kilborn
              last edited by PeterJones

              @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.

              Alan KilbornA 1 Reply Last reply Reply Quote 1
              • Alan KilbornA Offline
                Alan Kilborn @PeterJones
                last edited by

                @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.

                xomxX 1 Reply Last reply Reply Quote 1
                • xomxX Offline
                  xomx @Alan Kilborn
                  last edited by

                  @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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors