Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Installation as local user (with admin privileges) #15182

Open
1 task done
treysis opened this issue May 23, 2024 · 0 comments
Open
1 task done

[Feature request] Installation as local user (with admin privileges) #15182

treysis opened this issue May 23, 2024 · 0 comments

Comments

@treysis
Copy link

treysis commented May 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Currently, installation of Notepad++ requires access rights elevation (i.e. running as admin user) and sparks a UAC prompt. This requires that the admin first of all trusts the installer, but also prevents installation for users without admin rights. Running a portable version is not a good workaround, as it limits the capability of swift security updates and lacks explorer (right-click) integration.

There were some similar feature requests in the past, but I think it is time to revisit:
#388
#3425

I believe today the stance has changed so that app installations on a per-user level are a common thing. Especially since Microsoft Store with its app became more famous and moreover with the launch of Windows Package Manager (a.k.a. winget) and its success among users allowing a user install of Notepad++ is a valid request.

Describe the solution you'd like.

I am not exactly sure what options NSIS offers, but I can think of the following solutions:

  1. commandline switch
  2. spawn UAC prompt and fall back to per-user install if no elevated privileges are granted

Generally, per-user installs should go into %LocalAppData%\Notepad++

Debug Information

(none)

Anything else?

No response

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

No branches or pull requests

1 participant