This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- PRQ Condition Types
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 25, 2010
01:11 PM
PRQ Condition Types
I am trying to find documentation regarding the Condition Type properties in the prq files. I need to know what condition will require SQL Server Express 2005 SP2 to be installed with the instance name I specified regardless if another instance of SQL is already installed. My Application a specific instance name to function properly. Below is the contents of my prq files for sql express.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
--------------------------------------------------------------------------
--------------------------------------------------------------------------
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 31, 2010
04:24 PM
You cannot have two SQL Server instances with the same name on the one machine. Therefore you should check whether 'MYinstanceName' is already installed on the target machine and if it is, what is the version.
You can check this via registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MYinstanceName\MSSQLServer\CurrentVersion
Note that detecting sql server instances via registry in not recommended way of detecting SQL Server instances. The right way is to use WMI. However, AFAIK InstallShield does not provide possibility to create conditions based on output of the external app directly (unlike MS SQL Server bootstrapper). If you have MS Windows SDK installed on your system check boostrapper folder, in the SQL Server directory there is a small utility called SqlExpressChk.exe. This utility is used to checked for presence of the SQL Server on the target machine. It communicates with bootstrapper via exit codes. If you wanted to use WMI, you would like to write similar tool with your instance name (SDKs sql checker checks only for the 'SQLEXPRESS' name and is not configurable).
Regards!
You can check this via registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MYinstanceName\MSSQLServer\CurrentVersion
Note that detecting sql server instances via registry in not recommended way of detecting SQL Server instances. The right way is to use WMI. However, AFAIK InstallShield does not provide possibility to create conditions based on output of the external app directly (unlike MS SQL Server bootstrapper). If you have MS Windows SDK installed on your system check boostrapper folder, in the SQL Server directory there is a small utility called SqlExpressChk.exe. This utility is used to checked for presence of the SQL Server on the target machine. It communicates with bootstrapper via exit codes. If you wanted to use WMI, you would like to write similar tool with your instance name (SDKs sql checker checks only for the 'SQLEXPRESS' name and is not configurable).
Regards!