views:

20

answers:

1

Hi,

I am getting to a point now with my program where by i am writing the .net installer to install it in the right location etc.

my question is, is there a way that when i run the installer i can also add database tables to a mysql database?

or should i write a seperate program to run after install which checks the db and adds the tables if nessary?

once again any help is appreciated

Vades

+1  A: 

Make use of the Installer Class to add Custom installer actions

Installer Class

Just add it to your primary output and add its primaryoutput to custom action "on install"

Step by step

Turek