Page 1 of 1

UnInstall SQL Express

Posted: Wed Nov 14, 2007 1:36 am
by arupkrdas
Hi,
Does any body know how to uninstall SQL Express Instance while uninstalling the application. In MSDE it could be done with the Product key of the Installed verion for that Instance. Is there any way out in SQL Express where by I can uninstall only the Instance that i have Installed.

Posted: Thu Nov 29, 2007 12:46 am
by arupkrdas
The command to uninstall SQl Express is ...


Install SQL Express (command line: /qb REMOVE=SQL_Engine INSTANCENAME="$INSTANCE_NAME$", get result into variable SQL2005)


only problem i am facing is that unlike installation where SQL Express used to get installed silently, here the Window is popping up and one can press cancel.

Posted: Thu Nov 29, 2007 10:32 am
by Alex_Ronquillo
arupkrdas,

Change the /qb switch for /qn:

Code: Select all

Install SQL Express (command line: /qn REMOVE=SQL_Engine INSTANCENAME="$INSTANCE_NAME$", get result into variable SQL2005)

Posted: Thu Nov 29, 2007 11:09 pm
by arupkrdas
Thanx a lot Alex_Ronquillo...