Never mind.  I was a little too quick on the trigger on this one.  It was already discussed in the users list and I found the answer.

 

__________________________________

Doug Watts

Advectis, Inc.

Direct:    678.460.4605

Cell:        770.314.6704

 

The #1 Network for Mortgage Document Collaboration

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts
Sent: Friday, October 06, 2006 2:11 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] LIGHT Error - Dup Registry Key

 

I have a type library that I need to register (I know...why am I registering a type lib?  I truly need to).

Anyway, I used RegCap to produce a REG file then I used TALLOW to create the fragment.  I got a LIGHT error so I removed lines until I got the Wix script to the bare minimum to produce the error.  The error message seems obvious but I can’t figure it out (maybe I need the weekend really badly).

 

Here’s the error message:

MyComponentsFragment.wxs(nnn) : fatal error LGHT0003: primary key 'regEFE457605FD50C7ED54A6C8611F35941' in column 'Registry' are duplicated in table 'Registry'

 

 

Here is the component that produces the error.  The error (line nnn) occurs on this line:

<Registry Value="MyTypeLib Constants" Type="string" />

If I remove this line then LIGHT is OK.

 

I am simply trying to set the default value for a registry node “TypeLib\{D85F5780-29E9-4A67-B0E5-A4182F4AF6AC}\1.0”.

Remember, the fragment was produced by TALLOW 2.0.4415.0.

 

<Component Id="SomeComponent" SharedDllRefCount="yes" DiskId="1" Guid="00000000-0000-0000-0000-000000000000">

   <File Id="AppServerFile226" Name="MyTypeLb.tlb" KeyPath="yes" src="">

      <TypeLib Id="00000000-0000-0000-0000-000000000000" Language="0" Advertise="no" MajorVersion="1" />

   </File>

   <Registry Root="HKCR" Key="TypeLib" />

   <Registry Root="HKCR" Key="TypeLib\{D85F5780-29E9-4A67-B0E5-A4182F4AF6AC}" />

   <Registry Root="HKCR" Key="TypeLib\{D85F5780-29E9-4A67-B0E5-A4182F4AF6AC}\1.0">

      <Registry Value="MyTypeLib Constants" Type="string" />

   </Registry>

</Component>

 

__________

Doug Watts

 

-------------------------------------------------------------------------
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

Reply via email to