"Run program as" environment parameter issue
Posted: Mon Jan 09, 2017 11:14 am
I can't make "Run program as" work with environment parameter.
I have tested it with custom exe, batch file, with a single parameter, with getting all environment variables (as documentation says), no way to make it work.
Nothing append when using Environment setting in "Run Program As" configuration window.
Same code works when I remove this parameter.
This is the simpliest sample which should work:
Nothing append and exit code is -11.
A thread talk about his, but the question was "detourned" and still no response
viewtopic.php?f=2&t=10343&p=39112&hilit=run+program+as+environment#p39112
I have tested it with custom exe, batch file, with a single parameter, with getting all environment variables (as documentation says), no way to make it work.
Nothing append when using Environment setting in "Run Program As" configuration window.
Same code works when I remove this parameter.
This is the simpliest sample which should work:
Code: Select all
~InstallAware Clipboard Data~
~MessageBox~
~{93210668-AF77-4757-B381-09F17FDBAE03}~
~Result~
~code: $Result$~
~0~
~1~
~~
~Run Program As~
~{AC0B4AA3-A111-427B-A42B-E98A686E956D}~
~cmd.exe~
~~
~/k echo myVar value: %myVar%~
~0~
~~
~~
~~
~Result~
~TRUE~
~myVar=aValue~
~Set Variable~
~{45B0388D-B4BD-42C7-ACFF-9D373D6E3C48}~
~result$MYAH$MYAH$FALSE~
~~
Nothing append and exit code is -11.
A thread talk about his, but the question was "detourned" and still no response
