Run Program As - Cannot read result
Posted: Mon Apr 06, 2009 8:40 am
Hi,
I have already read couple of threads about similar problems, but I haven't found solution for that.
I've created for test a small setup, which runs .net application that returns a string value. I can see, that application returns correct value, however this value seems not to be passed to my variable, and in result I get message box with value '0'. Furthermore, when run this setup in debug mode I get result '-11':
[DEFINE WEB MEDIA t]
Comment: My Product Setup Project
Set Variable CSAPP to
Set Variable NUMBER to 1
Define File Bag : D:\\Moje Dokumenty\\Visual Studio 2008\\Projects\\ConsoleApplication1\\ConsoleApplication1\\bin\\Release\\*.*, get runtime location of files into variable CSAPP
Run Program $CSAPP$\\ConsoleApplication.exe (WAIT)
MessageBox: , $NUMBER$
Any idea what's wrong?
I have already read couple of threads about similar problems, but I haven't found solution for that.
I've created for test a small setup, which runs .net application that returns a string value. I can see, that application returns correct value, however this value seems not to be passed to my variable, and in result I get message box with value '0'. Furthermore, when run this setup in debug mode I get result '-11':
[DEFINE WEB MEDIA t]
Comment: My Product Setup Project
Set Variable CSAPP to
Set Variable NUMBER to 1
Define File Bag : D:\\Moje Dokumenty\\Visual Studio 2008\\Projects\\ConsoleApplication1\\ConsoleApplication1\\bin\\Release\\*.*, get runtime location of files into variable CSAPP
Run Program $CSAPP$\\ConsoleApplication.exe (WAIT)
MessageBox: , $NUMBER$
Any idea what's wrong?