[wix-users] LGHT0369 error with autogenerated GUIDs

Lucas Lacroix lcharron at meditech.com
Fri Jul 7 12:15:14 PDT 2017


Ugh... Thats it... I have two references to the same file going to the same
location because of some hard-linking that wasn't cleared up.

Thanks

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

> Sorry, i'm stumped.
>
> Have you seen this?
> https://stackoverflow.com/questions/16171106/autogen-guid-in-windowsinstal
> ler-cause-ice08-error
> <https://stackoverflow.com/questions/16171106/autogen-guid-in-windowsinstaller-cause-ice08-error>
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Lucas Lacroix
> Sent: Friday, July 07, 2017 2:48 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] LGHT0369 error with autogenerated GUIDs
>
> Heat invocation:
> "%WixToolset%\bin\heat.exe" dir ..\repos\webapi-server-nodejs\build
> -nologo -var var.MySource -ag -cg infrastructure_files -dr INSTALLDIR
> -template fragment -sreg -sfrag -srd -o components\infrastructure.wxs
> Candle invocation:
> "%WixToolset%\bin\candle.exe" -nologo components\infrastructure.wxs -arch
> x64 -dVersionNumber=1.1.0 -dMySource=..\repos\webapi-server-nodejs\build
> -o components\infrastructure.wixobj
>
>
>
>
> On Fri, Jul 7, 2017 at 2:43 PM Habib Salim <habib at hsalim.com> wrote:
>
> > Ah, sorry, I misunderstood.
> > Ive never had that happen.
> > What is the syntax of your heat wxs generator?
> >
> > -----Original Message-----
> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> > Behalf Of Lucas Lacroix
> > Sent: Friday, July 07, 2017 2:38 PM
> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > Subject: Re: [wix-users] LGHT0369 error with autogenerated GUIDs
> >
> > 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\infrast
> > ruct
> > ure.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\infrast
> > ruct
> > ure.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\infrast
> > ruct
> > ure.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\infrast
> > ruct
> > ure.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> <(781)%20774-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 <(781)%20774-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 <(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