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
Trouble upgrading notepad++ using winget #10277
Labels
Comments
Related: #8514 |
Related: #10189 |
Notepad++ is not in Windows Store. The one on Windows store IS NOT Notepad++ official release. |
Hes not talking about the unofficial Windows Store version, the winget-pkgs repo just contain installers (exe's, appxbundle, msix etc) |
donho
pushed a commit
that referenced
this issue
Oct 27, 2023
When Notepad++ installer with the '/S' optional param is used while a previously installed Notepad++ instance is running, it does not update the locked main 'notepad++.exe' binary, but the installer still reports success (exit code == 0, regkeys actualized according to the installer version used...). Moreover - because the installation/upgrade then looks like it is done, some automatic update services like winget cannot be used until a next N++ version is released (winget erroneously reports that the current version is already installed...). The fix consist to set error code and quit installer, when installer in silent mode, and there's an instance of Notepad++ open. Fix #10189, fix #10277, fix #22514, fix #14236, fix partially #8514, close #14251
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the Issue
I want to use winget to upgrade notepad++. There is a problem, if notepad++ is open when the winget command is run, it doesn't upgrade, but winget reports that it has upgraded successfully.
Steps to Reproduce the Issue
Output
Found Notepad++ [Notepad++.Notepad++]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.2/npp.8.1.2.Installer.x64.exe
Successfully verified installer hash
Starting package install...
Successfully installed
Expected Behavior
For notepad++ installer to have alerted that the application was open, and to ask to close it before the installation continues.
This is the functionality with WinSCP
Actual Behavior
It appears to be installed, and running : "winget list notepad++"
Name Id Version
Notepad++ Notepad++.Notepad++ 8.1.2
Winget thinks the latest version is installed.
But when you check "?" "About Notepad++" , it still shows the old version v8.1.1
Debug Information
See winget ticket: microsoft/winget-pkgs#22514
The text was updated successfully, but these errors were encountered: