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

Qt Installer 4.6.1 : It is not possible to perform an operation with administrator rights using the 'Consume Output' option.

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.6.1
    • Tools
    • None
    • Qt Installer 4.6.1 : It is not possible to perform an operation with administrator rights using the 'Consume Output' option.
    • Windows

    Description

      When I attempt to perform an ElevatedOperation with this code:

      component.addElevatedOperation("ConsumeOutput", ["openSSHInstalled","powershell.exe", "& \"" +Dir.toNativeSeparator("@TargetDir@/scripts/installOpenSSHServer.ps1")+ "\""]);

      The script runs without elevated rights (Unexpected behavior). With the 'Execute' option, everything works, but I do not receive the output of the scripts(Expected behavior).

      Attachments

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

        Activity

          People

            installerteam Installer Team
            juze2207 Filipe Lopes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes