Looking at VS2010 installer I saw a way to hook in macros and created a test macro but my test macro didn't show up in the list. I also briefly tested InstallShield LE but it didn't meet all my requirements and I went away for a couple of days and when I returned it said the project had expired. This is a simple one-off install so I'd rather not spend the $$ for InstallShield pro.

What is the best way to call some custom code and display a dialog box pre/post install within VS2010 or VS2008 installer?