Desktop Engine Installation Sample

Distributing SQL Server with Applications

Distributing SQL Server Applications

Desktop Engine Installation Sample

ConsoleDesktopengine.exe demonstrates how to call either the Microsoft® SQL Server™ 2000 Desktop Engine Setup or Windows Installer Setup to install an instance of the Desktop Engine.

Default Location

C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Desktop

To run the sample

  1. Copy these files from the sample folder to a folder in your Microsoft Visual C++® include path: sqlserror.h, validateinstance.h.

  2. Copy these files from the sample folder to a folder in your Visual C++ library path: sqldedev.lib, desktopenginedeploy.lib.

  3. Using Visual C++ 6.0, open and run consoledesktopengine.dsw to create an executable.

  4. Copy the contents of the \Sqlmsde\Setup folder on the SQL Server 2000 compact disc to the folder holding ConsoleDesktopengine.exe.

  5. Optionally, generate a custom Desktop Engine installation package file in the folder containing ConsoleDesktopengine.exe. For more information about generating a custom installation package file, see Managing Desktop Engine Installation Package Files.

  6. Run ConsoleDesktopengine.exe.

See Also

SQL Server 2000 Desktop Engine Setup

Distributing SQL Server with Applications