Make install/update easy & quiet#15280
Make install/update easy & quiet#15280donho wants to merge 1 commit intonotepad-plus-plus:masterfrom
Conversation
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
|
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. |
|
No idea about concept of session 0 or of session 1. |
|
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. |
|
|
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. |
In the upcoming N++ version, there will be new installer param |
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