<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
    <Product Id='9e202a30-16db-4a3a-a0cf-2db1ef08b7e5' 
			Name='TrueCrypt 7.1 Device Driver 64bit' 
			Language='1033' 
			Version='7.1.0.0' 
			Manufacturer='TrueCrypt' 
			UpgradeCode='b0ab84ad-5b23-4f39-a43e-918b464ec6ca' >
		<Package Description='TrueCrypt 7.1 64bit Device Driver Installer Package.' 
			   Comments='This will install the TrueCrypt 64bit Device Driver and Service.' 
			   Manufacturer='TrueCrypt'
			   InstallerVersion='200'
			   Compressed='yes' />
		<Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
		<Directory Id='TARGETDIR' Name='SourceDir'>
			<Directory Id="SystemFolder">
				<Directory Id="DRIVERSFOLDER" Name="Drivers" />				
			</Directory>
		</Directory>
		<DirectoryRef Id="DRIVERSFOLDER">
			<Component Id='TrueCrypt_Driver' Guid='8f1af8e5-02a1-45ac-90d2-e8667d7fcca9' >
				<File Id='TCDriver' Name='truecrypt.sys' DiskId='1' Source='truecrypt-x64.sys' />
			</Component>
		</DirectoryRef>
		<DirectoryRef Id="TARGETDIR">
			<Component Id='RegistryEntries' Guid='6f2e527e-7753-453d-a64f-95c8ba285eb1' >
				<RegistryKey Root="HKLM"
							 Key="SYSTEM\CurrentControlSet\services\truecrypt"
							 Action="createAndRemoveOnUninstall">
					<RegistryValue Type="string" Name="DisplayName" Value="truecrypt" KeyPath="yes"/>
					<RegistryValue Type="integer" Name="Type" Value="00000001"/>
					<RegistryValue Type="integer" Name="Start" Value="00000001"/>
					<RegistryValue Type="integer" Name="ErrorControl" Value="00000001"/>
					<RegistryValue Type="expandable" Name="ImagePath" Value="SysWOW64\Drivers\truecrypt.sys"/>
				</RegistryKey>
			</Component>
		</DirectoryRef>
		<Feature Id='Driver' Title='TrueCrypt Driver' Level='1'>
			<ComponentRef Id='TrueCrypt_Driver' />
			<ComponentRef Id='RegistryEntries' />
		</Feature>
		<InstallExecuteSequence>
			<ScheduleReboot After="InstallFinalize"/>
		</InstallExecuteSequence>
	</Product>
</Wix>
