XnView: MP 1.10.5.0 x64
OS: Windows 64bit
Failure to update as Exiftool.exe still running
Effect: As it is a non-interactive update the error code doesn't just kill the running instances or explain what occurred. However the logfile does
display what was the cause.
To reproduce:
1. Have xnview exiftool.exe still running
2. execute: winget update XnSoft.XnViewMP
3. Exists with code 5
Starting package install...
You cancelled the installation.
Installer failed with exit code: 5
CMDLINE LOG
DEV winget update XnSoft.XnViewMP
Found XnView MP [XnSoft.XnViewMP] Version 1.11.2.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.xnview.com/old_version ... in-x64.exe
██████████████████████████████ 56.5 MB / 56.5 MB
Successfully verified installer hash
Starting package install...
You cancelled the installation.
Installer failed with exit code: 5
Installer log is available at: C:\Users\john\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\XnSoft.XnViewMP.1.11.2.0-26-05-01-17-16-10.log
DEV ps exiftool
NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName
------ ----- ----- ------ -- -- -----------
9 20.42 7.96 2,402.84 37388 1 exiftool
10 131.81 8.28 2,401.03 37644 1 exiftool
DEV ps exiftool | kill
DEV winget update XnSoft.XnViewMP
Found XnView MP [XnSoft.XnViewMP] Version 1.11.2.0
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...
Successfully installed
WINGET INSTALL LOG
2026-05-01 17:16:26.267 Installing the file.
2026-05-01 17:16:26.275 Successfully installed the file.
2026-05-01 17:16:26.275 -- File entry --
2026-05-01 17:16:26.275 Dest filename: C:\Program Files\XnViewMP\AddOn\exiftool.exe
2026-05-01 17:16:26.275 Time stamp of our file: 2026-02-23 09:46:04.000
2026-05-01 17:16:26.275 Dest file exists.
2026-05-01 17:16:26.275 Time stamp of existing file: 2026-02-23 08:46:04.000
2026-05-01 17:16:26.275 Installing the file.
2026-05-01 17:16:26.278 DeleteFile: The existing file appears to be in use (5). Retrying.
2026-05-01 17:16:27.283 DeleteFile: The existing file appears to be in use (5). Retrying.
2026-05-01 17:16:28.292 DeleteFile: The existing file appears to be in use (5). Retrying.
2026-05-01 17:16:29.303 DeleteFile: The existing file appears to be in use (5). Retrying.
2026-05-01 17:16:30.315 Defaulting to Abort for suppressed message box (Abort/Retry/Ignore):
C:\Program Files\XnViewMP\AddOn\exiftool.exe
An error occurred while trying to replace the existing file:
DeleteFile failed; code 5.
Access is denied.
2026-05-01 17:16:30.315 User canceled the installation process.
2026-05-01 17:16:30.315 Rolling back changes.
2026-05-01 17:16:30.347 Starting the uninstallation process.
2026-05-01 17:16:30.347 Deleting file: C:\Program Files\XnViewMP\dav1d.dll
2026-05-01 17:16:30.349 Uninstallation process succeeded.
2026-05-01 17:16:31.852 Deinitializing Setup.
2026-05-01 17:16:32.310 Log closed.
winget update XnSoft.XnViewMP
Moderators: xnview, Dreamer
-
xnview
- Author of XnView
- Posts: 47688
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
jkm
- Posts: 486
- Joined: Sat May 11, 2024 12:43 am
Re: winget update XnSoft.XnViewMP
The exiftool.exe file is in use because it is running (probably because of a crash or abnormal app termination) and therefore can’t be replaced.
Kill the process and then run the install.
Kill the process and then run the install.