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

Add easy way to create installer who remove old application version before instaling new one.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.1.1
    • General
    • None
    • All

    Description

      Many people ask me "if Qt Installer Framework can update the application so that it will first uninstall the previous version and then install the new one" ?

      Example.
      1. myinstaller-1.0 create myapp-1.0.exe
      2 myinstaller-2.0 remove all files of myinstaller-1.0 and create myapp-2.0.exe

      I said it is possible, but it's complicated because it requires some changes in controlscript.js


      Disadvantages of running uninstaller in control script:

      1. The user has to enter the administrator password multiple times

      2. The uninstaller deletes files with a delay, even after the uninstaller has finished, you can still see the deleted files. This causes the problem that we don't know when the previous version uninstaller finished. It is possible that we start installing new files while deleting the old files is not finished yet

      This is a very important point when choosing an installer for your application

      Attachments

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

        Activity

          People

            installerteam Installer Team
            linusklan Krzysztof Guc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes