Skip to content

Trouble upgrading notepad++ using winget #10277

@scadden365

Description

@scadden365

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

  1. open notepad++
  2. run "winget upgrade notepad++" from windows terminal
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions