Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. I cant get standart output via ConsumeOutput operaton in qt installer framework

I cant get standart output via ConsumeOutput operaton in qt installer framework

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 302 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikhail Rubezh
    wrote on last edited by
    #1

    ConsumeOutput operaton isn’t working, I can’t figure out a mistake. installer.value("JAVA_GUID") return empty string instead of the standard output, but with installer.execute() all work fine.

    component.addElevatedOperation("ConsumeOutput","JAVA_GUID", "powershell.exe",
                ${FSNT_HOME}\\GetGUIDfromMSI.ps1,
                ${FSNT_HOME}\\bellsoft-jre17.0.3.1+2-windows-amd64.msi);
            console.log(JAVA_GUID - ${installer.value("JAVA_GUID")});
    
    F 1 Reply Last reply
    0
    • M Mikhail Rubezh

      ConsumeOutput operaton isn’t working, I can’t figure out a mistake. installer.value("JAVA_GUID") return empty string instead of the standard output, but with installer.execute() all work fine.

      component.addElevatedOperation("ConsumeOutput","JAVA_GUID", "powershell.exe",
                  ${FSNT_HOME}\\GetGUIDfromMSI.ps1,
                  ${FSNT_HOME}\\bellsoft-jre17.0.3.1+2-windows-amd64.msi);
              console.log(JAVA_GUID - ${installer.value("JAVA_GUID")});
      
      F Offline
      F Offline
      filipe7
      wrote on last edited by
      #2

      @Mikhail-Rubezh you found any solution ?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved