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

No way to wait for maintenancetool to finish when doing an 'auto uninstall'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 4.1.0
    • Scripting
    • Windows

    Description

      According to a previous ticket (QTIFW-1936), the maintenancetool exits early as it is running a batch tool to allow removing the actual maintenance executable during uninstall.

      This means that if run with installer.execute, execution won't wait until it's done. The proposed solution is to 'delay' and repeatedly check for the directory to be deleted (see linked ticket for code sample). 

      However, how is this delay supposed to be achieved exactly? Considering neither setTimeout/setInterval nor await/async are currently available in the scripting API. 

      Attachments

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

        Activity

          People

            installerteam Installer Team
            tvdev Mohammad Alhasni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes