I'm in the final stages of building a Vb.Net WinForms app in a client/server scenario (forms over data stored in SQL Server)
In this particular project we won't be the ones deploying the software so we're looking for a way to automated the Database part of the setup as much as possible.
The client application is being deployed with ClickOnce, so that's sorted.
As for the Database setup, can you advise on the best way to automate this? Typically the deployment would go like (this is what we'd like to automate):
Install SQL Server Express Edition as an individual instance in mixed mode authentication (we must use Mixed mode because we can't gurantee we'll have AD). (if possible have the user specify SA password during install, if not possible, we can set it to a preset)
Configure the instance to use a fixed TCP/IP port
Open the TCP/IP port in the Windows Firewall
Finally run a SQL Script to Create the DB (Tables/stored procs/base date)
Please bear in mind we're using Visual Studio Express so we don't have InstallShield or the "Application Setup" template.
Can you please advise/suggest on the best course of action base don your experience?
Thank you Pedro.