<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
	<Task>
		<Title>Install BES Relay 7.0</Title>
		<Description><![CDATA[
  <div class=FixletMessage>
      
<TABLE><TBODY><TR><TD> <P><FONT size=2>This task will install the BES Relay on the selected computers. </FONT><FONT size=2>For more information on BES Relays, please visit the following support web pages:</P> <UL> <LI><A href="http://support.bigfix.com/bes/misc/besrelays.html">BES Relay FAQ</A> - Information on using BES Relays to reduce bandwidth on slow WAN links, increase scalability, and increase performance. <LI><A href="http://support.bigfix.com/bes/misc/besrelayhealth.html">BES Relay Health</A> - Information on best practices for setting up and maintaining BES Relays.</FONT></LI></UL></TD></TR></TBODY></TABLE>
     
  </div>
  <div class=FixletProperty>
    <h4>File Size:</h4>
2.71 MB
      
  </div>
  ]]></Description>
		<Relevance><![CDATA[version of client >= "5.0"]]></Relevance>
		<Relevance>not exists regapp "besrelay.exe"</Relevance>
		<Relevance>name of operating system = "WinVista" OR name of operating system = "Win2000" OR name of operating system = "WinXP" OR name of operating system = "Win2003" OR name of operating system = "WinXP-2003" OR (name of operating system = "WinNT" AND csd version of operating system contains "6")</Relevance>
		<Relevance>not ((exists key "HKLM\Software\BigFix\Enterprise Server" of registry) AND ((exists value "BESInstalled" of key "HKLM\Software\BigFix\Enterprise Server" of registry) and (value "BESInstalled" of key "HKLM\Software\BigFix\Enterprise Server" of registry = 1)))</Relevance>
		<Relevance><![CDATA[version of regapp "iexplore.exe" >= "5"]]></Relevance>
		<Relevance>version of registration server = "7"</Relevance>
		<Category>BES Server/Relay Setting</Category>
		<DownloadSize>2839874</DownloadSize>
		<Source>BigFix</Source>
		<SourceID><![CDATA[<Unspecified>]]></SourceID>
		<SourceReleaseDate>2007-12-03</SourceReleaseDate>
		<SourceSeverity>Important</SourceSeverity>
		<Action ID="Action1">
			<Description>
				<PreLink>Click </PreLink>
				<Link>here</Link>
				<PostLink> to install the BES Relay to the default location.</PostLink>
			</Description>
			<ActionScript MIMEType="application/x-Fixlet-Windows-Shell">download http://download.bigfix.com/download/bes/7/BESRelayUpgrade-7.0.7.82.exe

continue if {(size of it = 2839874 AND sha1 of it = "d1a26c53b971b70a4562a92c574fb0fc80cb62a6") of file "BESRelayUpgrade-7.0.7.82.exe" of folder "__Download"}

wait __download\BESRelayUpgrade-7.0.7.82.exe -s

relay select</ActionScript>
		</Action>
		<Action ID="Action2">
			<Description>
				<PreLink>Click </PreLink>
				<Link>here</Link>
				<PostLink> to be prompted for a path where the BES Relay will be installed.</PostLink>
			</Description>
			<ActionScript MIMEType="application/x-Fixlet-Windows-Shell">action parameter query "Relay Install Location" with description "Please enter the path where you would like the BES Relay installed:" with default value "C:\Program Files\BigFix Enterprise\BES Relay"

download http://download.bigfix.com/download/bes/7/BESRelayUpgrade-7.0.7.82.exe

continue if {(size of it = 2839874 AND sha1 of it = "d1a26c53b971b70a4562a92c574fb0fc80cb62a6") of file "BESRelayUpgrade-7.0.7.82.exe" of folder "__Download"}

wait __download\BESRelayUpgrade-7.0.7.82.exe -s -a --InstallFolder="{parameter "Relay Install Location" of action}"

relay select</ActionScript>
		</Action>
		<Action ID="Action3">
			<Description>
				<PreLink>Click </PreLink>
				<Link>here</Link>
				<PostLink> to install the BES Relay on the drive with the most free space.</PostLink>
			</Description>
			<ActionScript MIMEType="application/x-Fixlet-Windows-Shell">download http://download.bigfix.com/download/bes/7/BESRelayUpgrade-7.0.7.82.exe

continue if {(size of it = 2839874 AND sha1 of it = "d1a26c53b971b70a4562a92c574fb0fc80cb62a6") of file "BESRelayUpgrade-7.0.7.82.exe" of folder "__Download"}

wait __download\BESRelayUpgrade-7.0.7.82.exe -s -a --InstallFolder="{name of drive whose (free space of it = maximum of (free spaces of drives))}\Program Files\BigFix Enterprise\BES Relay"

relay select</ActionScript>
		</Action>
	</Task>
</BES>