Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
3.0.4, 3.1.1, 3.2.2, 4.5.0, 4.6.0
-
Windows 10 64-Bit
Qt 5.9.4 - MSVC2015 32 bit
Qt Framework 3.0.4
Update Nov. 28th, 2023.
Win 11 64-bit + Qt 6.5.3 MSVC + QTIFW 4.5/4.6
-
ff5df69f6 (master)
-
Qt Installer Sprint 92
Description
During complete removal of the components, the installer prompt an error popup and fails in removing system environment variables created during installation.
The code in the component script is:
component.addElevatedOperation("EnvironmentVariable", "QT_PLUGIN_PATH", "@TargetDir@\\lib\\system\\qt
plugins", true, true);
and running the uninstall with -v option, it gives:
[3929] undo operation= "EnvironmentVariable"
[3929] undo lib.system.qt operation: EnvironmentVariable
[3929] - arguments: QT_PLUGIN_PATH, C:/EPC_Test/lib/system/qt/plugins, true, true
[3931] Done
[3931] Created warning message box "installationErrorWithRetry": "Installer Error", "Error during uninstallation process:\n"
Attachments
For Gerrit Dashboard: QTIFW-1148 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
276938,7 | Fix env variable remove on Windows | 3.1 | installer-framework/installer-framework | Status: MERGED | +2 | 0 |
525340,3 | Fix EnvironmentVariable undo | master | installer-framework/installer-framework | Status: MERGED | +2 | 0 |