notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[Feature request] Installation as local user (without admin privileges)

Open
#15,182 25 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

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:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/388
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names NSIS and the intended %LocalAppData%\Notepad++ location, but no installer files or tests. Start by reviewing the existing installer configuration and the related issues 388 and 3425; done means a supported per-user installation without admin privileges, including the requested security-update and Explorer integration behavior.

Written by the indexing model from the issue text.

Assessment

Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.