You will have to create a separate installer for your application. Embedding the MySql installer inside of it is not a good idea. If you were using MS SQL or Oracle, would you embed them into your own installer? I guess, no. There are many freeware installers available around, which can help you to accomplish your task, for example WIX (
http://wixtoolset.org/[
^]), NSIS (
http://nsis.sourceforge.net/Download[
^]) or Inno Setup (
http://www.jrsoftware.org/isinfo.php[
^]). WIX definitely has the extension which allows to run SQL scripts. Also it can create ASP.NET pools, sites, etc. By the way, you can always write a custom action. The only problem is that you will have to spend some time learning those installers' syntax. Here is quite good
tutorial[
^] about WIX. It's up to you to choose which one you prefer. WIX has a great integration with Visual Studio (it's sponsored by Microsoft).