home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / dlmanifests / microsoft-windows-iis-metabase-dl.man < prev    next >
Text File  |  2008-01-19  |  4KB  |  101 lines

  1. <assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3.           manifestVersion="1.0"
  4.           displayName="Metabase Downlevel"
  5.           description="Downlevel manifest for Metabase Migration"
  6.           company="Microsoft"
  7.           copyright=""
  8.           supportInformation=""
  9.           creationTimeStamp="2005-04-17T23:19:59.7179214-07:00"
  10.           lastUpdateTimeStamp="2005-06-21T21:50:06.5375172-07:00"
  11.           authors="edchou"
  12.           owners="edchou"
  13.           testers=""
  14.           buildFilter=""
  15.           xmlns="urn:schemas-microsoft-com:asm.v3">
  16.  
  17.     <assemblyIdentity name="Microsoft-Windows-IIS-Metabase-Deployment-DL"
  18.                       version="0.0.0.0"
  19.                       processorArchitecture="*"
  20.                       language="*"
  21.                       type=""
  22.                       publicKeyToken="$(Build.WindowsPublicKeyToken)"
  23.                       buildType="$(build.buildType)"
  24.                       versionScope="nonSxS"
  25.                       buildFilter="">
  26.     </assemblyIdentity>
  27.  
  28.     <migration>
  29.  
  30.         <registerSDF name="IIS-Metabase">
  31.         </registerSDF>
  32.  
  33.         <migXml xmlns="">
  34.  
  35.           <!-- This migXml secton was added post Vista RTM, registerSDF does not work
  36.                if migXml is wrapped by a machineSpecific section (as the migXml section below),
  37.                because of that, we must duplicate the migXml section. 
  38.                Removing machineSpecific from the manifests is a high risk because
  39.                it was shipped on Vista RTM.
  40.                -->
  41.  
  42.           <detects>
  43.             <detect>
  44.               <condition>
  45.                 MigXmlHelper.IsOSEarlierThan("NT", "6.0")
  46.               </condition>
  47.             </detect>
  48.             <detect>
  49.               <condition>
  50.                 MigXmlHelper.DoesObjectExist( "Registry", "HKLM\System\CurrentControlSet\Services\IISADMIN [ImagePath]" )
  51.               </condition>
  52.             </detect>
  53.           </detects>
  54.         </migXml>
  55.  
  56.         <machineSpecific>
  57.             <migXml xmlns="">
  58.  
  59.                 <!-- On a down-level system, we detect the presence of the    -->
  60.                 <!-- metabase by looking for the IISADMIN service.  We base   -->
  61.                 <!-- this on the registry key for the service declaration.    -->
  62.  
  63.                 <detects>
  64.                   <detect>
  65.                     <condition>
  66.                       MigXmlHelper.IsOSEarlierThan("NT", "6.0")
  67.                     </condition>
  68.                   </detect>
  69.                   <detect>
  70.                     <condition>
  71.                       MigXmlHelper.DoesObjectExist( "Registry", "HKLM\System\CurrentControlSet\Services\IISADMIN [ImagePath]" )
  72.                     </condition>
  73.                   </detect>
  74.                 </detects>
  75.  
  76.                 <!-- For the metabase down-level manifest, we need to gather  -->
  77.                 <!-- the IIS settings from the config store using our plugin. -->
  78.  
  79.                 <plugin file="Microsoft-Windows-IIS-DL\iismig.dll"
  80.                         classId="{A33259A7-E9DB-4195-A31F-57E3C4D74C49}">
  81.                 </plugin>
  82.  
  83.                 <!-- Save the iis7.log file that is written to during the     -->
  84.                 <!-- gather phase of the migration plug-in.                   -->
  85.  
  86.                 <rules context="System">
  87.                     <include>
  88.                         <objectSet>
  89.                             <pattern type="File">%windir%\[iis7.log]</pattern>
  90.                         </objectSet>
  91.                     </include>
  92.                 </rules>
  93.  
  94.             </migXml>
  95.  
  96.         </machineSpecific>
  97.  
  98.     </migration>
  99.  
  100. </assembly>
  101.