<?xml version="1.0" encoding="utf-8" ?>
<DependencyCheckerConfiguration>
  <properties>
    <property name="package" value="Plan My Night Demo" />
  </properties>
  
  <title>%package%</title>

  <image>.\Resources\customLogo.png</image>

  <previews>
    <title><![CDATA[The Configuration Wizard will perform the following steps:]]></title>
    <preview name="Check dependencies" description="Check prerequisites for the %package%." />
    <preview name="Configure %package%">
      <description><![CDATA[Configure %package%.]]></description>
    </preview>
  </previews>

  <dependencyScan>
    <title><![CDATA[Detecting Required Software]]></title>
    <bottomMessages>
      <scanningMessage><![CDATA[<b>Scanning for dependencies</b>]]></scanningMessage>
      <scanCompletedFailedMessage><![CDATA[<b>Scan completed.</b> Install missing dependencies to continue]]></scanCompletedFailedMessage>
      <scanCompletedExceptionMessage><![CDATA[<b>Scan failed.</b> Click Rescan to try again]]></scanCompletedExceptionMessage>
      <scanCompletedSuccessfullyMessage><![CDATA[<b>Scan completed.</b> Click Next to configure your computer]]></scanCompletedSuccessfullyMessage>
    </bottomMessages>
  </dependencyScan>
  
  <tasks>
    <task description="Add VHosts entries to HOSTS file" scriptName=".\Scripts\Tasks\SetupHostsFile.cmd" displayConsole="true"/>
    <task description="Start and Setup Velocity (if installed)" scriptName=".\Scripts\Tasks\SetupCache.cmd" displayConsole="true"/>
  </tasks>
  
  <dependencies>
    <os type="Vista;Server" buildNumber="2600;6000;6001;7100;7600">
      <dependency
                value=".\Scripts\Dependencies\Check\CheckVS2010Beta2.ps1"
                enabled="true"
                optional="false"
                title="Microsoft Visual Studio 2010 Beta 2"
                explanation="The demo requires .NET Framework 4.0 and VS 2010 Beta 2 in order to run." />
      <dependency
                value=".\Scripts\Dependencies\Check\CheckSQL2008.ps1"
                enabled="true"
                optional="false"
                title="Microsoft SQL Server 2008 (or Express)"
                explanation="The demo requires SQL Server 2008 or its Express edition."
                downloadUrl="http://www.microsoft.com/express/sql/download/"
                />
      <dependency
                value=".\Scripts\Dependencies\Check\CheckMVC20.ps1"
                enabled="true"
                optional="false"
                title="ASP.NET MVC 2.0"
                explanation="The demo requires ASP.NET MVC 2.0 &amp; Visual Studio 2010 Tools for ASP.NET MVC 2.0."
                downloadUrl="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28527"
                />
      <dependency
                value=".\Scripts\Dependencies\Check\CheckVelocity.ps1"
                enabled="true"
                optional="true"
                title="Microsoft Project Code Named 'Velocity' CTP 3 "
                explanation="Velocity is an optional dependency."
                downloadUrl="http://www.microsoft.com/downloads/details.aspx?FamilyId=B24C3708-EEFF-4055-A867-19B5851E7CD2" />
    </os>
  </dependencies>

  <errorMessages>
    <errorMessage error="OperatingSystemNotSupported">
      <![CDATA[<b>Your OS is not supported by the %package%.</b>]]>
    </errorMessage>
  </errorMessages>
  
</DependencyCheckerConfiguration>