I am attempting to launch a silent Tarma installer from VFP 9.
I use the RUN command as such:
lcRun = SYS(5)+curdir() + "sdt.exe /b0 /q2"
run /n &lcRun
This runs my EXE fine, but I need to know if the installation encountered any problems.
Tarma will return an %ERRORLEVEL% if running from a batch file or command line. I would like to check this via VFP. I tried something simple like
lnresult = run /n &lcRun
Of course, this does not work. Any ideas?
TIA
Amanda
Amanda Morton
System Analyst
Harrisburg Project