Microsoft KB Archive/306692

= PRB: Visual Studio Installer Module Collection Failed to Build =

Article ID: 306692

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Visual Studio Installer 1.0
 * Microsoft Visual Studio Installer 1.1

-



This article was previously published under Q306692



SYMPTOMS
When you attempt to build a Visual Studio Installer project you may see the following error messages appear in the task list:

The module collection failed to build.

Build failed (class not registered.)



CAUSE
This error messages will be generated if the Mergemod.dll file has not been registered, or if it failed to register correctly.



RESOLUTION
To resolve these errors, you must follow these steps:  If you currently have Visual Studio Installer open, you should save your current project and exit the tool. Locate Mergemod.dll to make sure it is in the correct folder. It should reside in the folder

X:\Program Files\Common Files\Microsoft Shared\MSI Tools

where X is your drive letter.

NOTE: If this file is missing or is corrupt you will need to replace it with a copy from the original source. To register Mergemod.dll, type the following at a command prompt:

regsvr32 X:\Program Files\Common Files\Microsoft Shared\MSI Tools\mergemod.dll

 Restart Visual Studio Installer and build your project.

