Distributing SQL Server Applications

Desktop Engine Installation API

Before attempting to install an instance of the Microsoft® SQL Server™ 2000 Desktop Engine, an application setup process should first validate the proposed installation using the Desktop Engine Installation API functions:

To use these functions in a setup program you are developing, you must first:

If the application setup program requires logic to interpret the Desktop Engine return codes, also copy the file Sqlserrors.h from C:\Program Files\Microsoft SQL Server\80\Tools\DevTools\Samples\Desktop to a folder in your compiler include path. Sqlserror.h includes the #defines creating the symbolic names you can use to reference the Desktop Engine Windows Installer return codes.