home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / dlmanifests / sua-dl.man < prev    next >
Extensible Markup Language  |  2008-01-19  |  5KB  |  100 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ******* Down Level Manifest For Component Subsystem-for-UNIX-based-applications ******* -->
  3. <assembly manifestVersion="1.0" description="Downlevel manifest for Subsystem-for-UNIX-based-applications" 
  4.  displayName="Subsystem-for-UNIX-based-applications" 
  5.  company="Microsoft" copyright="" supportInformation="" creationTimeStamp="2005-09-23T03:41:23.1615523+05:30" 
  6.  lastUpdateTimeStamp="2005-09-23T03:41:23.1615523+05:30" authors="pradeepa" owners="pradeepa" testers="shankul" 
  7.  buildFilter="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  8.  xmlns="urn:schemas-microsoft-com:asm.v3">
  9. <assemblyIdentity name="Subsystem-for-UNIX-based-applications-DL" version="0.0.0.0" 
  10.  processorArchitecture="*" publicKeyToken="$(Build.WindowsPublicKeyToken)" language="*" 
  11.  buildType="$(build.buildType)" buildFilter="" versionScope="nonSxS"></assemblyIdentity>
  12.  
  13.  
  14. <migration>
  15.  
  16.    <!-- Declare for which Longhorn equivalent OC this manifest corresponds too -->
  17.    <registerSDF name="SUA"></registerSDF>
  18.  
  19.    <migXml xmlns="">
  20.      <!-- This detects section is added just to identify whether the component is present or not -->
  21.        <detects>
  22.            <!-- First Condition evaluates Windows XP, 2000 or 2003 
  23.                 "AND" the second one evaluates whether SFU 3.5 "OR" SUA is installed 
  24.            -->
  25.            <detect>
  26.              <condition>MigXmlHelper.IsOSEarlierThan("NT", "6.0.0")</condition>
  27.            </detect>
  28.            <detect>
  29.              <condition>MigXmlHelper.DoesObjectExist("Registry","HKLM\SOFTWARE\Microsoft\SUA\AppsInstalled\Interix Subsystem")</condition>
  30.              <condition>MigXmlHelper.DoesObjectExist("Registry","HKLM\SOFTWARE\Microsoft\Services for UNIX\AppsInstalled\Interix Subsystem")</condition>
  31.            </detect>
  32.        </detects>
  33.  
  34.        <rules context="System">
  35.          <rules>
  36.          <detects>
  37.            <!-- Check as this is only valid for down-level OS == Windows XP, 2000 or 2003 & SFU 3.5 -->
  38.            <!-- Determined by the presence of a registry key -->
  39.            <detect>
  40.              <condition>MigXmlHelper.DoesObjectExist("Registry","HKLM\SOFTWARE\Microsoft\Services for UNIX\AppsInstalled\Interix Subsystem")</condition>
  41.            </detect>
  42.       
  43.            <detect>
  44.              <condition>MigXmlHelper.IsOSEarlierThan("NT", "6.0.0")</condition>
  45.            </detect>
  46.     
  47.          </detects>
  48.     
  49.          <include>
  50.              <objectSet>
  51.                     <pattern type="File">%SFUDIR%\etc [profile.usr]</pattern>
  52.                     <pattern type="File">%SFUDIR%\etc [csh.cshrc]</pattern>
  53.                     <pattern type="File">%SFUDIR%\etc [csh.login]</pattern>
  54.                     <pattern type="File">%SFUDIR%\etc [csh.logout]</pattern>
  55.                     <pattern type="File">%SFUDIR%\etc [profile]</pattern>
  56.                     <pattern type="File">%SFUDIR%\etc [rpc]</pattern>
  57.                     <pattern type="File">%SFUDIR%\etc [inetd.conf]</pattern>
  58.                     <pattern type="File">%SFUDIR%\etc [syslog.conf]</pattern>
  59.                   <pattern type="Registry">HKLM\SOFTWARE\Microsoft\Services For UNIX [EnableSetuidBinaries]</pattern>
  60.              </objectSet>
  61.           </include>
  62.           </rules>
  63.  
  64.          <rules context="System">
  65.          <detects>
  66.            <!-- Check as this is only valid for down-level OS == Windows 2003 & SUA 
  67.                    XP 64 also has the same version, but we dont have SFU 3.5 for XP 64
  68.            -->
  69.            <!-- Determined by the presence of a registry key -->
  70.            <detect>
  71.              <condition>MigXmlHelper.DoesObjectExist("Registry","HKLM\SOFTWARE\Microsoft\SUA\AppsInstalled\Interix Subsystem")</condition>
  72.            </detect>
  73.       
  74.            <detect>
  75.              <condition>MigXmlHelper.DoesOSMatch("NT", "5.2.*")</condition>
  76.            </detect>
  77.     
  78.          </detects>
  79.     
  80.          <include>
  81.              <objectSet>
  82.                     <pattern type="File">%systemroot%\SUA\etc [profile.usr]</pattern>
  83.                     <pattern type="File">%systemroot%\SUA\etc [csh.cshrc]</pattern>
  84.                     <pattern type="File">%systemroot%\SUA\etc [csh.login]</pattern>
  85.                     <pattern type="File">%systemroot%\SUA\etc [csh.logout]</pattern>
  86.                     <pattern type="File">%systemroot%\SUA\etc [profile]</pattern>
  87.                     <pattern type="File">%systemroot%\SUA\etc [rpc]</pattern>
  88.                     <pattern type="File">%systemroot%\SUA\etc [inetd.conf]</pattern>
  89.                     <pattern type="File">%systemroot%\SUA\etc [syslog.conf]</pattern>
  90.                   <pattern type="Registry">HKLM\SOFTWARE\Microsoft\SUA [EnableSetuidBinaries]</pattern>
  91.              </objectSet>
  92.           </include>
  93.           </rules>
  94.  
  95.        </rules>
  96.  
  97.    </migXml>   
  98. </migration>
  99. </assembly>
  100.