![]() RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Microsoft SQL Server\SQLSERVER\MSSQLServer\CurrentVersion', 'CurrentVersion', version) Check if the full version fo the SQL Server 2008 R2 is installed Sql2008r2express圆4_title=Microsoft SQL Server 2008 R2 Express Edition 圆4 (Including Tools) Sql2008r2expressx86_title=Microsoft SQL Server 2008 R2 Express Edition x86 (Including Tools) ![]() Let's name it sql2008express.iss with the following content If it is not installed, then it will install SQL Express 2008 R2.Ĭreate a new script. If it is already installed, it will skip the installation. If the full version is not installed, then it checks for the SQL Express edition. If full version is already installed, then it skips installing the SQL Server. The following script will check for the full version of SQL Server 2008 R2.
0 Comments
Leave a Reply. |