I've been trying to get this working with cmd now for a while.
I've been unable to get things working using $SUPPORTDIR$ and $TARGETDIR$, so I thought I'd just take out those "variables" from the equation and try running the program directly from somewhere on disk and I can't even get that working:
Code: Select all
~InstallAware Clipboard Data~
~Run Program~
~{DBDCCDE3-5A58-4CD5-8004-CCE6745AD49F}~
~$WINSYSDIR$\\cmd.exe~
~FALSE~
~/c "C:\\Program Files\\Product X\\bin\\some.exe" 12345 67890 > "C:\\Program Files\\Product X\\bin\\license.out"~
~TRUE~
~GENLICFILE~
This creates no file, however I'm certain the commands work because I've cut/paste the exact command on a cmd.exe command line and it generates the license.out file.
Code: Select all
cmd /c "C:\\Program Files\\Product X\\bin\\some.exe" 12345 67890 > "C:\\Program Files\\Product X\\bin\\license.out"
Can anyone confirm that this should work using "Run Program"? Is there any other way with IA to capture output from a "Run Program"?
Thanks.