Details
-
Epic
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.6.1
-
None
-
Qt Installer 4.6.1 : It is not possible to perform an operation with administrator rights using the 'Consume Output' option.
-
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).