Showing posts with label uninstall. Show all posts
Showing posts with label uninstall. Show all posts

Sunday, February 12, 2012

command line uninstall of sql express 2005

Another developer is writing the install/uninstall for our app and we're not
sure about the best way to uninstall the database component when the app is
uninstalled. Basically our app installs sql express 2005 ( + other .net stuff
) during install using the command line options and that works great. When it
comes to uninstall we have only one option at the moment - have the user go
to the control panel and manually uninstall the db. Is there an automated way
to remove the db from a machine or a way to issue a batchfile command w/
params? The user doesn't need to maintain this special db instance so want to
remove it automatically.
thanks,
Paul.
hi Paul,
paul wrote:
> Another developer is writing the install/uninstall for our app and
> we're not sure about the best way to uninstall the database component
> when the app is uninstalled. Basically our app installs sql express
> 2005 ( + other .net stuff ) during install using the command line
> options and that works great. When it comes to uninstall we have only
> one option at the moment - have the user go to the control panel and
> manually uninstall the db. Is there an automated way to remove the db
> from a machine or a way to issue a batchfile command w/ params? The
> user doesn't need to maintain this special db instance so want to
> remove it automatically.
> thanks,
> Paul.
http://msdn2.microsoft.com/en-us/lib...installscripts
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.bizhttp://italy.mvps.org
DbaMgr2k ver 0.20.0 - DbaMgr ver 0.64.0 and further SQL Tools
-- remove DMO to reply