Closed chaimabouzaidi closed 11 months ago
@chaimabouzaidi thank you for reporting this and all of the details.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.
Chocolatey Version
Other (note in the comments)
Chocolatey License
None
Package Version
2022.3.3 > 2023.1
Current Behaviour
I would like to point out that the Webstorm package uninstallation script (and therefore the Upgrade) does not work as expected. The current behavior is that when upgrading from an older version to a newer one, the new version is installed but the old one is not uninstalled which will occupy more disk memory. The cause is most probably with the "$softwareName" variable in ChocolateyUnInstall.ps1. It needs to be changed from $softwareName = 'JetBrains WebStorm' to $softwareName = 'WebStorm' since [array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName will return no output with $softwareName = 'JetBrains WebStorm*' and therefore UninstallString will be empty.
Expected Behaviour
No response
Steps To Reproduce
Environment
Chocolatey Log
Anything else?
No response