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
- :
- Prerequisite conditions for SQL Server Native Client?
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
‎Feb 27, 2008
01:20 AM
Prerequisite conditions for SQL Server Native Client?
Does anyone know by chance the prerequisite conditions to make sure the SQL Server Native Client gets installed (sqlncli.msi)?
I tried to put a condition on the registry key HKLM\SOFTWARE\Microsoft\Microsoft SQL Native Client\CurrentVersion but unfortunately, when uninstalling the native client, this registry key remains.
So I added a second condition to check if [SystemFolder]sqlncli.dll exists, but this dll remains as well after uninstalling.
Any other ideas?
I tried to put a condition on the registry key HKLM\SOFTWARE\Microsoft\Microsoft SQL Native Client\CurrentVersion but unfortunately, when uninstalling the native client, this registry key remains.
So I added a second condition to check if [SystemFolder]sqlncli.dll exists, but this dll remains as well after uninstalling.
Any other ideas?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2008
02:18 AM
I solved part of the problem. Instead of checking for [SystemFolder]sqlncli.dll, I check for [SystemFolder]sqlncli.chm which seems to be one of the few files
But I am now on a second problem.
In the prerequisite editor, I have:
- Files to include: sqlncli.msi
- Application to run:
Specify the command line for the application:
msiexec /i sqlncli.msi /qn
When I then execute the setup.exe, I get the requester about the prerequisite for SQL Native Client, but when it should be installed, I get immediately an error, something like "Installation of Microsoft SQL Server 2005 Native Client failed."
What am I doing wrong, can't I just call the sqlncli.msi in that way?
But I am now on a second problem.
In the prerequisite editor, I have:
- Files to include: sqlncli.msi
- Application to run:
Specify the command line for the application:
msiexec /i sqlncli.msi /qn
When I then execute the setup.exe, I get the requester about the prerequisite for SQL Native Client, but when it should be installed, I get immediately an error, something like "Installation of Microsoft SQL Server 2005 Native Client failed."
What am I doing wrong, can't I just call the sqlncli.msi in that way?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2008
05:47 PM
In the Application to run tab, I think that you need to select "sqlncli.msi" in the Specify the application you wish to launch combo box and specify "/qn" in the Specify the command line for the application edit box.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 29, 2008
06:30 AM
Great, thank you, now it works. I thought I had to put msiexec, but this seems to be done automagically.