A more suitable way to solve your issue would be to create a Custom Action in your setup right after commit-phase.
Custom Action in Visual Studio setup projects[
^]
I did the following steps already: after commit a Form opens, asking for the DB Connection props and the place to install. Afterwards it executes the TSQL commands to create the Table and Data. Works great.