I cant get standart output via ConsumeOutput operaton in qt installer framework
Unsolved
Installation and Deployment
-
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")});
-
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")});
@Mikhail-Rubezh you found any solution ?