Posted this to the technet forums, but thought I'd try here too in case
somebody new. Thanks in advance!
-Sam
Need to capture all the registry under
HKCU\Software\Zultys\MXUser\C%058%092Program
Files%092Zultys%092MXIE%092Bin%092\*
>From a x86 XP machine to a x64 Windows 7 machine. However, as you can see,
the key won't work on x64 as the program path will not exist. So, I just
need to edit it and add x86 to the key name. Like this:
HKCU\Software\Zultys\MXUser\C%058%092Program Files
(x86)%092Zultys%092MXIE%092Bin%092\*
What I thought would be easy is turning tricky.
The code below does indeed capture it and restore it to the new machine
without error, but it doesn't rename the key.
What am I missing?
<component type="Application" context="User">
<displayName>Migrate Zultys Keys</displayName>
<role role="Settings">
<rules>
<include>
<objectSet>
<pattern
type="Registry">HKCU\Software\Zultys\MXUser\C%058%092Program
Files%092Zultys%092MXIE%092Bin%092\* [*]</pattern>
</objectSet>
</include>
<locationModify
script="MigXmlHelper.ExactMove('HKCU\Software\Zultys\MXUser\C%058%092Program
Files (x86)%092Zultys%092MXIE%092Bin%092')">
<objectSet>
<pattern
type="Registry">HKCU\Software\Zultys\MXUser\C%058%092Program Files
(x86)%092Zultys%092MXIE%092Bin%092\* [*]</pattern>
</objectSet>
</locationModify>
</rules>
</role>
</component>