Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1556 Marketplace package manager demo
  3. QTIFW-1560

Study how to handle uninstallation of marketplace extension in installer

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • None
    • General
    • All
    • Qt6 Installer Sprint 3, Qt6 Installer Sprint 4

    Description

      Study how to remove exported conan recipe from local cache when uninstalling a marketplace extension from installer.

      Way 1 (for demonstration):

      This can be done by registering an UNDO step for execute operation. An example operation might look like this, assuming "TARGET_INSTALL_DIR" points to installation path  of the component and "QtConanBinary" is set:

      component.addOperation("Execute", "workingdirectory=@TargetDir@" + TARGET_INSTALL_DIR, installer.value("QtConanBinary"), "export", ".", "qtcharts/5.12.3@qt/final", "UNDOEXECUTE", installer.value("QtConanBinary"), "remove", "-f", "qtcharts/5.12.3@qt/final");

      Way 2:

      Could be done using the operations described in QTIFW-1563. qt.tools.conan component would need to register a valid command sequence for removing exported marketplace extension from local cache.

      Attachments

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

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            arttu.tarkiainen Arttu Tarkiainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes