You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to upgrade ZoomIt on my device (Portable ZIP installer type). The installation failed because zoomit was already running and I got an Access Denied error
~ winget list zoomit
Name Id Version Available Source
-------------------------------------------------------------
ZoomIt Microsoft.Sysinternals.ZoomIt 8.01 9 winget
~ winget upgrade Microsoft.Sysinternals.ZoomIt
Found ZoomIt [Microsoft.Sysinternals.ZoomIt] Version 9.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.sysinternals.com/files/ZoomIt.zip
██████████████████████████████ 1.42 MB / 1.42 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
An unexpected error occurred while executing the command:
remove: Access is denied.: "C:\Users\<USER>\AppData\Local\Microsoft\WinGet\Packages\Microsoft.Sysinternals.ZoomIt_Microsoft.Winget.Source_8wekyb3d8bbwe\ZoomIt64.exe"
Installer failed with exit code: 0x8a150003 : Executing command failed
Although the installation failed, the registry entries specifically DisplayVersion was updated erroneously. This causes WinGet to believe that I'm on the latest version when I'm not
~ winget upgrade Microsoft.Sysinternals.ZoomIt
No available upgrade found.
No newer package versions are available from the configured sources.
~ winget list zoomit
Name Id Version Source
----------------------------------------------------
ZoomIt Microsoft.Sysinternals.ZoomIt 9.0 winget
Steps to reproduce
Install a portable / ZIP portable (i.e., WinGet is acting as the logical installer & responsible for ARP entries)
Installation fails
Expected behavior
Updating registry entries should be transaction based i.e., if the installation fails they should be rolled back to previous values. Or they should be updated only when the installation is reported to be successful
Actual behavior
DisplayVersion updated even though the package was not updated
Logs
Generated logs by manually changing DisplayVersion and then trying the upgrade command again
mdanish-kh
changed the title
Registry keys updated before ZIP installation was successful
Registry keys updated before portable installation was successful
Feb 10, 2025
Brief description of your issue
I was trying to upgrade ZoomIt on my device (Portable ZIP installer type). The installation failed because zoomit was already running and I got an
Access Denied
errorAlthough the installation failed, the registry entries specifically
DisplayVersion
was updated erroneously. This causes WinGet to believe that I'm on the latest version when I'm notSteps to reproduce
Expected behavior
Updating registry entries should be transaction based i.e., if the installation fails they should be rolled back to previous values. Or they should be updated only when the installation is reported to be successful
Actual behavior
DisplayVersion
updated even though the package was not updatedLogs
Generated logs by manually changing DisplayVersion and then trying the upgrade command again
WinGet-2025-02-07-14-55-31.718.log
Environment
The text was updated successfully, but these errors were encountered: