Page 1 of 1

run program code

Posted: Thu Feb 22, 2007 11:43 am
by johnchuo
I am trying to run .exe using Run Program...as below:
~InstallAware Clipboard Data~
~Comment~
~{1A9E9B40-72A0-4870-95C4-1685A1AF727D}~
~TO-DO: Insert command that starts your application here~
~Run Program~
~{54BBF502-5F16-4D7A-90D6-E0AEA7632B73}~
~$TARGETDIR$\\Windows Runtime.exe~
~FALSE~
~~
~FALSE~
~~
I inserted this code into the finish setup section after:

~InstallAware Clipboard Data~
~End~
~{6A97B580-6897-44F2-BA8F-69A09262A770}~
~Comment~
~{1A9E9B40-72A0-4870-95C4-1685A1AF727D}~
~TO-DO: Insert command that starts your application here~

is this correct?

Posted: Thu Feb 22, 2007 4:48 pm
by jimo
Yes that looks correct.

If you are having a problem with the exe program not launching there are a few additional things to try;
1. Convert the path to a short path before calling Run Program
2. Use Run Program AS instead so that you can set the working directory.