[wix-users] LGHT0369 error with autogenerated GUIDs

Lucas Lacroix lcharron at meditech.com
Fri Jul 7 11:38:25 PDT 2017


Hi Habib,
I guess I was not clear enough.

"light.exe" is failing with LGHT0369 because there are duplicate GUIDs, so
there is no MSI file to look at. However, all GUIDs are auto-generated so
this should be impossible. Here is a part of the output:
C:\Users\lcharron\DevWorkspace\webapi-build-wix\wix\components\infrastructure.wxs(1065)
: error LGHT0369 : Component/@Id='cmp5021D2A6D88ABABE30601A1D1BDFD917' has
a @Guid value '{80F079A8-9211-557E-82CE-3A7FAD7565DD}' that duplicates
another component in this package. It is recommended to give each component
its own unique GUID.
C:\Users\lcharron\DevWorkspace\webapi-build-wix\wix\components\infrastructure.wxs(1068)
: error LGHT0369 : Component/@Id='cmp98441D60B3D437227E2C5B849EE20FF7' has
a @Guid value '{60901AEA-4D1E-5DB2-BA7F-B83BB2A567B0}' that duplicates
another component in this package. It is recommended to give each component
its own unique GUID.
C:\Users\lcharron\DevWorkspace\webapi-build-wix\wix\components\infrastructure.wxs(1071)
: error LGHT0369 : Component/@Id='cmp3F2C0CFBE50F263421D5AB1FB4640A18' has
a @Guid value '{C337B16E-B4C6-5D0A-8158-B7A32DE352B8}' that duplicates
another component in this package. It is recommended to give each component
its own unique GUID.
C:\Users\lcharron\DevWorkspace\webapi-build-wix\wix\components\infrastructure.wxs(1074)
: error LGHT0369 : Component/@Id='cmp48A682FA9D03A90E0523D512A94EC250' has
a @Guid value '{B8932076-2F1C-5E98-B6AF-288592CA34C6}' that duplicates
another component in this package. It is recommended to give each component
its own unique GUID.

The "infrastructure.wxs" file has "*" in the GUID attribute of all
components.

On Fri, Jul 7, 2017 at 2:20 PM Habib Salim <habib at hsalim.com> wrote:

> If you are saying that "*" is duplicated then you needn't worry.
> If you really want to look at the guids, use orca to look into the MSI.
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Lucas Lacroix
> Sent: Friday, July 07, 2017 1:59 PM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] LGHT0369 error with autogenerated GUIDs
>
> Hey All,
> Pretty new to using WiX 3.11 and still figuring stuff out. I searched the
> interwebs but could find nothing pointing out how I can diagnose this
> issue.
>
> I have multiple WXS files generated by heat.exe from multiple source
> directories. I then have a WXS file that pulls them all together and
> contains the product and package definitions. What I can't figure out is
> why light.exe is, reportedly, generating the same GUID for files with
> different source and destination directories.
>
> I reviewed the generated WXS and even the WIXOBJ files and the GUID is "*"
> in all cases which, according to the docs, means that light.exe should
> generate the GUID based on the file's path (and size?). As none of the
> packages even have files with the same name nor does the error indicate
> what other component shares the same GUID, I cannot figure out what is
> going on.
>
> Any help is appreciated.
> --
> Lucas Lacroix
> Computer Scientist
> Advanced Technology Division, MEDITECH <http://ehr.meditech.com/>
> 781-774-2293 <(781)%20774-2293>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
-- 
Lucas Lacroix
Computer Scientist
Advanced Technology Division, MEDITECH <http://ehr.meditech.com/>
781-774-2293



More information about the wix-users mailing list