>Hi All!
>
>VFP5 Setup Wizard allows to run a program after the setup.exe is finished running.
>I want to do some things before I run setup.exe AND after that too, that is I want to run setup.exe from within my application and if user cancelled the installation or if an error occurred, then not to continue with my Post-Setup.
>
>Is there any way to know if Setup.exe has finished successfully or not?
>
You can check for the existence of known files and registry entires, as well as examining the termination code of Setup.EXE if you launch it with CreateProcess() or ShellExecuteEx() and snag the ProcessID. The file
SETUP.STF is left behind in the selected target directory, and contains a list of all actions taken both by the user and by the setup process itself.
>Thanks in advance,
>
>Uri Shohet.