How to silently deploy v8.4.x
-
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!
-
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 /Scorrectly installed Notepad++ inC:\Program Files\Notepad++without any user prompts. If I uninstalled that one, and rannpp.8.4.6.Installer.x64.exe /S /D=C:\NotepadPlusPlus, it correctly installed it intoC:\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.”
-
@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!
-
@Frédéric-Gagné said in How to silently deploy v8.4.x:
/s
/S
Are you saying the case of the
smatters, that is, has different effect if lowercasesis used versus uppercaseS? -
@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:
/sprompted for language/etc, whereas/Sdid 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:\NotepladPlusPluswas not required to get it to work. It was solely the difference betweennpp.8.4.6.Installer.x64.exe /snot being silent-install andnpp.8.4.6.Installer.x64.exe /Sworking as a silent-install. -
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. -
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.
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