<?xml version="1.0" encoding="windows-1252"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?if $(var.Platform)=x64 ?>

  <?define Win64=yes ?>
  <?define GuidPackage=DCFB2432-6072-4F2C-B934-CD7E60576396 ?>
  <?define GuidPolKerberos=9ED6B62C-13D0-43BB-BCD7-4737D3E6EC43 ?>

  <?else?>

  <?define Win64=no ?>
  <?define GuidPackage=FC60A0C6-1B5C-4B38-8BDD-C647B4119C19 ?>
  <?define GuidPolKerberos=EF04F1AF-725B-4AF6-AE7B-18E2036C03B9 ?>

  <?endif?>

  <Module Id="Heimdal" Language="0" Version="$(var.Version)">

    <Package Id="$(var.GuidPackage)"
             InstallerVersion="200"
             Languages="1033" Manufacturer="Heimdal"
             SummaryCodepage="1252" AdminImage="no"
             Platform="$(var.Platform)" />

    <!--
        Publisher Configuration

        The publisher configuration files are included in the Heimdal
        installers, but not included in the Heimdal assemblies.
    -->

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='dir.policy.Heimdal.Kerberos'
		 Name='$(var.PolPrefix).$(var.AsmKrbName)'
		 FileSource='$(var.BinDir)\$(var.PolPrefix).$(var.AsmKrbName)'>

        <Component Id='comp.policy.Heimdal.Kerberos'
                   Guid='$(var.GuidPolKerberos)'
                   Win64='$(var.Win64)'>
	  <Condition>VersionNT &gt; 501</Condition>
          <File Name='$(var.Version).pol' KeyPath='yes' Assembly='win32'
                Id='policy.Kerberos' AssemblyManifest='policy.Kerberos' />
          <File Name='$(var.Version).cat' Id='policy.Kerberos.cat' />
        </Component>

      </Directory>
    </Directory>

  </Module>
</Wix>
