Skip to content

Make install/update easy & quiet#15280

Closed
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:make_update_easy_quiet
Closed

Make install/update easy & quiet#15280
donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
donho:make_update_easy_quiet

Conversation

@donho
Copy link
Copy Markdown
Member

@donho donho commented Jun 13, 2024

Add command line parameter "/runNppAfterSilentInstall" for Notepad++ installer. This parameter launches installed Notepad++ after silent installation. Of course, the parameter takes effect only when "/S" (silent installation) is used.

Fix partially #8514, follow up #15230

Add command line parameter "/runNppAfterSilentInstall" for Notepad++ installer.
This parameter launches installed Notepad++ after silent installation.
Of course, the parameter takes effect only when "/S" (silent installation) is used.

Fix partially notepad-plus-plus#8514, follow up notepad-plus-plus#15230
@xstaindx
Copy link
Copy Markdown

xstaindx commented Jul 22, 2024

If I was to deploy this version of your software with automation tools that use SYSTEM for the install with these new comamndl ines, would these launch the software in the SYSTEM context after install in Session 0 or would it be launched into the logged on user in Session 1? I would think if it eneded up being session 0 that would be bad.

@donho
Copy link
Copy Markdown
Member Author

donho commented Jul 22, 2024

No idea about concept of session 0 or of session 1.
It's launched under the accound of user.

@xstaindx
Copy link
Copy Markdown

I would strongly suggest that you do not allow a silent install to launch in the context of the user who installed it if the installation is SYSTEM. (like through tools such as SCCM, BIGFIX, Tanium or others) You end up leaving an open session that a user cannot access that has SYSTEM rights, nor can user see or interact with.

@xstaindx
Copy link
Copy Markdown

No idea about concept of session 0 or of session 1. It's launched under the accound of user.

https://techcommunity.microsoft.com/t5/ask-the-performance-team/sessions-desktops-and-windows-stations/ba-p/372473

@schenardie
Copy link
Copy Markdown

Is there a way that /runNppAfterSilentInstall will only run if /closeRunningNpp is also called? I would like to automatically re-open npp only if the installation closed it, but if it was already closed it should not open it.

@xomx
Copy link
Copy Markdown
Contributor

xomx commented Jun 20, 2025

@schenardie

I would like to automatically re-open npp only if the installation closed it, but if it was already closed it should not open it.

In the upcoming N++ version, there will be new installer param /relaunchNppAfterSilentInstall for it (for details check the current PR #16626 which added option to auto-update N++ also at its exit)

donho pushed a commit that referenced this pull request Jun 21, 2025
And add `/relaunchNppAfterSilentInstall` into installer (ref: #15280 (comment))

Fix #16601, fix #13749, fix #10317, fix #8495, fix #8457, fix #3755, close #16626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants