microsoft / microsoft/winget-pkgs
[Package Issue]: JetBrains.IntelliJIDEA.Ultimate
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Other
Brief description of your issue
If you upgrade an existing JetBrains.IntelliJIDEA.Ultimate installation, the previous version is not removed. The uninstall of the previous version is not done silently. You will see a IntelliJ IDEA Uninstall box where you have to make choices.
According to the yaml file, the previous versions should be removed. That is not done as this box prevents the uninstall of any previous version. So, the previous version is not uninstalled.
JetBrains.IntelliJIDEA.Community has the same issue. Please, check that one also. Maybe other Jetbrains products have this issue too.
Steps to reproduce
"C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe\winget.exe" install --exact --id JetBrains.IntelliJIDEA.Ultimate --version "2023.1" --silent --accept-package-agreements --accept-source-agreements --scope machine --source winget
"C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe\winget.exe" upgrade --exact --id JetBrains.IntelliJIDEA.Ultimate --silent --accept-package-agreements --accept-source-agreements --scope machine --source winget
Install an old version and perform the upgrade to the latest version.
Actual behavior
Two - or more - old versions side by side.
Expected behavior
Silent uninstall of the previous version and installation of the latest version.
Environment
WinGet version: v1.8.1911
Screenshots and Logs
It seems that the uninstall.exe process starts another process: Un_A.exe. That process is waiting for user input.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JetBrains.IntelliJIDEA.Ultimate YAML manifest and compare JetBrains.IntelliJIDEA.Community; reproduce the issue with the supplied winget install and upgrade commands using --silent. Verify completion by checking whether the previous version is removed without the IntelliJ uninstall dialog, and check related JetBrains manifests for the same behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100