Running Sql Script File (*.Sql) Through Setup(msi) ...

Jul 15 2004 9:01 AM
Hi all, I'm not Familiar with creating Setup in VS.NET. I want to create a setup(MSI) for my web-application and create my Database (Sql-Server 2000) through this setup.So i generated TSql script of my database and its related such as stored procedured(s),Table(s) and etc.But As you know with OSQL.ExE Utility we can run Tsql Script file (*.Sql) from command line for example: Osql.ExE /E /i Test.Sql So i must create a custom action(as far as i know)in my setup for running Osql.exe, BUT I DON'T KNOW HOW SHOULD I DO THIS.? Is it possible to help me.? Best Regards.

Answers (2)