<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Fragment>
    <DirectoryRef Id="INSTALLFOLDER">
      <Directory Id="DALSOFTHELPPAGESROOT" Name="Help">
        <Directory Id="DALSOFTHELPPAGESVIEWS" Name="DalSoft.WebApi.HelpPage.Views" >
          <Directory Id="DALSOFTHELPTEMPLATES" Name="DisplayTemplates"/>
        </Directory>
      </Directory>
    </DirectoryRef>

    <ComponentGroup Id="DalSoftWebApiHelpComponents" >
      <ComponentGroupRef Id="DalSoftWebApiHelpDlls"/>
      <ComponentGroupRef Id="DalSoftWebApiHelpPages"/>
      <ComponentGroupRef Id="DalSoftWebApiHelpTemplates" />
    </ComponentGroup>
    
    <ComponentGroup Id="DalSoftWebApiHelpDlls" Directory="INSTALLFOLDER">
      <Component Id="DalSoftWebApiHelpPageDll" Guid="{14336777-D4B4-4F13-86E5-40CC99EC2EF0}">
        <File Id="DalSoftWebApiHelpPage.dll"
              Source="$(var.WindowsDataCenter.TargetDir)\DalSoft.WebApi.HelpPage.dll"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
    </ComponentGroup>

    <ComponentGroup Id="DalSoftWebApiHelpPages" Directory="DALSOFTHELPPAGESVIEWS">
      <Component Id="apiCshtml" Guid="{EC37A9F3-9162-4977-94C8-0A3A7BF738BA}">
        <File Id="api.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\api.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="HelpPageCss" Guid="{B2D885B6-3C13-4756-9F65-46EE33E504EB}">
        <File Id="HelpPage.css"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\HelpPage.css"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="IndexCshtml" Guid="{33DDE962-66CC-4938-B0C5-1F554A58F1C7}">
        <File Id="Index.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\index.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
    </ComponentGroup>

    <ComponentGroup Id="DalSoftWebApiHelpTemplates" Directory="DALSOFTHELPTEMPLATES" >
      <Component Id="ApiGroupCshtml" Guid="{E204BCE6-40DB-4563-8B72-7CDCB425ECA9}">
        <File Id="ApiGroup.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\ApiGroup.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="HelpPageApiModelCshtml" Guid="{D4825C1A-C4F9-4EEA-AFA5-BD29B69A9E7D}">
        <File Id="HelpPageApiModel.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\HelpPageApiModel.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="ParametersCshtml" Guid="{9FDF06CE-5A92-42E5-AD5E-534D00EDD1AC}">
        <File Id="Parameters.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Parameters.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
      <Component Id="SamplesCshtml" Guid="{4FFCCC5C-D449-4461-9705-CA2269B1BE47}">
        <File Id="Samples.cshtml"
              Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Samples.cshtml"
              KeyPath="yes"
              Checksum="yes"/>
      </Component>
    </ComponentGroup>

  </Fragment>
</Wix>
