<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DOCUMENT Type="Advanced Installer" CreateVersion="9.4" version="9.4" Modules="professional" RootPath="." Language="en" Id="{52D5773B-DFDA-4C5F-8E34-5CF0DBCDD246}">
  <COMPONENT cid="caphyon.advinst.msicomp.MsiValidationComponent">
    <ROW Table="File" Column="Sequence" MinValue="1" MaxValue="32767" Description="Sequence with respect to the media images; order must track cabinet order." Options="0" ColumnType="2" ColumnIndex="7" ColumnSize="2" MsiKey="File#Sequence"/>
    <ROW Table="Media" Column="LastSequence" MinValue="0" MaxValue="32767" Description="File sequence number for the last file for this media." Options="0" ColumnType="2" ColumnIndex="1" ColumnSize="2" MsiKey="Media#LastSequence"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
    <ROW Property="AI_FINDEXE_TITLE" Value="Select the installation package for [|ProductName]" ValueLocId="AI.Property.FindExeTitle"/>
    <ROW Property="AI_ThemeStyle" Value="default" MultiBuildValue="DefaultBuild:style3blue" MsiKey="AI_ThemeStyle"/>
    <ROW Property="ALLUSERS" Value="1"/>
    <ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
    <ROW Property="ARPCONTACT" Value="Peter R. Fletcher, KCHS"/>
    <ROW Property="ARPHELPLINK" Value="support@arrowflight-data.com"/>
    <ROW Property="ARPNOMODIFY" MultiBuildValue="DefaultBuild:1"/>
    <ROW Property="ARPNOREPAIR" Value="1"/>
    <ROW Property="ARPURLINFOABOUT" Value="www.arrowflight-data.com/ewmembership"/>
    <ROW Property="DATAFILEDATE" Value="2012-06-06"/>
    <ROW Property="MSIFASTINSTALL" MultiBuildValue="DefaultBuild:1"/>
    <ROW Property="Manufacturer" Value="Arrowflight Data Services" ValueLocId="*"/>
    <ROW Property="OldData" Value="OLD_DATA_FOLDER"/>
    <ROW Property="ProductCode" Value="1033:{4159A3E6-64C3-4004-9B7A-23C382E33C7C} " Type="16"/>
    <ROW Property="ProductLanguage" Value="1033"/>
    <ROW Property="ProductName" Value="KHS England &amp; Wales Membership Database" ValueLocId="*"/>
    <ROW Property="ProductVersion" Value="2.61" Type="32"/>
    <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
    <ROW Property="UpgradeCode" Value="{48CF87A8-CEFD-4C3D-8CF2-8AF1743F2D18}"/>
    <ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
    <ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
    <ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
    <ROW Directory="AppDataFolder" Directory_Parent="TARGETDIR" DefaultDir="AppDat~1|AppDataFolder" IsPseudoRoot="1"/>
    <ROW Directory="DesktopFolder" Directory_Parent="TARGETDIR" DefaultDir="Deskto~1|DesktopFolder" IsPseudoRoot="1"/>
    <ROW Directory="Membership_Dir" Directory_Parent="AppDataFolder" DefaultDir="KHSMem~1|KHSMembership"/>
    <ROW Directory="OldData" Directory_Parent="TARGETDIR" DefaultDir="OldData:OLD_DA~1|OLD_DATA_FOLDER" IsPseudoRoot="1"/>
    <ROW Directory="SHORTCUTDIR" Directory_Parent="TARGETDIR" DefaultDir="SHORTC~1|SHORTCUTDIR" IsPseudoRoot="1"/>
    <ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
    <ROW Component="AI_ExePath" ComponentId="{5C1934F5-6813-4623-93AF-FB318648D7B0}" Directory_="APPDIR" Attributes="4" KeyPath="AI_ExePath"/>
    <ROW Component="AddTrust" ComponentId="{704DEEDC-9781-434A-AFDA-3F1C9B41CFAE}" Directory_="APPDIR" Attributes="4" KeyPath="AddTrust" Options="2"/>
    <ROW Component="DataFileDate" ComponentId="{65619EFB-AF9F-4B4D-AA2A-09F3EB4DF1E7}" Directory_="APPDIR" Attributes="4" KeyPath="DataFileDate"/>
    <ROW Component="DataPath" ComponentId="{A1F3753B-F6D4-4631-8F57-FB70F885493B}" Directory_="APPDIR" Attributes="4" KeyPath="DataPath"/>
    <ROW Component="F2DE1_E21C_494A_B2EE_4D8397D05ECD" ComponentId="{99218C28-229A-49E1-936C-F24111C7EC30}" Directory_="APPDIR" Attributes="4" KeyPath="F2DE1_E21C_494A_B2EE_4D8397D05ECD" Options="2"/>
    <ROW Component="Membership.accdr_1" ComponentId="{E89AF853-40B4-4B02-B7AC-0D97ACE13B98}" Directory_="Membership_Dir" Attributes="0" KeyPath="Membership.accdr" Type="0"/>
    <ROW Component="Membership.chm" ComponentId="{43A46E83-8F24-41C7-AE38-3B88DF44A515}" Directory_="Membership_Dir" Attributes="0" KeyPath="Membership.chm" Type="1"/>
    <ROW Component="Membership_Data.accdb" ComponentId="{4E1924BF-99EF-4F4C-B9C2-CC7633D61C43}" Directory_="Membership_Dir" Attributes="0" KeyPath="Membership_Data.accdb"/>
    <ROW Component="OldData" ComponentId="{836AD28F-7D84-4DC9-ABEB-F5B33004986D}" Directory_="OldData" Attributes="0"/>
    <ROW Component="ProductInformation" ComponentId="{ADB5FA27-C756-46AB-9E66-561FAEBD26D1}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
    <ROW Component="SHORTCUTDIR" ComponentId="{7311C2B3-2CC0-4030-90CD-C33FCA2B6844}" Directory_="SHORTCUTDIR" Attributes="0"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
    <ROW Feature="AddTrust" Title="AddTrust" Description="AddTrust" Display="5" Level="1" Attributes="0" Components="AddTrust"/>
    <ROW Feature="F2DE1_E21C_494A_B2EE_4D8397D05ECD" Title="Access 2007 Runtime" Description="Access 2007 Runtime" Display="3" Level="1" Attributes="16" Components="F2DE1_E21C_494A_B2EE_4D8397D05ECD"/>
    <ROW Feature="Feature" Title="InstallData" Description="Description" Display="9" Level="32767" Directory_="APPDIR" Attributes="0" Options="32" Components="Membership_Data.accdb"/>
    <ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0" Components="AI_ExePath DataFileDate DataPath Membership.accdr_1 Membership.chm OldData ProductInformation SHORTCUTDIR"/>
    <ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
    <ROW File="Membership.accdr" Component_="Membership.accdr_1" FileName="Member~1.acc|Membership.accdr" Attributes="0" SourcePath="Membership.accdr" SelfReg="false" NextFile="Membership.chm"/>
    <ROW File="Membership.chm" Component_="Membership.chm" FileName="Member~1.chm|Membership.chm" Attributes="0" SourcePath="Membership.chm" SelfReg="false" NextFile="Membership_Data.accdb"/>
    <ROW File="Membership.pdf" Component_="Membership.accdr_1" FileName="Member~1.pdf|Membership.pdf" Attributes="0" SourcePath="Membership.pdf" SelfReg="false"/>
    <ROW File="Membership_Data.accdb" Component_="Membership_Data.accdb" FileName="Member~2.acc|Membership_Data.accdb" Attributes="0" SourcePath="Membership_Data.accdb" SelfReg="false" NextFile="Membership.pdf"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.AiMoveFileComponent">
    <ROW MoveFile="Membership_Data.accdb" Condition="OLD_DATA_FILE" ExtendedOptions="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
    <ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder="E&amp;W Releases" PackageFileName="MembershipInstall" Languages="en" InstallationType="2" CabsLocation="1" CompressCabs="false" UseLzma="true" LzmaMethod="2" LzmaCompressionLevel="2" PackageType="1" FilesInsideExe="true" ExtractionFolder="[AppDataFolder][|Manufacturer]\[|ProductName] [|ProductVersion]\install" UseLargeSchema="true"/>
    <ATTRIBUTE name="CurrentBuild" value="DefaultBuild"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
    <ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
    <ROW Path="&lt;AI_DICTS&gt;ui_en.ail"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.DigCertStoreComponent">
    <ROW TimeStampUrl="http://timestamp.verisign.com/scripts/timstamp.dll" SignOptions="0" SignTool="0" Thumbprint="eace52f8809dd38984d242cbaf953743799d716e Subject: Peter Richard Fletcher&#10;Issuer: GlobalSign CodeSigning CA - G2&#10;Valid from 08/15/2012 to 08/16/2014"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
    <ROW Fragment="CommonUI.aip" Path="&lt;AI_FRAGS&gt;CommonUI.aip"/>
    <ROW Fragment="FolderDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\FolderDlg.aip"/>
    <ROW Fragment="MaintenanceTypeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceTypeDlg.aip"/>
    <ROW Fragment="MaintenanceWelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceWelcomeDlg.aip"/>
    <ROW Fragment="SequenceDialogs.aip" Path="&lt;AI_THEMES&gt;classic\fragments\SequenceDialogs.aip"/>
    <ROW Fragment="Sequences.aip" Path="&lt;AI_FRAGS&gt;Sequences.aip"/>
    <ROW Fragment="StaticUIStrings.aip" Path="&lt;AI_FRAGS&gt;StaticUIStrings.aip"/>
    <ROW Fragment="UI.aip" Path="&lt;AI_THEMES&gt;classic\fragments\UI.aip"/>
    <ROW Fragment="Validation.aip" Path="&lt;AI_FRAGS&gt;Validation.aip"/>
    <ROW Fragment="VerifyRemoveDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRemoveDlg.aip"/>
    <ROW Fragment="VerifyRepairDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRepairDlg.aip"/>
    <ROW Fragment="WelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\WelcomeDlg.aip"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiActionTextComponent">
    <ROW Action="AI_AiMoveFilesDeferred" Description="Moving Files" Template="File: [1],  Directory: [2],  Size: [3]" DescriptionLocId="ActionText.Description.AI_AiMoveFilesDeferred" TemplateLocId="ActionText.Template.AI_AiMoveFilesDeferred"/>
    <ROW Action="AI_AiMoveFilesImmediate" Description="Moving files" Template="File: [1],  Directory: [2],  Size: [3]" DescriptionLocId="ActionText.Description.AI_AiMoveFilesImmediate" TemplateLocId="ActionText.Template.AI_AiMoveFilesImmediate"/>
    <ROW Action="AI_AiMoveFilesRollback" Description="Rollback move files" Template="File: [1],  Directory: [2],  Size: [3]" DescriptionLocId="ActionText.Description.AI_AiMoveFilesRollback" TemplateLocId="ActionText.Template.AI_AiMoveFilesRollback"/>
    <ROW Action="AI_DeleteLzma" Description="Deleting files extracted from archive" DescriptionLocId="ActionText.Description.AI_DeleteLzma" TemplateLocId="-"/>
    <ROW Action="AI_DeleteRLzma" Description="Deleting files extracted from archive" DescriptionLocId="ActionText.Description.AI_DeleteLzma" TemplateLocId="-"/>
    <ROW Action="AI_DownloadPrereq" Description="Downloading prerequisite software" Template="Downloading [1]{[2] completed}" DescriptionLocId="ActionText.Description.AI_DownloadPrereq" TemplateLocId="ActionText.Template.AI_DownloadPrereq"/>
    <ROW Action="AI_ExtractLzma" Description="Extracting files from archive" DescriptionLocId="ActionText.Description.AI_ExtractLzma" TemplateLocId="-"/>
    <ROW Action="AI_ExtractPrereq" Description="Extracting prerequisite software" Template="Extracting [1]{[2] completed}" DescriptionLocId="ActionText.Description.AI_ExtractPrereq" TemplateLocId="ActionText.Template.AI_ExtractPrereq"/>
    <ROW Action="AI_InstallPostPrerequisite" Description="Installing prerequisite software" Template="Installing [1]{[2] completed}" DescriptionLocId="ActionText.Description.AI_InstallPrerequisite" TemplateLocId="ActionText.Template.AI_InstallPrerequisite"/>
    <ROW Action="AI_InstallPrerequisite" Description="Installing prerequisite software" Template="Installing [1]{[2] completed}" DescriptionLocId="ActionText.Description.AI_InstallPrerequisite" TemplateLocId="ActionText.Template.AI_InstallPrerequisite"/>
    <ROW Action="AI_VerifyPrereq" Description="Verifying prerequisites" Template="[1] was not installed correctly." DescriptionLocId="ActionText.Description.AI_VerifyPrereq" TemplateLocId="ActionText.Template.AI_VerifyPrereq"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiAppSearchComponent">
    <ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_CU" Builds="DefaultBuild"/>
    <ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_LM" Builds="DefaultBuild"/>
    <ROW Property="ACCESS_VERSION" Signature_="AppSearchSign"/>
    <ROW Property="OLD_DATA_FILE" Signature_="FileSearchSign"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
    <ROW Name="Prereq.dll" SourcePath="&lt;AI_CUSTACTS&gt;Prereq.dll"/>
    <ROW Name="ResourceCleaner.dll" SourcePath="&lt;AI_CUSTACTS&gt;ResourceCleaner.dll"/>
    <ROW Name="aicustact.dll" SourcePath="&lt;AI_CUSTACTS&gt;aicustact.dll"/>
    <ROW Name="lzmaextractor.dll" SourcePath="&lt;AI_CUSTACTS&gt;lzmaextractor.dll"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiConditionComponent">
    <ROW Feature_="Feature" Level="1" Condition="not OLD_DATA_FILE" Options="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiControlComponent">
    <ATTRIBUTE name="FixedSizeBitmaps" value="2"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
    <ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
    <ROW Dialog_="MaintenanceWelcomeDlg" Control_="Next" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="99"/>
    <ROW Dialog_="CustomizeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_MAINT" Ordering="101"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_INSTALL" Ordering="197"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="201"/>
    <ROW Dialog_="CustomizeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="1"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_MAINT" Ordering="198"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="202"/>
    <ROW Dialog_="MaintenanceTypeDlg" Control_="ChangeButton" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="501"/>
    <ROW Dialog_="MaintenanceTypeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceWelcomeDlg" Condition="AI_MAINT" Ordering="1"/>
    <ROW Dialog_="MaintenanceTypeDlg" Control_="RemoveButton" Event="NewDialog" Argument="VerifyRemoveDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="601"/>
    <ROW Dialog_="VerifyRemoveDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="1"/>
    <ROW Dialog_="MaintenanceTypeDlg" Control_="RepairButton" Event="NewDialog" Argument="VerifyRepairDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="601"/>
    <ROW Dialog_="VerifyRepairDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="1"/>
    <ROW Dialog_="VerifyRepairDlg" Control_="Repair" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="399"/>
    <ROW Dialog_="VerifyRemoveDlg" Control_="Remove" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="299"/>
    <ROW Dialog_="PatchWelcomeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_PATCH" Ordering="201"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/>
    <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="PatchWelcomeDlg" Condition="AI_PATCH" Ordering="203"/>
    <ROW Dialog_="ResumeDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_RESUME" Ordering="299"/>
    <ROW Dialog_="ExitDialog" Control_="Finish" Event="DoAction" Argument="AI_CleanPrereq" Condition="1" Ordering="301"/>
    <ROW Dialog_="FatalError" Control_="Finish" Event="DoAction" Argument="AI_CleanPrereq" Condition="1" Ordering="102"/>
    <ROW Dialog_="UserExit" Control_="Finish" Event="DoAction" Argument="AI_CleanPrereq" Condition="1" Ordering="101"/>
    <ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="201"/>
    <ROW Dialog_="FolderDlg" Control_="Back" Event="NewDialog" Argument="WelcomeDlg" Condition="AI_INSTALL" Ordering="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCreateFolderComponent">
    <ROW Directory_="SHORTCUTDIR" Component_="SHORTCUTDIR"/>
    <ROW Directory_="OldData" Component_="OldData"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
    <ROW Action="AI_AiMoveFilesDeferred" Type="11265" Source="ResourceCleaner.dll" Target="OnAiMoveFilesDeferred" WithoutSeq="true"/>
    <ROW Action="AI_AiMoveFilesImmediate" Type="1" Source="ResourceCleaner.dll" Target="OnAiMoveFilesImmediate"/>
    <ROW Action="AI_AiMoveFilesRollback" Type="11521" Source="ResourceCleaner.dll" Target="OnAiMoveFilesRollback" WithoutSeq="true"/>
    <ROW Action="AI_AppSearchEx" Type="1" Source="Prereq.dll" Target="DoAppSearchEx"/>
    <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Type="51" Source="AI_SETUPEXEPATH_ORIGINAL" Target="[AI_SETUPEXEPATH]"/>
    <ROW Action="AI_CleanPrereq" Type="65" Source="Prereq.dll" Target="CleanPrereq" WithoutSeq="true"/>
    <ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
    <ROW Action="AI_DeleteCadLzma" Type="51" Source="AI_DeleteLzma" Target="[AI_SETUPEXEPATH]"/>
    <ROW Action="AI_DeleteLzma" Type="1025" Source="lzmaextractor.dll" Target="DeleteLZMAFiles"/>
    <ROW Action="AI_DeleteRCadLzma" Type="51" Source="AI_DeleteRLzma" Target="[AI_SETUPEXEPATH]"/>
    <ROW Action="AI_DeleteRLzma" Type="1281" Source="lzmaextractor.dll" Target="DeleteLZMAFiles"/>
    <ROW Action="AI_DownloadPrereq" Type="1" Source="Prereq.dll" Target="DownloadPrereq"/>
    <ROW Action="AI_ExtractCadLzma" Type="51" Source="AI_ExtractLzma" Target="[AI_SETUPEXEPATH]"/>
    <ROW Action="AI_ExtractLzma" Type="1025" Source="lzmaextractor.dll" Target="ExtractLZMAFiles"/>
    <ROW Action="AI_ExtractPrereq" Type="65" Source="Prereq.dll" Target="ExtractPrereq"/>
    <ROW Action="AI_FindExeLzma" Type="1" Source="lzmaextractor.dll" Target="FindEXE"/>
    <ROW Action="AI_InstallModeCheck" Type="1" Source="aicustact.dll" Target="UpdateInstallMode" WithoutSeq="true"/>
    <ROW Action="AI_InstallPostPrerequisite" Type="1" Source="Prereq.dll" Target="InstallPostPrereq"/>
    <ROW Action="AI_InstallPrerequisite" Type="65" Source="Prereq.dll" Target="InstallPrereq"/>
    <ROW Action="AI_PREPARE_UPGRADE" Type="65" Source="aicustact.dll" Target="PrepareUpgrade"/>
    <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Type="51" Source="AI_SETUPEXEPATH" Target="[AI_SETUPEXEPATH_ORIGINAL]"/>
    <ROW Action="AI_RESTORE_LOCATION" Type="65" Source="aicustact.dll" Target="RestoreLocation"/>
    <ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
    <ROW Action="AI_ResolveLocalizedCredentials" Type="1" Source="aicustact.dll" Target="GetLocalizedCredentials"/>
    <ROW Action="AI_SHOW_LOG" Type="65" Source="aicustact.dll" Target="LaunchLogFile" WithoutSeq="true"/>
    <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
    <ROW Action="AI_VerifyPrereq" Type="1" Source="Prereq.dll" Target="VerifyPrereq"/>
    <ROW Action="GetOldDataFolder" Type="38" Target="MsgBox(Session.Property(&quot;OLD_DATA_FILE&quot;) &amp; &quot;: Getting Data Folder&quot;): GetOldDataFolder(): MsgBox(&quot;Got Data Folder: &quot; &amp; Session.Property(&quot;OLD_DATA_FILE&quot;)): Function GetOldDataFolder():  filePath = Session.Property(&quot;OLD_DATA_FILE&quot;):  Set objFS = CreateObject(&quot;Scripting.FileSystemObject&quot;):  If (objFS.FileExists(filePath)) Then:    Session.Property(&quot;OLD_DATA_FOLDER&quot;) = AppendTrailingBackslash(objFS.GetParentFolderName(filePath)):  End If:End Function:Function AppendTrailingBackslash(folderPath):  If Right(folderPath, 1) &lt;&gt; &quot;\&quot; Then:    AppendTrailingBackslash = folderPath &amp; &quot;\&quot;:  Else:    AppendTrailingBackslash = folderPath:  End If:End Function"/>
    <ROW Action="GetOldDataFolder_1" Type="38" Target="MsgBox(Session.Property(&quot;OLD_DATA_FILE&quot;) &amp; &quot;; Getting Data Folder&quot;): GetOldDataFolder(): MsgBox( &quot;Got Data Folder: &quot; &amp; Session.Property(&quot;OLD_DATA_FOLDER&quot;)): Function GetOldDataFolder():  filePath = Session.Property(&quot;OLD_DATA_FILE&quot;):  Set objFS = CreateObject(&quot;Scripting.FileSystemObject&quot;):  If (objFS.FileExists(filePath)) Then:    Session.Property(&quot;OLD_DATA_FOLDER&quot;) = AppendTrailingBackslash(objFS.GetParentFolderName(filePath)):  End If:End Function:Function AppendTrailingBackslash(folderPath):  If Right(folderPath, 1) &lt;&gt; &quot;\&quot; Then:    AppendTrailingBackslash = folderPath &amp; &quot;\&quot;:  Else:    AppendTrailingBackslash = folderPath:  End If:End Function"/>
    <ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][Manufacturer]\[ProductName]" MultiBuildTarget="DefaultBuild:[AppDataFolder][ProductName]"/>
    <ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
    <ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
    <ROW Action="UpdateFeaturesInstallStates" Type="1" Source="aicustact.dll" Target="UpdateFeatureStates" Options="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiDrLocatorComponent">
    <ROW Signature_="FileSearchSign" Path="[AppDataFolder]" Depth="3"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
    <ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="210"/>
    <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
    <ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/>
    <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE=&quot;No&quot; AND (Not Installed)" Sequence="1399"/>
    <ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
    <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
    <ROW Action="AI_VerifyPrereq" Sequence="1101"/>
    <ROW Action="AI_AppSearchEx" Sequence="102"/>
    <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Sequence="99" Builds="DefaultBuild"/>
    <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Condition="AI_SETUPEXEPATH_ORIGINAL" Sequence="101" Builds="DefaultBuild"/>
    <ROW Action="AI_DeleteCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="199" Builds="DefaultBuild"/>
    <ROW Action="AI_DeleteRCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="198" Builds="DefaultBuild"/>
    <ROW Action="AI_ExtractCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="197" Builds="DefaultBuild"/>
    <ROW Action="AI_FindExeLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="196" Builds="DefaultBuild"/>
    <ROW Action="AI_ExtractLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="1549" Builds="DefaultBuild"/>
    <ROW Action="AI_DeleteRLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="1548" Builds="DefaultBuild"/>
    <ROW Action="AI_DeleteLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (NOT PATCH)" Sequence="6599" Builds="DefaultBuild"/>
    <ROW Action="GetOldDataFolder" Condition="( NOT Installed )" Sequence="211"/>
    <ROW Action="AI_AiMoveFilesImmediate" Sequence="3799"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
    <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
    <ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
    <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
    <ROW Action="AI_DownloadPrereq" Sequence="1297"/>
    <ROW Action="AI_ExtractPrereq" Sequence="1298"/>
    <ROW Action="AI_InstallPrerequisite" Sequence="1299"/>
    <ROW Action="AI_InstallPostPrerequisite" Sequence="1301"/>
    <ROW Action="AI_AppSearchEx" Sequence="102"/>
    <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Sequence="99"/>
    <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Condition="AI_SETUPEXEPATH_ORIGINAL" Sequence="101"/>
    <ROW Action="UpdateFeaturesInstallStates" Condition="( NOT Installed )" Sequence="1279"/>
    <ROW Action="GetOldDataFolder_1" Condition="( NOT Installed )" Sequence="201"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
    <ROW Condition="ACCESS_VERSION AND ((CURRENT_ACCESS_VERSION &lt; &quot;Access.Application.12&quot;) OR ( CURRENT_ACCESS_VERSION &gt;= &quot;Access.Application.2&quot;))" Description="A version of the Microsoft Access program earlier then Access 2007 appears to be installed on this system. The database Application cannot run under pre-2007 versions of Access."/>
    <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiMoveFileComponent">
    <ROW FileKey="Membership_Data.accdb" Component_="AI_ExePath" SourceName="Membership_Data.accdb" DestName="Member~1.acc|Membership_Data.accdb" SourceFolder="OldData" DestFolder="Membership_Dir" Options="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiRegLocatorComponent">
    <ROW Signature_="AI_EXE_PATH_CU" Root="1" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Type="2"/>
    <ROW Signature_="AI_EXE_PATH_LM" Root="2" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Type="2"/>
    <ROW Signature_="AppSearchSign" Root="0" Key="Access.Application\CurVer" Type="2"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
    <ROW Registry="AI_ExePath" Root="-1" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Value="[AI_SETUPEXEPATH]" Component_="AI_ExePath"/>
    <ROW Registry="AddTrust" Root="-1" Key="Software\Caphyon\Advanced Installer\Prereqs\[ProductCode]\[ProductVersion]" Name="AddTrust" Value="1" Component_="AddTrust"/>
    <ROW Registry="DataFileDate" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="DataFileDate" Value="[DATAFILEDATE]" Component_="DataFileDate"/>
    <ROW Registry="DataPath" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="DataPath" Value="[AppDataFolder]" Component_="DataPath"/>
    <ROW Registry="F2DE1_E21C_494A_B2EE_4D8397D05ECD" Root="-1" Key="Software\Caphyon\Advanced Installer\Prereqs\[ProductCode]\[ProductVersion]" Name="F2DE1_E21C_494A_B2EE_4D8397D05ECD" Value="1" Component_="F2DE1_E21C_494A_B2EE_4D8397D05ECD"/>
    <ROW Registry="Path" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Path" Value="[APPDIR]" Component_="ProductInformation"/>
    <ROW Registry="Version" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Version" Value="[ProductVersion]" Component_="ProductInformation"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiShortsComponent">
    <ROW Shortcut="DatabaseApplicationUserManual" Directory_="SHORTCUTDIR" Name="Databa~1|Database Application User Manual" Component_="Membership.accdr_1" Target="[#Membership.pdf]" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="AppDataFolder"/>
    <ROW Shortcut="KHSEWMembershipDatabase" Directory_="SHORTCUTDIR" Name="KHSE&amp;W~2|KHS E&amp;W Membership Database Application" Component_="Membership.accdr_1" Target="[#Membership.accdr]" Description="Member Database for the KHS England &amp; Wales Lieutenancy" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="AppDataFolder"/>
    <ROW Shortcut="KHSEWMembershipDatabaseApplication" Directory_="DesktopFolder" Name="KHSE&amp;W~1|KHS E&amp;W Membership Database Application" Component_="Membership.accdr_1" Target="[#Membership.accdr]" Description="Member Database for the KHS England &amp; Wales Lieutenancy" Hotkey="0" IconIndex="0" ShowCmd="1" WkDir="AppDataFolder"/>
    <ROW Shortcut="MembershipDatabaseDatafolder" Directory_="SHORTCUTDIR" Name="Member~1|Membership Database Data folder" Component_="Membership.chm" Target="[Membership_Dir]" Description="Shortcut to the data folder which contains the database and other files" Hotkey="0" IconIndex="0" ShowCmd="1"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiSignatureComponent">
    <ROW Signature="FileSearchSign" FileName="Membership_Data.accdb"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiThemeComponent">
    <ATTRIBUTE name="UsedTheme" value="classic"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.MsiUpgradeComponent">
    <ROW UpgradeCode="[|UpgradeCode]" VersionMax="[|ProductVersion]" Attributes="1025" ActionProperty="OLDPRODUCTS"/>
    <ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.PreReqComponent">
    <ROW PrereqKey="AddTrust" DisplayName="AddTrust" SetupFileUrl="E&amp;W Releases\AddTrust.exe" Location="0" ExactSize="0" Win9xVersions="Windows 9x/ME" Operator="1" Options="pi" TargetName="AddTrust.exe" Type="1" Feature="AddTrust"/>
    <ROW PrereqKey="F2DE1_E21C_494A_B2EE_4D8397D05ECD" DisplayName="Access 2007 Runtime" SetupFileUrl="http://download.microsoft.com/download/D/2/A/D2A2FC8B-0447-491C-A5EF-E8AA3A74FB98/AccessRuntime.exe" Location="1" ExactSize="0" Win9xVersions="Windows 9x/ME" WinNTVersions="Windows NT 4.0, Windows NT 4.0 Service Pack 1, Windows NT 4.0 Service Pack 2, Windows NT 4.0 Service Pack 3, Windows NT 4.0 Service Pack 4, Windows NT 4.0 Service Pack 5, Windows NT 4.0 Service Pack 6, Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows XP x86, Windows XP x86 Service Pack 1" Operator="1" Options="m" Type="1" Feature="F2DE1_E21C_494A_B2EE_4D8397D05ECD"/>
    <ATTRIBUTE name="PrereqsOrder" value="F2DE1_E21C_494A_B2EE_4D8397D05ECD AddTrust"/>
  </COMPONENT>
  <COMPONENT cid="caphyon.advinst.msicomp.PreReqSearchComponent">
    <ROW SearchKey="CurVer" Prereq="F2DE1_E21C_494A_B2EE_4D8397D05ECD" SearchType="9" SearchString="HKCR\Access.Application\CurVer\" RefContent="MAccess.Application.14" Order="2" Property="PREREQSEARCH"/>
    <ROW SearchKey="F2DE1_E21C_494A_B2EE_4D8397D05ECD_ACCESS_2007_RUNTIME_SEARCH" Prereq="F2DE1_E21C_494A_B2EE_4D8397D05ECD" SearchType="9" SearchString="HKCR\Access.Application\CurVer\" RefContent="MAccess.Application.12" Order="1" Property="AI_ACCESS_2007_RUNTIME_PREREQSEARCH_PROP"/>
  </COMPONENT>
</DOCUMENT>
