Hello Rob,

here is a minimal mergemodule showing the error:

<?xml version="1.0" encoding="UTF-8" ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Module Id="MergeModule" Language="1033" Version="1.0.0.0">
        <Package Id="{SomeGUID}" Manufacturer="ACME" InstallerVersion="200"
/>

        <Directory Id="TARGETDIR" Name="SourceDir">
                <Directory Id="CommonFilesFolder" />
        </Directory>

        <DirectoryRef Id="CommonFilesFolder">
            <Directory Id="ComStaHelper" Name="ACME">
                <Directory Id="ComStaHelperComSta" Name="ComStaHelper">
                    <Component Id="cComSTAHelper" SharedDllRefCount="yes">
                        <File Id="ComSTAHelper" Name="ComSTAHelper.dll"
Source="ComSTAHelper.dll" KeyPath="yes" Checksum="yes" />
                    </Component>
                </Directory>
            </Directory>
        </DirectoryRef>
    </Module>
</Wix>

W:\tmp\CommonFiles.wxs(14) : error LGHT0231 : The component
'cComSTAHelper.63744358_CA08_4563_B039_4BE7181B668E' has a key file with
path 'TARGETDIR\acme\comsta
helper\comstahelper.dll'.  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 "Co
mmon Files" under ProgramFilesFolder.)

Kind regards
Dirk
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to