Vous êtes sur la page 1sur 4

e\Wow6432Node\ODBC\ODBC.

INI\ODBC File DSN [DefaultDSNDir]")</script>


</variable>
</environment>
<!-- The default file DSN location (under user context) has been modified to
"My Documents"; see Windows OS Bug #1633815 -->
<environment context="User">
<variable name="ODBCDSNDir_User">
<text>%CSIDL_MYDOCUMENTS%\</text>
</variable>
<variable name="ODBCDSNDir_User">

<script>MigXmlHelper.GetStringContent("Registry","HKCU\Software\ODBC\ODBC.INI\ODBC
File DSN [DefaultDSNDir]")</script>
</variable>
</environment>
<!-- User specific setting (Gather and Apply Phrase) -->
<rules context="User">
<include>
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\* [*]</pattern>
<pattern type="File">%ODBCDSNDir_User% [*.DSN]</pattern>
</objectSet>
</include>
<!-- "DestinationPriority" means that it won't migrate if the same object
exists on the target machine -->
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\* [*]</pattern>
<pattern type="File">%ODBCDSNDir_User% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use <destinationCleanup> to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail -->
<destinationCleanup>
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
<!-- System wide setting (Gather and Apply Phrase) -->
<rules context="System">
<include>
<objectSet>
<pattern type="Registry">HKLM\Software\ODBC\ODBC.INI\* [*]</pattern>
<pattern type="Registry">HKLM\Software\Wow6432Node\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_System% [*.DSN]</pattern>
<pattern type="File">%ODBCDSNDir_SystemX86% [*.DSN]</pattern>
</objectSet>
</include>
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="Registry">HKLM\Software\ODBC\ODBC.INI\* [*]</pattern>
<pattern type="Registry">HKLM\Software\Wow6432Node\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_System% [*.DSN]</pattern>
<pattern type="File">%ODBCDSNDir_SystemX86% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use <destinationCleanup> to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail -->
<destinationCleanup>
<objectSet>
<pattern type="Registry">HKLM\Software\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
<pattern type="Registry">HKLM\Software\Wow6432Node\ODBC\ODBC.INI\ODBC
File DSN [DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
</migXml>
<supportedComponents>
<!-- 1st <supportedComponent> [source machine = AMD64, target machine =
AMD64]: -->
<!-- There is no support for [AMD64 -> X86 migration]. USMT would error out
before processing our manifest -->
<!-- Note the asterisk character at the end of the "name" attribute in
<supportedComponentIdentity>: -->
<!-- This matches both normal manifest (Vista / Win7) and DL manifest (Srv03)
-->
<supportedComponent>
<supportedComponentIdentity
language="*"
name="Microsoft-Windows-Microsoft-Data-Access-Components-(MDAC)-ODBC-
DriverManager-Dll*"
processorArchitecture="amd64"
settingsVersionRange="0"
/>
<migXml xmlns="">
<!-- User specific setting (Apply Phrase) -->
<rules context="User">
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_User% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use <destinationCleanup> to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail
-->
<destinationCleanup>
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
<!-- System wide setting (Apply Phrase) -->
<rules context="System">
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="Registry">HKLM\Software\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="Registry">HKLM\Software\Wow6432Node\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_System% [*.DSN]</pattern>
<pattern type="File">%ODBCDSNDir_SystemX86% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use <destinationCleanup> to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail
-->
<destinationCleanup>
<objectSet>
<pattern type="Registry">HKLM\Software\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
<pattern
type="Registry">HKLM\Software\Wow6432Node\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
</migXml>
</supportedComponent>
<!-- 2nd <supportedComponent> [source machine = X86, target machine =
X86/AMD64]: -->
<!-- Note the asterisk character at the end of the "name" attribute in
<supportedComponentIdentity>: -->
<!-- This matches both normal manifest (Vista / Win7) and DL manifest (Srv03)
-->
<supportedComponent>
<supportedComponentIdentity
language="*"
name="Microsoft-Windows-Microsoft-Data-Access-Components-(MDAC)-ODBC-
DriverManager-Dll*"
processorArchitecture="*"
settingsVersionRange="0"
/>
<migXml xmlns="">
<!-- User specific setting (Apply Phrase) -->
<rules context="User">
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_User% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use <destinationCleanup> to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail
-->
<destinationCleanup>
<objectSet>
<pattern type="Registry">HKCU\Software\ODBC\ODBC.INI\ODBC File DSN
[DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
<!-- System wide setting (Apply Phrase) -->
<rules context="System">
<!-- The first argument in "RelativeMove" is computed with "source
machine environment", -->
<!-- while the second one is computed with "target machine environment"
-->
<!-- The first argument in "RelativeMove" must always be
"HKLM\Software", since the source machine is x86 -->
<!-- For [x86 -> x86 migration]: the second argument in "RelativeMove"
is "HKLM\Software" -->
<!-- For [x86 -> AMD64 migration]: the second argument in
"RelativeMove" is "HKLM\Software\Wow6432Node" -->
<!-- Therefore, no location was modified in the first case; but it is
modified in the second case -->
<locationModify script="MigXmlHelper.RelativeMove(&apos;
%HklmWowSoftware%\ODBC\ODBC.INI&apos;, &apos;%HklmWowSoftware
%\ODBC\ODBC.INI&apos;)">
<objectSet>
<!-- %HklmWowSoftware% here is computed with the "source machine
context" -->
<pattern type="Registry">%HklmWowSoftware%\ODBC\ODBC.INI\*
[*]</pattern>
</objectSet>
</locationModify>
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<!-- %HklmWowSoftware% here is computed with the "target machine
environment" -->
<pattern type="Registry">%HklmWowSoftware%\ODBC\ODBC.INI\*
[*]</pattern>
<pattern type="File">%ODBCDSNDir_System% [*.DSN]</pattern>
</objectSet>
</merge>
<!-- We need to use destinationCleanup to ensure that the absence of
"DefaultDSNDir"
value name is also replicated. See Win8 #326933 for more detail
-->
<!-- %HklmWowSoftware% is computed with the "target machine
environment" -->
<destinationCleanup>
<objectSet>
<pattern type="Registry">%HklmWowSoftware%\ODBC\ODBC.INI\ODBC File
DSN [DefaultDSNDir]</pattern>
</objectSet>
</destinationCleanup>
</rules>
</migXml>
</supportedComponent>
</supportedComponents>
<!-- Use a special name for better output in log file -->
<migrationDisplayID>ReplacementManifests</migrationDisplayID>
</migration>
</assembly>

Vous aimerez peut-être aussi