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

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

      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. 

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes