Revenera Documentation site will be unavailable on July 2nd due to scheduled maintenance. For more information see the status dashboard.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PavanKumar1234
Level 3

How to find if SQL Express is already installed or not using Install Script.

Hi,

I know how to install SQL Express 2012 using Custom Actions.

However, I want to do that only if SQL Express 2012 is not already installed.

How to know if SQL Express is already installed? Also, if installed, how to know which version is installed?

Thanks in advance.
Labels (1)
0 Kudos
1 Reply
Shekar
Level 7

You can use RegDB keys in installscript to find if SQL Express is installed on the target machine. The RegDBQueryKey function allows users to query a key for its subkeys and value names. You can search for regdb keys in help and you would find more information on this.

PavanKumar1234 wrote:
Hi,

I know how to install SQL Express 2012 using Custom Actions.

However, I want to do that only if SQL Express 2012 is not already installed.

How to know if SQL Express is already installed? Also, if installed, how to know which version is installed?

Thanks in advance.
0 Kudos