How to: Create or Add a Merge Module Project

Merge module projects are used to package files or components that will be shared between multiple applications. They create a merge module (.msm) file that includes all files, resources, registry entries, and setup logic for your component. The resulting .msm file can then be merged into other deployment projects, ensuring consistent installation of your component across multiple applications.

However, due to the servicing implications of not being able to install merge modules directly on end-user computers, we recommend that you install prerequisites and dependencies by using a chainer or bootstrapper.


The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To create a new merge module project

  1. On the File menu, point to Add, then click New Project.

  2. In the resulting Add New Project dialog box, in the Project types pane, open the Other Project Types node and select Setup and Deployment Projects.

  3. In the Templates pane, choose Merge Module Project.

To add an existing merge module project to a solution

  1. On the File menu, point to Add, then click Existing Project.

  2. In the resulting Add Existing Project dialog box, browse to the location of the merge module project and click Open.

Community Additions