I cant get standart output via ConsumeOutput operaton in qt installer framework
Unsolved
Installation and Deployment
-
wrote on 17 Dec 2022, 16:06 last edited by
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")});
wrote on 17 Nov 2023, 15:04 last edited by@Mikhail-Rubezh you found any solution ?