"Error 5003: .regsvcs failed for assembly. C:programfiles(X86)microsoftbiztalkserver3012microsoft.biztalk.deployment.dll return code <>" while installing BizTalk Server

BizTalk installation by itself is fairly simple and straight forward as the installer is well-packaged, does pre-checks on the requisites and install those missing. But some unprecedented errors could ruin your otherwise peaceful day and this error makes it to the list.
As in my case, my customer was trying to install BTS 2013 mated to a SQL 2012 on WS 2008 R2 – pretty much a supported set up for starters. I am sure this could pop up for earlier and later versions of BizTalk as well.

Below are some of the try-outs to resolve this error

1. MSDTC options for BizTalk incorrectly set. Below is the MS recommended setting for DTC that runs BizTalk.

Keep the setting same for the remote SQL, IIS and cluster servers, BizTalk servers interacts with. Make sure you restart the DTC service (local and cluster as applicable) after making the changes. This is also explained at https://msdn.microsoft.com/en-us/library/aa544733(v=cs.70).aspx .

2. Re-register Microsoft.BizTalk.Deployment.dll. Drag and drop the DLL to %systemroot%\assembly folder. And manually register and DLL using the below command C:\Windows\Microsoft.NET\Framework64\v2.0.50727>regsvcs.exe "C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.BizTalk.Deployment.dll"  

3. .NET framework could be corrupt. As a final measure, you could try uninstalling the associated .NET framework (E.g. for BizTalk 2013 I‘d uninstall 4.5 and repair the older frameworks) and re-install it.

Written By
Rajkumar Damodharan

Reviewed By
Jainath Ramanathan

Microsoft GTSC, India