Uninstall SQL Server 2012 during uninstall

Got a problem you cannot solve? Try here.
ramu2020
Posts: 36
Joined: Tue Jan 06, 2015 2:31 am

Uninstall SQL Server 2012 during uninstall

Postby ramu2020 » Wed Jan 14, 2015 2:55 am

I include SQL 2012 as runtime requirements, during installation it create the instance but I notice it did not uninstall the instance during uninstallation all. How can code it in MSICode to uninstall SQL 2012 instance?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall SQL Server 2012 during uninstall

Postby FrancescoT » Wed Jan 14, 2015 11:59 am

Dear Ramu2020,

you should refer to the MS SQL documentation for that.

I am not quite sure, but maybe you have to run the MS SQL installer with the proper command line parameter ... in this case you can use the "Run Program" command.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

ramu2020
Posts: 36
Joined: Tue Jan 06, 2015 2:31 am

Re: Uninstall SQL Server 2012 during uninstall

Postby ramu2020 » Wed Jan 14, 2015 9:58 pm

Hi,
Yes I know about to run the mssql setup exe again but since during installation it already downloaded it into user pc, how can I retrieve back that particular mssql setup exe again to uninstall?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall SQL Server 2012 during uninstall

Postby FrancescoT » Thu Jan 15, 2015 1:03 pm

Dear Ramu2020,

this value should be stored under; "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall".
Please refer to the following discussion for more details.
viewtopic.php?f=2&t=5959

Anyway, you should consult the MS SQL documentation for more details.

Last but not least, I really don't understand why you want to remove SQL Server from the target machine. Even if the product has been installed by your application, it should be not removed when your application is un-installed. Other installed application may use it and this is the reason why, this is not a recommended operation.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 119 guests