SQL Server Express Questions - Password and Install
Posted: Wed Jan 04, 2006 2:41 pm
Hello,
I am considering deploying SQL Server Express with Install Aware. This would be for smaller clients that are actually using Express on a server for multiple users to connect to. So this install would be separate from my main application install.
I would like the install to run the scripts to create/update the database as needed.
I have a few questions:
The Admin Password - I can see where this can be set in the properties. However, this seem like a really bad idea to me. The end user should really be the one setting the password - not my setup program. Is there a way I can prompt the user for this?
What happens if the uninstall is run? Is my SQL server instance removed? If I am uninstalling to run an upgrade I would not want it to be removed. Even if my datafiles were left on disk how would I reconnect them. However, what if I really do want to uninstall the database?
I could see creating different versions of the install that had all the correct scripts and would update the database correctly. When it was run. However, I don't see how that fits with the always uninstall previous version that I see in my other install.
I'm wondering if Install Aware is even the right tool for this job. Maybe I should write a small custom app that shells out the Express install and knows how to manage the database.
Any suggestions?
Thanks,
Mark
I am considering deploying SQL Server Express with Install Aware. This would be for smaller clients that are actually using Express on a server for multiple users to connect to. So this install would be separate from my main application install.
I would like the install to run the scripts to create/update the database as needed.
I have a few questions:
The Admin Password - I can see where this can be set in the properties. However, this seem like a really bad idea to me. The end user should really be the one setting the password - not my setup program. Is there a way I can prompt the user for this?
What happens if the uninstall is run? Is my SQL server instance removed? If I am uninstalling to run an upgrade I would not want it to be removed. Even if my datafiles were left on disk how would I reconnect them. However, what if I really do want to uninstall the database?
I could see creating different versions of the install that had all the correct scripts and would update the database correctly. When it was run. However, I don't see how that fits with the always uninstall previous version that I see in my other install.
I'm wondering if Install Aware is even the right tool for this job. Maybe I should write a small custom app that shells out the Express install and knows how to manage the database.
Any suggestions?
Thanks,
Mark