Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2479

Windows: uninstalling via control panel / "Uninstall or change a program" doesn't work when install dir contains spaces

XMLWordPrintable

    • Windows
    • Qt Installer Sprint 49, Qt Installer Sprint 60

      The "UninstallString" entry in Windows registry gets the path to maintenancetool as a value. However, the value is not wrapped in quotes which seems to cause troubles with paths containing spaces when launching maintenancetool via control panel / "uninstall or change a program" in an attempt to delete the application.

      This problem doesn't seem to occur on all Windows 10 versions. This was tested on:

      • 1803 => OK
      • 1909 => OK
      • 20H2 => NOK

      To reproduce the problem:

      1. build the "tutorial" example included with IFW
      2. install in e.g. C:\Program Files (x86)\test
      3. attempt to uninstall via control panel / "Uninstall or change a program"

      Update: "ModifyPath" is likewise missing the quotation marks which would cause a similar problem when attempting to modify.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            arttu.tarkiainen Arttu Tarkiainen
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes