for my current project I need to define SQL Server 2005 as a prerequisite. Unfortunately I was not able to find a solid way to determine if SQL Server 2005 (Standard, Enterprise or Express) is installed or not.
I could do this very easy by just checking the existance of a specific registry key, but AI does not allow me to do this as I need to specify a version number.
SQL Server 2005 may be added as a prerequisite, specifying an URL from where it can be downloaded in case it is not already installed. To check if SQL Server is installed, visit this link: http://www.mssqlcity.com/FAQ/General/ch ... talled.htm
Thanks for the reply. Unfortunately this does not help me much. The link you provided includes a registry key which would work fine with SQL Server 2005 Enterprise Edition, however, on my SQL Server 2005 Express Edition this key is not existing.
What I need is a way to determine if SQL Server 2005 Express, Standard or Enterprise Edition is installed. My current project requires one of those editions as prerequisite and I need to make sure that the Database Server and the Reporting Services are installed.
Is there any way I can check if e.g. a specific service is installed/running and to use this as install condition for the prerequisite?
And how can I just check for the existance of a registry key to use it as install condition? So far I always had to specify a version number.
I just tested this but it does not seem to work for me. When I just specify the registry key and leave version fields empty the wizard always wants to install the prerequisite. It displays "Required: any. Found: nothing."
Is there any other posibility? What about checking if a specific service is installed?
It would be nice to see more flexibility in regards to the prerequisite wizard and install conditions in a future version of AI.
FOLLOW US
Get the latest news in Application Packaging