Using the same VB6 DLL, I generated the WiX XML using Heat v3.0.4923 and Heat v3.0.5224. Using Candle and Light from v3.0.5224, I was able to compile and link the WiX XML produced from Heat v3.0.4923. Using Candle and Light from v3.0.5224, I was able to compile but NOT link the WiX XML produced from Heat v3.0.5224.
I'm including 2 WiX files as well as the VB6 DLL in order to reproduce the error of:
D:\Builds\PRISM XP\Build 11.51.0000\Bin\Prism.5224.wxs(20) : error LGHT0130 : The primary key 'reg0387C011F3F8A22BDFC14B72466D9C9A' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
I used the command line arguments of -svb6 -sfrag -suid -gg to produce the Heat WiX XML in both versions.
VB6 Binary DLL used in both files.
WiX File that packages using 4923 Heat output
WiX File that packages using 5224 Heat output
The error you are seeing is due to the fact that you have a duplication interface being written to HKLM\Software\Classes and HKCR. The value is not being duplicated however. HKLM\Software\Classes is only used for backwards compatibility (http://msdn.microsoft.com/en-us/library/ms680091(VS.85).aspx).
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 7 days (the time period specified by
the administrator of this Tracker).