The guid is generated from the full path to the file e.g. "C:\Program
Files\My Folder\MyFile.ext", are you able to share the file names?

Also, you don't seem to be using the syntax I suggested:
      <Component>
        <File Source="...." />
      </Component>

Note the File/@Source is the only attribute in the File element. The
Guid="*" is not required in WiX 3.5 or later
(http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authorin
g/). 

Neil

-----Original Message-----
From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov] 
Sent: 30 December 2010 18:22
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] GUID Autogen question

Tried the example you supplied.  Same results, same error.  Following is
new snippet:

Thanks,
Bob

  <Fragment Id="frag.ConfigFiles">
    <DirectoryRef Id="INSTALLLOCATION">
      <Component Guid="*">
         <File Id='file1'.... />
      </Component >
      <Component Guid="*">
        <File Id='file2'.... />
      </Component >
      <Component Guid="*">
        <File Id='file3'.... />
      </Component >
      <Component Guid="*">
        <File Id='file4'.... />
      </Component >
    </DirectoryRef >
  </Fragment>

Error Text:
ICE08: Component: file2 has a duplicate GUID:
{21CF8DF6-627B-5F56-A21C-7D9788145390}
ICE08: Component: file3 has a duplicate GUID:
{21CF8DF6-627B-5F56-A21C-7D9788145390}
ICE08: Component: file4 has a duplicate GUID:
{21CF8DF6-627B-5F56-A21C-7D9788145390}


________________________________________
From: Neil Sleightholm [n...@x2systems.com]
Sent: Thursday, December 30, 2010 12:54 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] GUID Autogen question

I have seen this before and I think it is because you have a period in
the component name, try simply using this syntax:
      <Component>
        <File Source="...." />
      </Component>

You component id will then be the filename.

Neil

-----Original Message-----
From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov]
Sent: 30 December 2010 17:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] GUID Autogen question

I'm using the snippet below to define components.  I'm attempting to use
the GUID="*" (Autogen ) on the components.  However, on each of the
component statments I am getting an ICE08 Component ... has a duplicate
GUID.  The GUID value in the error message is the same for all 3 errors
(component lines).  Can you only autogen 1 GUID in a wix install or am I
using it incorrectly?  I'm using VS2010, Wix version 3.6.1112.0.
Thanks,
Bob

  <Fragment Id="frag.myFiles">
    <DirectoryRef Id="INSTALLLOCATION">
      <Component Id="Comp.1" Guid="*">
        <File .../>
      </Component >
      <Component Id="Comp.2" Guid="*">
        <File .../>
      </Component >
      <Component Id="Comp.3" Guid="*">
        <File .../>
      </Component >
    </DirectoryRef >
  </Fragment>
------------------------------------------------------------------------
------
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers to consolidate database storage, standardize their database
environment, and, should the need arise, upgrade to a full multi-node
Oracle RAC database without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers to consolidate database storage, standardize their database
environment, and, should the need arise, upgrade to a full multi-node
Oracle RAC database without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------
------
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers to consolidate database storage, standardize their database
environment, and, should the need arise, upgrade to a full multi-node
Oracle RAC database without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to