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.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Tuesday, January 30, 2007 8:21 AM
To: [email protected]
Subject: Re: [WiX-users] WiX3 Error: The primary key xxx is duplicated in table 
'Registry'

Thanks that gave me the clue I was missing. I think the problem is that the 
code fragment is followed by:
<RegistryKey Root="HKCR" 
Key="CLSID\{1F235F80-8889-4C2D-96E5-B4C3D4C186C9}\InprocServer32" 
Action="createAndRemoveOnUninstall">
  <RegistryValue Value="mscoree.dll" Type="string" Action="write" />
  <RegistryValue Name="Class" Value="xxxx.yy.zzzz.SystemInfo" Type="string" 
Action="write" />
  <RegistryValue Name="Assembly" Value="xxxx.yy.zzzz, Version=4.6.407.0, 
Culture=neutral, PublicKeyToken=d6bad0497ee6d215" Type="string" Action="write" 
/>
  <RegistryValue Name="RuntimeVersion" Value="v2.0.50727" Type="string" 
Action="write" />
  <RegistryValue Name="CodeBase" Value="[#xxxx.yy.zzzz.dll]" Type="string" 
Action="write" />
</RegistryKey>

Which will do some of the same things (but not all). I am fairly sure this was 
generated by heat so it could be a bug in heat but I will do some more 
investigation.

Neil


From: John Cole [mailto:[EMAIL PROTECTED]
Sent: 30 January 2007 12:39
To: Neil Sleightholm; [email protected]
Subject: RE: [WiX-users] WiX3 Error: The primary key xxx is duplicated in table 
'Registry'

Neil,
  I had the same issue when using tallow on a .reg file for an ActiveX.exe.  It 
turned out that tallow was creating nested registry keys, and those don't 
compile.

  For example (and this is from memory, so I'm sure it's not syntactically 
correct):

    <registry root="HLCR" key="{GUID}\something">
        <registry value="default value" />
        <registry name="something" value="something else" />
    </registry>

   I wrote an xsl to convert those to two registry tags, instead of nested ones.

John
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Monday, January 29, 2007 4:15 PM
To: [email protected]
Subject: [WiX-users] WiX3 Error: The primary key xxx is duplicated in table 
'Registry'

I wonder if anyone could give me some pointers on what the following error 
means:
"The primary key 'regCEE002B6E272C08B0F4B8191A9027490' is duplicated in table 
'Registry'.  Please remove one of the entries or rename a part of the primary 
key to avoid the collision."

I think this is generated by the following fragment but it is part of a very 
large file with lot of <RegistryValue> keys:
  <Component Id="xxxx.yy.zzzz.dll" Guid="811B5C06-06A4-431D-B1E8-F2025806A91E">
    <File Id="xxxx.yy.zzzz.dll" Name="xxxx.yy.zzzz.dll" KeyPath="yes" 
Source="$(var.SourceDir)\xxxx.yy.zzzz.dll">
      <Class Id="1F235F80-8889-4C2D-96E5-B4C3D4C186C9" Context="InprocServer32" 
Description="xxxx.yy.zzzz.SystemInfo" ThreadingModel="both">
        <ProgId Id="xxxx.yy.zzzz.SystemInfo" 
Description="xxxx.yy.zzzz.SystemInfo" />
      </Class>
      <Class Id="{A67FCE62-694C-4E4E-A4E5-12036F18C3ED}" 
Context="InprocServer32" Description="xxxx.yy.zzzz.VideoView" 
ThreadingModel="both" Version="4.6">
        <ProgId Id="xxxx.yy.zzzz.VideoView" 
Description="xxxx.yy.zzzz.VideoView" />
      </Class>
    </File>
  </Component>

Thanks

Neil

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.14/657 - Release Date: 1/29/2007 9:04 
AM


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.14/657 - Release Date: 1/29/2007 9:04 
AM
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the sender. This message 
contains confidential information and is intended only for the individual 
named. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to