notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Feature request] Make the updater/installer more intelligent ...
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
- Notepad ++ is installed locally.
- Open a portable installation notepad ++.exe.
- Update portable Notepad ++ installation via the integrated updater.
- The updater wants first to update the LOCAL installation.
Describe the solution you'd like.
The updater/installer is examining and noticing where it comes from what path. (in Background)
The updater/installer checks whether it is a portable installation. (in Background)
The Updater/installer checks whether he has a write-back in the installation location. (in Background)
- If so: no admin request
- if not: admin-requesting:
If the update/installer asks for admin rights:
there is no way to select your own user account - for example for the portable installation. - but it should.
then updater/installer should show the user the path where he wants to install.
In the portable installation:
the user config files should are all in a subdirectory.
(or do it via cloud - but then it must be accept relative-path for portable installations).
The updater/installer install in the portable installation folder.
The updater/installer respects users own settings.
Debug Information
Notepad++ v8.7.4 (32-bit)
Build time : Dec 4 2024 - 23:47:50
Path : C:\Users\user\Desktop\npp.8.7.4.portable org\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
DirectWrite : ON
Multi-instance Mode : multiInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 10 (64-bit)
OS Version : 22H2
OS Build : 19045.5737
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the portable-installation scenario described for C:\Users\user\Desktop\npp.8.7.4.portable org\notepad++.exe, then trace the integrated updater and installer behavior. Done means the updater identifies the portable installation, targets its installation folder and configuration, and handles write access or account selection as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100