I think I understand this a bit more now and it would appear to be
limitation of the <Class> element.
To register .Net COM components you need to set the InprocServer32 to
"mscoree.dll" and I can't see how you can do this with the <Class>
element as this is not a file that is installed by your setup. To work
around this the author of Heat has decided to add a registry key element
to set the value and this is the cause of the duplicate key.
I think the full solution would be to modify the <Class> element to
fully support .Net COM components, for these it would also be necessary
to allow the addition of the keys Assembly, RuntimeVersion and CodeBase.
It may be possible to automatically create these from the component at
compile time, this could be achieved by supporting an Assembly attribute
like the <File> one that you can set to ".net".
Does this sound plausible?
Regards
Neil
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: 30 January 2007 17:52
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX3 Error: The primary key xxx is duplicated
in table 'Registry'
I'll see if I can contribute by working out what the problem is.
Neil
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: 30 January 2007 17:41
To: Neil Sleightholm; wix-users@lists.sourceforge.net
Subject: RE: Re: [WiX-users] WiX3 Error: The primary key xxx is
duplicated in table 'Registry'
This bug in heat has been reported a couple times. Unfortunately,
people just keep working around the bug instead of helping make a fix
for it. So, it hasn't been fixed because no one is currently
maintaining heat.exe.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users