Sign in to follow this  

[.net] Setup project

This topic is 4543 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi ! I need to know how is it possible to add a function in a .Net setup project that makes some initialization independent of the installed program. To be more exact: I have a program up and running for which i must make a setup but i need to run some SQL scripts during this setup to build and initialize the database. Do you know how to do that ?

Share this post


Link to post
Share on other sites
Most setup packages allow you to execute programs during the install process. You could develop a small "Database Setup Wizard" which will be launched sometime during the setup.

Or write a simple application that pops up as a console. However, showing it as a wizard allows the user to specify a specific SQL server(Assuming you're using an SQL Server instead of Access), and let you give feedback to the user, such as unable to find database server, unable to login, etc.

Toolmaker

Share this post


Link to post
Share on other sites

This topic is 4543 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this