Run Program ignored
Posted: Tue Jan 23, 2007 7:14 pm
I'm still learning InstallAware, and I realise that certain commands only work in certain places, never-the-less, I need to do a "Run Program" during the setupsql2005 script.
Just before the final 'end' of that script, I insert the commands:
Set Variable PROG_PATH to
Define File Bag : C:\\Prog.exe, get runtime location of files into variable PROG_PATH
Run Program $PROG_PATH$\\Prog.exe (WAIT)
However, when single-stepping in the IDE, Prog.exe, which should display a dialog of its own, appears to be completely ignored! I see the lines get highlighted in turn as I hit the "Step through code" button - but NOTHING happens!
I need to run the Prog.exe if and only if the sql server instance needed to be installed.
I want:
1) To know why the lines were completely and silently ignored, despite all appearances of stepping over them correctly.
2) To know how to make it work.
3) To know of any better solutions to this problem.
Thankyou.
Just before the final 'end' of that script, I insert the commands:
Set Variable PROG_PATH to
Define File Bag : C:\\Prog.exe, get runtime location of files into variable PROG_PATH
Run Program $PROG_PATH$\\Prog.exe (WAIT)
However, when single-stepping in the IDE, Prog.exe, which should display a dialog of its own, appears to be completely ignored! I see the lines get highlighted in turn as I hit the "Step through code" button - but NOTHING happens!
I need to run the Prog.exe if and only if the sql server instance needed to be installed.
I want:
1) To know why the lines were completely and silently ignored, despite all appearances of stepping over them correctly.
2) To know how to make it work.
3) To know of any better solutions to this problem.
Thankyou.