Microsoft KB Archive/325004

= HOW TO: Author MSDE 2000 Setup Packages by Using Visual Studio .NET =

Article ID: 325004

Article Last Modified on 1/7/2004

-

APPLIES TO


 * Microsoft SQL Server 2000 Desktop Engine (Windows)
 * Microsoft SQL Server 2000 Desktop Engine

-



This article was previously published under Q325004



IN THIS TASK
SUMMARY
 * Create an MSDE 2000 Setup Package by Using Visual Studio .NET

REFERENCES



SUMMARY
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) includes merge modules to provide flexibility for a developer to consume the merge modules into the developer's setup product. This step-by-step article describes how to use Microsoft Visual Studio Installer .NET to create a simple MSDE 2000 setup package from MSDE 2.0 merge modules.

back to the top

Create an MSDE 2000 Setup Package by Using Visual Studio .NET
NOTE: You can obtain the Windows Installer software from any of the Visual Studio .NET development products.  Start Visual Studio .NET. Create a new setup project:  On the File menu, point to New, and then click Project. The New Project window opens. In the Project Types tree, click the Setup and Deployment Projects node, and then under the Template window in the right pane, click Setup Project.  Type a name and location for the project, and then click OK.

NOTE: Make sure that Solution Explorer is open in the Microsoft Development Environment. To open it, on the View menu, click Solution Explorer. Set the search path for the project to the folder in which the MSDE merge modules reside:  Select the setup project in Solution Explorer.</li> In the Properties window, locate the entry for SearchPath.

NOTE: If the Properties window is not open, on the View menu, click Properties Window.</li> Type the full path to the location of the MSDE merge modules. Typically, this path is :\MSDE\MSM and X:\MSDE\MSM\1033 where   is the drive letter of your CD drive.</li></ol> </li> Add the MSDE 2000 merge modules to the project: Right-click the name of the project in Solution Explorer, click Add, and then click the Merge Module option.</li> Locate the merge module file locations, and then select the merge modules that you want to add to the project.

NOTE: It is important to consider the dependencies. Some merge modules require other merge modules (which are called dependencies) present in the project to correctly build the installer package.</li> After you add all the required merge modules, you can build the Windows Installer package:  Click the project in Solution Explorer.</li> On the Build menu in the Microsoft Development Environment window, click Batch Build. This step builds and creates an MSDE 2000 Windows Installer package in the location that you specified in step 4.</li></ol> </li></ol>

back to the top

<div class="references_section">