Reference: http://blog.csdn.net/xingqingxiang/article/details/7198076
When you do WinForm packaging for Visual Studio 2010, it is frustrating to be prompted for unrecoverable build errors,
Search on the Internet a lot of methods are not, helpless to find ways, inadvertently found a solution, I hope to share with you.
Here's how to fix it:
1. In Start-run, enter the following in three times to re-register the next Mergemod.dll.
regsvr32 "C:\Program files\common Files\Microsoft Shared\MSI Tools\mergemod.dll"
regsvr32/u "C:\Program files\common Files\Microsoft Shared\MSI Tools\mergemod.dll"
Regsvr32 "C:\Program Files\Microsoft Sdks\windows\v7.0a\bin\mergemod.dll"
After registering as above, re-execute build solution in the packager.
If you are still prompted for "unrecoverable build Error"
It is recommended to replace the Tools\ file version of the C:\Program Files\Common Files\Microsoft Shared\MSI Mergemod.dll path with the new version of Mergemod.dll.
Then re-register the new version of Mergemod.dll in the order of three times.
I have a new version of the Mergemod.dll, the resource address is: http://download.csdn.net/detail/xingqingxiang/4018949
Hope to resolve your error.
Visual Studio 2010 Prompts for a non-recoverable build error solution when WinForm is packaged