BUG: Cannot Compile VSI Project - "Install Dialog" Errors (281650)



The information in this article applies to:

  • Microsoft Visual Studio Installer 1.0
  • Microsoft Visual Studio Installer 1.1

This article was previously published under Q281650

SYMPTOMS

With Visual Studio Installer, you receive the following error messages when you try to Compile, Build, or Deploy your project:
The install dialog Welcome is invalid.
The install dialog Select Installation Folder is invalid.
The install dialog Confirm Installation is invalid.
The install dialog Progress is invalid.
The install dialog Finished is invalid.
The install dialog Fatal Error in Installation is invalid.
The install dialog User Interrupted installation is invalid.
The network install dialog Welcome is invalid.
The network install dialog Select Network Location is invalid.
The network install dialog Progress is invalid.
The network install dialog Finished is invalid.
The network install dialog Fatal Error in Installation is invalid.
The network install dialog User Interrupted Installation is invalid.
The network install dialog Error Dialog is invalid.

CAUSE

This problem occurs because of a mismatched version of MergeMod.dll. Visual Studio Installer 1.1 ships with MergeMod.dll version 1.2.x. This version may be overwritten with version 1.5.x if you have installed a beta build of Windows Whistler, Visual Studio.NET, or you have a beta version of Windows Installer 1.5.

RESOLUTION

To resolve this problem:
  1. In Windows Explorer, click Program Files, click Common Files, click the Microsoft Shared folder, and then browse to the MSI Tools folder.
  2. Rename the MergeMod.dll file to MergeMod.old.
  3. Copy MergeMod.dll (version 1.2.x) from the Tools folder located in Program Files under the MSIntel.SDK folder to the MSI Tools folder. If the MergeMod.dll (version 1.2.x) file is not present, you can download it from the Microsoft Windows Installer version 1.2 SDK at the following Microsoft Web site:
  4. Register MergeMod.dll with RegSvr32.exe with the following syntax:
    (path to regsvr32.exe)\regsvr32.exe (path to MergeMod.dll)\mergemod.dll
    					
    You can obtain Regsvr32.exe from your system directory.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

There is no way to have both version 1.2.x and version 1.5.x run on the computer at the same time. Therefore, any product that needs version 1.5.x of MergeMod.dll may not function properly after you install version 1.2.x.

Steps to Reproduce Behavior

  1. Rename MergeMod.dll to MergeMod.old.
  2. Copy MergeMod.dll (version 1.5.x) to Program Files, under Common Files, under Microsoft Shared in the MSITools folder in your Windows Explorer.
  3. Register MergeMod.dll with RegSvr32.
  4. Attempt to compile a VSI project.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbbug kbpending KB281650