I used heat.exe to generate a .wxs file that lists all the files that I want
to install.  I told heat to put them in a ComponentGroup so I could
reference them from another (hand-generated) .wxs file.

However, the autogenerated file specifications look like this:

    <Component Id="cmp10D34854E51FC71E0A65900015642460"
Directory="dir82EF0D8D89A5B984406E0CCDF2A5E5BC" Guid="*">
        <File Id="fil65369E1F7C8702A7B78CF393C06A9C7B" KeyPath="yes"
Source="SourceDir\CHANGELOG.md" />
    </Component>

Since the source starts with "SourceDir", I get the following errors in
light.exe:

: error LGHT0231 : The component 'cmp10D34854E51FC71E0A65900015642460' has a
key file with path 'TARGETDIR\vwf-windows-build\CHANGELOG.md'.  Since this
path is not rooted in one of the standard directories (like
ProgramFilesFolder), this component does not fit the criteria for having an
automatically generated guid.  (This error may also occur if a path contains
a likely standard directory such as nesting a directory with name "Common
Files" under ProgramFilesFolder.)

Any idea what I need to do to get this working?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-allow-autogenerated-ComponentGroup-to-autogenerate-Guids-tp7595750.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to