Jump to content
  • Advertisement
Sign in to follow this  
Hermes

[.net] Setup project

This topic is 4913 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!