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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 3.2.2
    • Fix Version/s: 4.1.0
    • Component/s: Scripting
    • Labels:
      None
    • Environment:
      MacOS and Windows 10.
    • Platform/s:
      macOS, Windows

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes