-
Notifications
You must be signed in to change notification settings - Fork 166
Description
The problem
Hi there,
I wanted to report an issue with WAU attempting to apply updates to any of the JetBrains IDEs (we use PyCharm, IntelliJ IDEA, WebStorm, and RubyMine; this issue applies to all of them). These IDEs seem to install a new version and leave the old in place. For example, after running WAU, PyCharm is available in both "C:\Program Files\JetBrains\PyCharm 2025.1.3.1" and "C:\Program Files\JetBrains\PyCharm 2025.2.0.1".
Using PyCharm as an example, WAU attempts to download the new update, starts the uninstaller for the old version of PyCharm (which is not silent and requires user interaction to proceed), immediately views the uninstall attempt as successful even though nothing has happened, and at the same time starts the installer for the new version. If no user is logged in or the user does not respond to the uninstall prompt, the installation proceeds and returns code 1223 when finished. Because this is detected as a failure, it then tries to do an install rather than an update. The installer downloads again, and when it runs it pops up an error box that says the folder it's attempting to install to is not empty. If there is no user logged in, this message box stays open indefinitely and WAU will not proceed with any remaining updates.
I don't know if mods can be used to issue a custom uninstall command for a program prior to the update attempt. If so, this may fix the problem. If not, I'm not sure what else can be done about this problem at this time other than including these programs as a part of the blocklist. Any ideas or thoughts would be appreciated.
What version of WAU has the issue?
2.70
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 24H2
What version of winget are you using?
1.26.429.0
Log information
08:30:15 - Updating PyCharm 2025.1.3.1 from 2025.1.3.1 to 2025.2.0.1...
08:30:15 - ########## WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'JetBrains.PyCharm' ##########
08:30:15 - -> Running: Winget upgrade --id JetBrains.PyCharm -e --accept-package-agreements --accept-source-agreements -s winget -h
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 5.01 MB
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 5.01 MB
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 3.00 MB / 5.01 MB
███████████████████████▒▒▒▒▒▒▒ 4.00 MB / 5.01 MB
█████████████████████████████▒ 5.00 MB / 5.01 MB
██████████████████████████████ 5.01 MB / 5.01 MB
Found PyCharm [JetBrains.PyCharm] Version 2025.2.0.1
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.jetbrains.com/python/pycharm-2025.2.0.1.exe
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 979 MB
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 32.0 MB / 979 MB
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 74.0 MB / 979 MB
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 113 MB / 979 MB
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 143 MB / 979 MB
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 173 MB / 979 MB
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 214 MB / 979 MB
████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 261 MB / 979 MB
████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 287 MB / 979 MB
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 329 MB / 979 MB
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 366 MB / 979 MB
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 412 MB / 979 MB
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 450 MB / 979 MB
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 479 MB / 979 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 520 MB / 979 MB
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 559 MB / 979 MB
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 602 MB / 979 MB
███████████████████▒▒▒▒▒▒▒▒▒▒▒ 625 MB / 979 MB
████████████████████▒▒▒▒▒▒▒▒▒▒ 662 MB / 979 MB
█████████████████████▒▒▒▒▒▒▒▒▒ 695 MB / 979 MB
██████████████████████▒▒▒▒▒▒▒▒ 740 MB / 979 MB
███████████████████████▒▒▒▒▒▒▒ 774 MB / 979 MB
████████████████████████▒▒▒▒▒▒ 813 MB / 979 MB
█████████████████████████▒▒▒▒▒ 841 MB / 979 MB
██████████████████████████▒▒▒▒ 880 MB / 979 MB
███████████████████████████▒▒▒ 912 MB / 979 MB
████████████████████████████▒▒ 934 MB / 979 MB
█████████████████████████████▒ 956 MB / 979 MB
██████████████████████████████ 979 MB / 979 MB
Successfully verified installer hash
Starting package uninstall...
Successfully uninstalled
Starting package install...
Successfully installed
08:33:42 - -> An upgrade for PyCharm 2025.1.3.1 failed, now trying an install instead... (1/2)
08:33:42 - -> Running: Winget install --id JetBrains.PyCharm -e --accept-package-agreements --accept-source-agreements -s winget --force -h
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 5.01 MB
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 5.01 MB
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 3.00 MB / 5.01 MB
███████████████████████▒▒▒▒▒▒▒ 4.00 MB / 5.01 MB
█████████████████████████████▒ 5.00 MB / 5.01 MB
██████████████████████████████ 5.01 MB / 5.01 MB
Found PyCharm [JetBrains.PyCharm] Version 2025.2.0.1
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.jetbrains.com/python/pycharm-2025.2.0.1.exe
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 5.00 MB / 979 MB
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 52.0 MB / 979 MB
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 93.0 MB / 979 MB
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 121 MB / 979 MB
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 177 MB / 979 MB
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 218 MB / 979 MB
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 247 MB / 979 MB
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 257 MB / 979 MB
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 309 MB / 979 MB
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 349 MB / 979 MB
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 394 MB / 979 MB
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 413 MB / 979 MB
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 446 MB / 979 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 496 MB / 979 MB
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 539 MB / 979 MB
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 575 MB / 979 MB
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 594 MB / 979 MB
███████████████████▒▒▒▒▒▒▒▒▒▒▒ 644 MB / 979 MB
████████████████████▒▒▒▒▒▒▒▒▒▒ 685 MB / 979 MB
██████████████████████▒▒▒▒▒▒▒▒ 727 MB / 979 MB
███████████████████████▒▒▒▒▒▒▒ 755 MB / 979 MB
███████████████████████▒▒▒▒▒▒▒ 782 MB / 979 MB
█████████████████████████▒▒▒▒▒ 820 MB / 979 MB
█████████████████████████▒▒▒▒▒ 848 MB / 979 MB
███████████████████████████▒▒▒ 886 MB / 979 MB
███████████████████████████▒▒▒ 913 MB / 979 MB
█████████████████████████████▒ 960 MB / 979 MB
██████████████████████████████ 979 MB / 979 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1223
Installer log is available at: C:\Windows\TEMP\WinGet\defaultState\WinGet-JetBrains.PyCharm.2025.2.0.1-2025-08-20-08-34-40.953.log
08:35:25 - -> An upgrade for PyCharm 2025.1.3.1 failed, now trying an install instead... (2/2)
08:35:25 - -> Running: Winget install --id JetBrains.PyCharm -e --accept-package-agreements --accept-source-agreements -s winget --force -h
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 5.01 MB
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 5.01 MB
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 3.00 MB / 5.01 MB
███████████████████████▒▒▒▒▒▒▒ 4.00 MB / 5.01 MB
█████████████████████████████▒ 5.00 MB / 5.01 MB
██████████████████████████████ 5.01 MB / 5.01 MB
Found PyCharm [JetBrains.PyCharm] Version 2025.2.0.1
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: 1223
Installer log is available at: C:\Windows\TEMP\WinGet\defaultState\WinGet-JetBrains.PyCharm.2025.2.0.1-2025-08-20-08-35-29.045.log
08:35:44 - ########## WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'JetBrains.PyCharm' ##########
08:35:45 - PyCharm 2025.1.3.1 update failed.
Additional information
No response