Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42311

Make the online installer more robust against silly user errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.4.0 Beta
    • Packaging & Installer
    • None
    • Windows 8.1 x64

    Description

      Background
      I just tried upgrading Qt Creator 3.1.1 to 3.1.2. Unfortunately, I forgot to close Creator before performing the upgrade.

      As a result (I think), I got the following message:

      Error during installation process (qt.tools.qtcreator):
      Error while extracting 'installer://qt.tools.qtcreator/3.1.2-0qt-creator-opensource-vs2010-32.7z': internal code: E_FAIL

      I clicked "Retry" and got the same message. So, I clicked "Ignore" and the process finished.

      Issue
      The Maintenance Tool now thinks that I have Qt Creator 3.1.2 installed. However, Qt/Tools/QtCreator/bin/ contained no binaries.

      Furthermore, since Qt Creator is a compulsory component, the Maintenance Tool would not let me uninstall it.

      I had no way to forcibly reinstall Qt Creator. My only option was to uninstall and reinstall the entire SDK (including the libraries and MinGW).

      Suggestion
      Protect against mistakes like mine, which are silly but easily done.

      Perhaps check that Qt Creator is not running (many other installers do this), or roll back if the process fails.

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            jksh Sze Howe Koh
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes