Hi,
You can create a Search to locate SQL Server Native Client (SNAC) version .
Go to Search Page and add a "New Search->Add Location->Registry" and browse for the registry key.
The installed version of SNAC can be found in the Registry:
Code: Select all
HKLM\SOFTWARE\Microsoft SQL Native Client\CurrentVersion\Version : [REG_SZ]
In case you don't find the key in this path you could try to search using
regedit.
The existance of SNAC can be determined by either the existance of the file "sqlncli.dll" exists in the folder "%SYSTEM%" (e.i. "C:\WINDOWS\system32\").Create New File Search from Search Page. You can use the [ ... ] button to select "sqlncli.dll".
The name of the search (for example RESULT_PROPERTY) will be used in the "Launch Conditions->Custom Launch Condition".The condition will use the value of the search property to determine if the installation will run or not (for example you can use the condition: "RESULT_PROPERTY" which is true if the search was successful).
Best regards,
Ciprian
___________________________________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
FOLLOW US
Get the latest news in Application Packaging