<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
	<Fragment>
    <ComponentGroup Id="NLogComponents">
      <ComponentGroupRef Id="NLoggerGroup"/>
      <ComponentGroupRef Id="NLogConfigFiles"/>
    </ComponentGroup>

    <ComponentGroup Id="NLoggerGroup" Directory="INSTALLFOLDER">
      <Component Id="NLoggerDll" Guid="{48765F51-86CA-4AD8-A34E-E4705353E101}">
        <File Id="NLogLoggerDll"
              Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="NLogDll" Guid="{D9D15A6F-9602-4B6B-BB76-AD0768D14780}">
        <File Id="NLog.dll"
              Source="$(var.NLogLogger.TargetDir)\NLog.dll"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="NLogLoggerDllConfig" Guid="{E3808BFF-5156-4123-B108-BECD0A5A99BC}">
        <File Id="NLogLoggerDllConfig"
              Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll.config"
              KeyPath="yes" />
      </Component>
    </ComponentGroup>

    <ComponentGroup Id="NLogConfigFiles" Directory="CONFIGFILES">
      <Component Id="NLogConfigFile" Guid="{DE1F65F2-C286-4495-984C-9BF5861A0567}">
        <File Id="NLogConfigXml"
              Source="$(var.NLogLogger.TargetDir)\NLogConfig.xml"
              KeyPath="yes" />
      </Component>
    </ComponentGroup>
	</Fragment>
</Wix>
