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

IFW Installer QML type should have a writeFile method and ReadFile operation

    XMLWordPrintable

Details

    Description

      Use case is to be able to write log files to capture the output of certain installer steps, like installing redistributable libs or running tests that check the installed software is
      working.

      There is the AppendFile operation, but operations apparently can't be used post-install, as they hang the installer process.

      There is the AppendFile operation, but no ReadFile operation. So for example, to check the PATH defined in my .bashrc file and update it, I end up doing installer.readFile, followed by
      installer.performOperation("AppendFile").

      Documentation should mention, that installer.performOperation cannot be used for post-install operations.

      Attachments

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

        Activity

          People

            installerteam Installer Team
            karimpinter Karim Pinter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes