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
Describe the bug
The qtcreator package does not uninstall or update properly. When uninstalling, files belonging to the package remain in C:\tools\qtcreator, and files from an old version can cause problems after a package upgrade.
To Reproduce
Steps to reproduce the behavior:
Install previous version of the qtcreator package: choco install -y --version=7.0.2 qtcreator
start Qt Creator, e.g. from the start menu -> all OK
close Qt Creator again
upgrade to the current package version (currently 8.0.0): choco upgrade -y qtcreator
start Qt Creator again
Result: A dialog shows up, saying that a plugin failed to load, and the details section lists plugins that have the version number of the previously installed Qt Creator version as dependencies that failed to load:
Expected behavior
Qt Creator should start without showing any error message.
Desktop (please complete the following information):
The problem does not appear when uninstalling qtcreator, manually deleting C:\tools\qtcreator and installing the new qtcreator version after that instead of doing a package upgrade. However, the uninstallation script should probably not remove the complete directory, since it also contains files of the qtcreator-cdbext package, which would otherwise get removed on upgrade of just the qtcreator package as well.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
qtcreator
package does not uninstall or update properly. When uninstalling, files belonging to the package remain inC:\tools\qtcreator
, and files from an old version can cause problems after a package upgrade.To Reproduce
Steps to reproduce the behavior:
choco install -y --version=7.0.2 qtcreator
choco upgrade -y qtcreator
Result: A dialog shows up, saying that a plugin failed to load, and the details section lists plugins that have the version number of the previously installed Qt Creator version as dependencies that failed to load:
Expected behavior
Qt Creator should start without showing any error message.
Desktop (please complete the following information):
Chocolatey Install/Uninstall log
https://gist.github.com/michaelweghorn/3cb4f561054f0f2c3a9ddb03bfffe05a
Additional context
The problem does not appear when uninstalling qtcreator, manually deleting
C:\tools\qtcreator
and installing the new qtcreator version after that instead of doing a package upgrade. However, the uninstallation script should probably not remove the complete directory, since it also contains files of theqtcreator-cdbext
package, which would otherwise get removed on upgrade of just theqtcreator
package as well.The text was updated successfully, but these errors were encountered: