home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / dlmanifests / msmq-messagingcoreservice-dl.man < prev    next >
Text File  |  2008-01-19  |  7KB  |  116 lines

  1. <assembly manifestVersion="1.0" description="Downlevel manifest for MSMQ core messaging." displayName="Downlevel manifest for MSMQ core messaging" company="Microsoft" copyright="" supportInformation="" creationTimeStamp="2003-07-21T16:37:03.6090709-07:00" lastUpdateTimeStamp="2004-11-11T23:01:42.1450255-08:00" authors="mikedice" owners="MikeDice;AnandRaj" testers="AshishW" buildFilter="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:asm.v3">
  2.   <assemblyIdentity 
  3.                 name="Microsoft-Windows-msmq-messagingcoreservice-DL"
  4.                 version="0.0.0.0"
  5.                 processorArchitecture="*"
  6.                 language="neutral"
  7.                 publicKeyToken="$(Build.WindowsPublicKeyToken)"
  8.                 buildFilter=""
  9.                 buildType="$(build.buildType)"
  10.                 versionScope="nonSxS"
  11.                 />
  12.   <migration>
  13.     <registerSDF name="MSMQ-Server" />
  14.  
  15.     <migXml xmlns="">
  16.           <!-- Plugin is used only to shut down services so files can be reliably collected. Service shutdown should be synchronous -->
  17.           <plugin file="Microsoft-Windows-msmq-messagingcoreservice\mqmigplugin.dll" classId="{ebe40fc9-925b-4f97-9ca1-f905a52b1c3c}">
  18.           </plugin>
  19.           <detects>
  20.              <!-- Detect supported platform: Win2k, WinXP, Win2k3 -->
  21.              <detect>
  22.                 <condition>MigXmlHelper.DoesOSMatch("NT","5.1.*")</condition>
  23.                 <condition>MigXmlHelper.DoesOSMatch("NT","5.2.*")</condition>
  24.              </detect>
  25.              <!-- Detect installation of MQSVC and MQAC -->
  26.              <detect>
  27.                <condition>MigXmlHelper.DoesObjectExist("Registry", "HKLM\SYSTEM\CurrentControlSet\Services\MSMQ")</condition>
  28.              </detect>
  29.              <detect>
  30.                <condition>MigXmlHelper.DoesStringContentContain("Registry", "HKLM\SYSTEM\CurrentControlSet\Services\MSMQ[ImagePath]", "mqsvc.exe")</condition>
  31.              </detect>
  32.              <detect>
  33.                <condition>MigXmlHelper.DoesObjectExist("Registry", "HKLM\SYSTEM\CurrentControlSet\Services\MQAC")</condition>
  34.              </detect>
  35.              <detect>
  36.                <condition>MigXmlHelper.DoesStringContentContain("Registry", "HKLM\SYSTEM\CurrentControlSet\Services\MQAC[ImagePath]", "mqac.sys")</condition>
  37.              </detect>
  38.              <!-- Detect presence of main MSMQ files -->
  39.              <detect>
  40.                <condition>MigXmlHelper.DoesObjectExist("File", "%windir%\system32\mqsvc.exe");</condition>
  41.              </detect>
  42.              <detect>
  43.                <condition>MigXmlHelper.DoesObjectExist("File", "%windir%\system32\drivers\mqac.sys");</condition>
  44.              </detect>
  45.              <detect>
  46.                <condition>MigXmlHelper.DoesObjectExist("File", "%windir%\system32\mqrt.dll");</condition>
  47.              </detect>
  48.              <!-- Detect registry conditions -->
  49.              <detect>
  50.                <condition>MigXmlHelper.DoesObjectExist("Registry", "HKLM\SOFTWARE\Microsoft\MSMQ\Parameters")</condition>
  51.              </detect>
  52.              <detect>
  53.                <condition>MigXmlHelper.DoesObjectExist("Registry", "HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\Setup")</condition>
  54.              </detect>
  55.         </detects>
  56.     </migXml>
  57.  
  58.     <!-- machineSpecific stuff is only used for Upgrade scenarios and not for machine to machine migration -->
  59.     <machineSpecific>
  60.       <migXml xmlns:auto-ns1="urn:schemas-microsoft-com:asm.v3" xmlns:auto-ns2="urn:schemas-microsoft-com:asm.v3" xmlns="">
  61.  
  62.         <!-- Set environment variables so we get storage files from the right place. -->
  63.         <environment context="System">
  64.          <variable name="varStoreReliablePath">
  65.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [StoreReliablePath]")</script>
  66.           </variable>
  67.           <variable name="varStoreXactLogPath">
  68.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [StoreXactLogPath]")</script>
  69.           </variable>
  70.           <variable name="varStoreLogPath">
  71.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [StoreLogPath]")</script>
  72.           </variable>
  73.           <variable name="varStorePersistentPath">
  74.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [StorePersistentPath]")</script>
  75.           </variable>
  76.           <variable name="varStoreJournalPath">
  77.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [StoreJournalPath]")</script>
  78.           </variable>
  79.           <variable name="varMsmqRootPath">
  80.             <script>MigXmlHelper.GetStringContent("Registry","HKLM\Software\Microsoft\MSMQ\Parameters [MsmqRootPath]")</script>
  81.           </variable>
  82.         </environment>
  83.  
  84.         <!-- Settings and data to be collected for the System. -->
  85.         <rules context="System">
  86.             <include>
  87.                 <objectSet>
  88.                     <pattern type="File">%varStoreReliablePath%[*.mq]</pattern>
  89.                     <pattern type="File">%varStorePersistentPath%[*.mq]</pattern>
  90.                     <pattern type="File">%varStoreXactLogPath%[*.lg*]</pattern>
  91.                     <pattern type="File">%varStoreLogPath%[*.mq]</pattern>
  92.                     <pattern type="File">%varStoreJournalPath%[*.mq]</pattern>
  93.                     <pattern type="File">%varMsmqRootPath%\storage\lqs[*]</pattern>
  94.                     <pattern type="File">%varMsmqRootPath%\storage\[QMLog]</pattern>
  95.                 </objectSet>
  96.                 <objectSet>
  97.                     <pattern type="Registry">HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\* [*]</pattern>
  98.                     <pattern type="Registry">HKLM\SOFTWARE\Microsoft\MSMQ\Setup\* [*]</pattern>
  99.                 </objectSet>
  100.             </include>
  101.             <exclude>
  102.                 <objectSet>
  103.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\CertificationAuthorities\* [*]</pattern>
  104.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache[StaticMQISServer]</pattern>
  105.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache[ForcedDSServer]</pattern>
  106.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache[PerThreadDSServer]</pattern>
  107.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\OCMsetup</pattern>
  108.                     <pattern type="Registry">HKLM\Software\Microsoft\MSMQ\Parameters\setup[AlwaysWithoutDS]</pattern>
  109.                 </objectSet>
  110.             </exclude>
  111.         </rules>
  112.      </migXml>     
  113.     </machineSpecific>  
  114.    </migration>
  115. </assembly>
  116.