Hi Terry,
Terry Bottorff (7/7/2011)
Is there Anything else I should look out for using this class?Well, I would say, do a lot of testing with dummy database, until you feel comfortable with the process. When I started using SF I also was fairly new to MS SQL, so understanding the whole thing and decoupling from Visual FoxPro took some time. I have been able to modify the installer class to suit my needs and I am very happy with the outcome, still have a thing or two that I need to review, fix and test, but it is working.
As for the database location, this could get tricky since in most of the cases your database may be the only one SQL instance used by your customers, but in come cases, customer may already have SQL Server installed with other databases, so programmatically changing the default database location could be rude, so I simply let SQL Server do its job and place the data files wherever they are setup to be placed. I have some customers with MS Small Business Server OS which already comes with SQL server license and a whole bunch of databases.
I always build my applications in the less obtrusive mode, so when they are installed/uninstalled, it should not affect the OS at all and the end user will be happy and of course, less support calls.
Edhy Rijo