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

Installer does not handle DOS-style paths correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.4.0
    • 1.3.0
    • General
    • Windows 7 64 bit
    • d8b2a67bc6cf5e20326444fed386c39f6115d90c ef45e495a3fe3077017a9dba74208363d90202e8

    Description

      1. Try installing Creator to "C:\Program Files (x86)\qtcreator-2.7.83" .
        The installer will not allow you to proceed because the path contains white spaces.
      2. Instead, enter the path "C:\Progra~2\qtcreator-2.7.83".
        This is the same path using the 8.3 representation of the parent directory. The Installer will allow you to proceed.
      3. Click "Next" and "Install" until the actual installation starts.
        Creator will show an error message: "Konnte Einstellungen des Installers nicht nach C:\Program Files (x86)\qtcreator-2.7.83/QtCreatorUninst.ini schreiben. Fehlermeldung: Zugriffsfehler" and cancels the installation.

      The best solution would be if the Installer and Creator itself could handle such paths completely. If this is not possible, the Installer should check if the long filename of an 8.3 representation contains illegal characters and deny the path if it does.
      A minimum workaround would be to not allow any tilde "~" in paths on Windows.

      Attachments

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

        Activity

          People

            nath Niels Weber
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes