Skip to content

[BUG] Close Apps doesn't save/use the process name given #5161

Description

@luc0x61

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

2026.2.5

Windows version, edition, and architecture

Windows 11 Pro 25H2 x64

Describe your issue

I have an application (Executor, a launcher) that needs to be closed before update.
I tried modifying the Installation options, but the interface remembers only the "Try to kill" button state, and not the process name given (in my case "Executor.exe").
The upgrade never succeeds, unless I manually close the application first.

Steps to reproduce the issue

  1. Install a non-latest release of Executor from http://executor.dk ; make sure the application is running
  2. Scan with UniGetUI for updates
  3. Modify the Executor application installation options, in the Close Apps tab add the process name Executor.exe ; click Save or Save/Close
  4. Start the update of the above application: it will then fail, since the application was still running

UniGetUI Log

Package update operation for Package=MartinBresson.Executor with Manager=Winget
Update options: <InstallOptions instance (only non-default values are shown)
	OverridesNextLevelOpts: True>
Overriden options: <Scope=;RunAsAdministrator=True;WG_SpecifyVersion=;PS_NoScope=False;Pip_BreakSystemPackages=False;WG_DropArchAndScope=False>
Version: 2.3.9 -> 2.3.10
Starting operation...
Executing process with StartInfo:
 - FileName: "C:\Program Files\WingetUI\Assets\Utilities\UniGetUI Elevator.exe"
 - Arguments: ""C:\Users\****\AppData\Local\Microsoft\WindowsApps\winget.exe"  update --id "MartinBresson.Executor" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force"
Start Time: "21/07/2026 08:56:35"
Found Executor [MartinBresson.Executor] Version 2.3.10
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1
Installer log is available at: C:\Users\****\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\MartinBresson.Executor.2.3.10-26-07-21-08-56-38.log
End Time: "21/07/2026 08:56:38"
Process return value: "-1978335226" (0x8A150006)
Executor could not be updated

Package Managers Logs

Manager WinGet with version:
System WinGet (CLI) Version: v1.29.280
Using Native WinGet helper (COM Api)
Activation mode: packaged COM registration
Activation source: system COM registration

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 21/07/2026 08:21:58
Process end time:   21/07/2026 08:21:58

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 21/07/2026 08:22:01
Process end time:   21/07/2026 08:22:05

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 21/07/2026 08:22:01
Process end time:   21/07/2026 08:22:04

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\****\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 21/07/2026 08:22:01
Process end time:   21/07/2026 08:22:02

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 21/07/2026 08:22:02
Process end time:   21/07/2026 08:22:05

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 21/07/2026 08:22:36
Process end time:   21/07/2026 08:22:38

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 21/07/2026 08:22:36
Process end time:   21/07/2026 08:22:38

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is FindPackages
Process start time: 21/07/2026 08:23:29
Process end time:   21/07/2026 08:23:31

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is FindPackages
Process start time: 21/07/2026 08:24:33
Process end time:   21/07/2026 08:24:35

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageDetails
Process start time: 21/07/2026 08:26:25
Process end time:   21/07/2026 08:26:26

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:26:25
Process end time:   21/07/2026 08:26:25

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:26:41
Process end time:   21/07/2026 08:26:41

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:27:21
Process end time:   21/07/2026 08:27:21

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is FindPackages
Process start time: 21/07/2026 08:28:37
Process end time:   21/07/2026 08:28:52

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is FindPackages
Process start time: 21/07/2026 08:31:22
Process end time:   21/07/2026 08:31:25

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageDetails
Process start time: 21/07/2026 08:33:14
Process end time:   21/07/2026 08:33:15

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:33:14
Process end time:   21/07/2026 08:33:14

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:34:32
Process end time:   21/07/2026 08:34:32

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:35:03
Process end time:   21/07/2026 08:35:03

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:35:59
Process end time:   21/07/2026 08:35:59

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:36:51
Process end time:   21/07/2026 08:36:51

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageDetails
Process start time: 21/07/2026 08:38:06
Process end time:   21/07/2026 08:38:08

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:38:06
Process end time:   21/07/2026 08:38:06

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:38:47
Process end time:   21/07/2026 08:38:47

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 21/07/2026 08:39:07
Process end time:   21/07/2026 08:39:11

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 21/07/2026 08:39:07
Process end time:   21/07/2026 08:39:10

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\****\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 21/07/2026 08:39:13
Process end time:   21/07/2026 08:39:14

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 21/07/2026 08:39:14
Process end time:   21/07/2026 08:39:15

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageDetails
Process start time: 21/07/2026 08:39:52
Process end time:   21/07/2026 08:39:53

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:39:52
Process end time:   21/07/2026 08:39:52

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:40:41
Process end time:   21/07/2026 08:40:41

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:41:33
Process end time:   21/07/2026 08:41:33

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:44:30
Process end time:   21/07/2026 08:44:30

-- Task information
 ...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is LoadPackageVersions
Process start time: 21/07/2026 08:48:22
Process end time:   21/07/2026 08:48:22

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions