GUP asking for elevated privileges even when called from Notepad++ portable
Hi we´re using Notepad++ portable installations within our company. The GUP.exe is asking for elevated rights to update from any given version to the lastest. My request is to make a) GUP aware of portable versions b) upgrading/replacing portable Notepad++ by the latest version of portable Notepad++ without asking for elevated privileges.
Best Thorsten
If I do understand, your request is "GUP aware of portable versions, then it doesn't elevated privileges". If it is, then I can say that GUp doesn't elevated privileges - Notepad++ installer is. So it's not a GUp issue.
ok - do I understand correctly - Notepad++ portable is calling GUP which is updating to Notepad++ "non-portable" and that's why elevated rights are required?
In any case: it´s a weir user experience starting an update from a portable version - which doesn't need elevated rights do end into a request for elevated rights (which many portable users doesn't have)...
Best Thorsten
ok - do I understand correctly - Notepad++ portable is calling GUP which is updating to Notepad++ "non-portable" and that's why elevated rights are required?
It's rather the installer deals with both portable & non-portable mode.
In any case: it´s a weir user experience starting an update from a portable version - which doesn't need elevated rights do end into a request for elevated rights (which many portable users doesn't have)...
But since the installer deal with 2 modes, it has to be "packaged" with elevating rights capacity - there's no way, in NSIS script, to elevate the right dynamically.
Not sure why the installer has to deal with 2 modes - the portable version just needs to "unpack"/replace the files in the directory where the old portable version was located. Such shouldn't need elevated rights...