You can add custom actions while installation process like,
Several installation events are exposed for you to override, like:
Install
Commit
OnAfterInstall
OnAfterRollback
OnAfterUninstall
OnBeforeInstall
OnBeforeRollback
OnBeforeUninstall
OnCommitted
OnCommitting
Rollback
Uninstall
Please refer for more details :
http://devcity.net/PrintArticle.aspx?ArticleID=339[
^]
Hope this will help.