<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
	<Fragment>
    <ComponentGroup Id="LoggerComponents">
      <ComponentGroupRef Id="LoggerConfigComponents"/>
      <ComponentGroupRef Id="LoggerBinaryComponents"/>
    </ComponentGroup>
    
    <ComponentGroup Id="LoggerBinaryComponents" Directory="INSTALLFOLDER">
      <Component Id="NLog" Guid="{3CF61D98-23E5-4042-9325-B1CB25752B6E}">
        <File Id="NLog.dll"
              Checksum="yes"
              KeyPath="yes"
              Source="$(var.NLogLogger.TargetDir)NLog.dll" />
      </Component>
      <Component Id="NLogLogger" Guid="{37C18A51-7934-469E-8DA3-8214754798A6}">
        <File Id="NLogLogger.dll"
              Checksum="yes"
              KeyPath="yes"
              Source="$(var.NLogLogger.TargetDir)NLogLogger.dll" />
      </Component>
    </ComponentGroup>
    
    <ComponentGroup Id="LoggerConfigComponents" Directory="CONFIGSFOLDER">
      <Component Id="NLogConfig" Guid="{B4252427-AE6A-4AC5-AA7C-B87C37AF3EB4}">
        <File Id="NLogConfig.xml"
              Checksum="yes"
              KeyPath="yes"
              Source="$(var.NLogLogger.TargetDir)NLogConfig.xml" />
      </Component>
    </ComponentGroup>
	</Fragment>
</Wix>
