none
Help with a simple USMT locationModify registry capture/move? RRS feed

  • Question

  • 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 x84 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, but it doesn't rename the key.  It runs without errors.

    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>



    Thursday, March 20, 2014 6:42 PM