Chandu-212374
SSCrazy
Points: 2247
More actions
September 2, 2010 at 8:29 am
#237774
I am writing a batch file to run an un-attended installation of SQL 2008 Tools and Mgmt studio.
How to write code to check if SQL2008 Tools exists on the system. If yes exit. If not install the Tools and SSMS.
Pls help.
WayneS
SSC Guru
Points: 95460
September 2, 2010 at 9:39 am
#1215708
Check the registry. On my system, it's located at:
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup, and the key is SQLToolsPath.
WayneMicrosoft Certified Master: SQL Server 2008Author - SQL Server T-SQL Recipes
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply