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

Maintenece tool is unable to undo "Extract" operations to custom directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 4.1.0
    • 3.2.2
    • Scripting
    • None
    • MacOS and Windows 10.
    • macOS, Windows

      The maintenance tool fails to remove packages that are extracted to custom directory. This bug can be reproduced using Qt Installer Framework examples, specifically "Modify Extract Installer Example".

       

      Actual Result:

      Notice the duplicate directory name in the path `extractToAnotherPath/extractToAnotherPath` 

       

      [27443] undo operation= "Extract"[27443] undo operation= "Extract"[27443] undo org.qtproject.ifw.example.modifyextract operation: Extract[27443]  - arguments: installer://org.qtproject.ifw.example.modifyextract/1.0.1my_content.7z, /Users/xxxx/IfwExamples/modifyextract/extractToAnotherPath[27444] Warning: Cannot open file  "/Users/xxxx/IfwExamples/modifyextract/extractToAnotherPath/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt"  for reading: "No such file or directory" . Component is already uninstalled  or file is manually deleted.[27444] Warning: Cannot remove data file "/Users/xxxx/IfwExamples/modifyextract/extractToAnotherPath/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt"
      

       

      Expected Result:

      The maintenance tool is able to locate the expected `*.txt` files.

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

            installerteam Installer Team
            algadhib Mohammed Algadhib
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes