I am coding a professional-level c# application for a client using an SQL back-end for the database, I wish to make this application commercially available to other people who would be able to install it their selves.
My main question is, is it possible for me to add the options for the SQL server instance, user name, password etc, as well as automate database and table generation from within the setup program and save these settings for use at run time?
Any assistance would be appreciated.
Thanks in advance.
Yes, you may take the SQL information during installation using dialogues.
Includes the database script into installer and run it after taking the SQL instance and credential information from user.
Please see this link for a working example
Once database is created, save the information on file system (a config file), somewhere in users application data or installation directory depending on need. Encrypt it if needed.