That error almost certainly means you have to XML elements in the WiX toolset generating the same registry key. I think there is a known bug in WiX v3 around a certain configuration of ProgId elements that can cause this but my memory is fuzzy.
Try removing elements that generate registry keys (Registry*, Class, ProgId, TypeLib, Interface) and to narrow down the conflict. Eventually, I think you'll find that one element or another creates a duplicate registry key. On Thu, Oct 29, 2009 at 10:00 PM, Blair <os...@live.com> wrote: > You do have the full 3.0 RTM release. I haven't yet reproduced the problem, > even when calling light multiple times from the same MSBuild instance, but > you could try adding the following property to your .wixproj file: > > In the main <PropertyGroup> (the one without conditions towards the top of > the file) add the following new property: > > <RunWixToolsOutOfProc>true</RunWixToolsOutOfProc> > > Please let us know if that seems to cure the issue. Also helpful would be > to > know if it is 100% repeatable for you. > > -----Original Message----- > From: Daniel Hughes [mailto:daniel.hug...@tait.co.nz] > Sent: Thursday, October 29, 2009 5:34 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] [WiX-user] light error Key already added > > Error 1 Item has already been added. Key in dictionary: > 'reg4E1AB2B932815062605C8450DBB987C0' Key being added: > 'reg4E1AB2B932815062605C8450DBB987C0' light.exe 0 > > I did find some references to this on the web saying its a bug > > http://n2.nabble.com/Trouble-with-Light-in-Visual-Studio-2008-and-Team-Build > -2008-td707930.html. > > I am using the 3.0.5419.0 RTM which is dated Sun Jul 05 2009 00:03 from > the http://sourceforge.net/projects/wix/files/ this appears to be the > newest release in the 3.0 range > > I notice the weekly release are now in the 3.5 range. So can I assume > that their was never a full 3.0 release...? > > Does anyone know if this has been fixed or if their is a work around. Is > the 3.5 range stable enough for production use and does it fix this > problem. > > Cheers, > Daniel > > > > ======================================================================= > This email, including any attachments, is only for the intended > addressee. It is subject to copyright, is confidential and may be > the subject of legal or other privilege, none of which is waived or > lost by reason of this transmission. > If the receiver is not the intended addressee, please accept our > apologies, notify us by return, delete all copies and perform no > other act on the email. > Unfortunately, we cannot warrant that the email has not been > altered or corrupted during transmission. > ======================================================================= > > > > ---------------------------------------------------------------------------- > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users