We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Native Client Pre-requisite defaults

I have enabled SQL Native Client pre-requisite and it looks like the default settings will mean its never installed

Can you review these and let me know what the default should be?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Native Client Pre-requisite defaults

Hello,

Please keep in mind that the SQL Server Native Client predefined prerequisite will be installed only if the appropriate SQL Server version is present on target machine. So, if the corresponding SQL Server version is not already installed on target machine, then the SQL Server Native Client prerequisite will not be installed.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: Native Client Pre-requisite defaults

Daniel,

This is a "client" runtime, and SHOULD be installed by AI if
a; the runtime exists already but is a lower version
b; the runtime does not exist at all

Having it installed if SQL Server is installed already, seems pointless as the default, since the SQL Server install requires the native client to be installed as a pre-requisite to its own install. The Native Client that we are delivering with our AI install is used by the installed application to connect to a SQL server that is not necessarily on the same machine.

Cheers,
Fergus.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Native Client Pre-requisite defaults

Hello Fergus,

First of all I apologize for my previous answer. I discussed this with our development team and indeed, it seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention. Until then, as a workaround you can proceed like this:
- Go to "Prerequisites" page and add our "SQL Server Native Client" predefined prerequisite (e.g. SQL Server 2005 Native Client).
- Go to "Install Conditions" tab and remove the following install condition:
  • Criteria: Registry value does not exist
    Registry Value: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ClientSetup\CurrentVersion\CurrentVersion
- Build and run your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”