I do not understand completely your question, but...
If you want to execute install during the FBA you can make custom component
that will run certain exe file at FBA phase of your desire.
For more info look in the TD help.
If you want to find out about registry keys that are changed by install
program then you should use regmon for tracking registry changes, and
filemon for tracking files.