none
USMT and stickey notes.

    Question

  • I am trying to set up profile migtration and the one snag i keep hitting is trying to redirect a folder for moving stickey notes. I am using the below code section and getting a syntax error. I get an error saying that line 10 of the below block, the line that starts with the <location modify tag is missing an equals sign. I "borrowed" the code from a blog i found the other day and now that im trying to use it, I dont seem to see the error.
     <component context="UserAndSystem" type="Application">
            <displayName>LegacyStickyNotes</displayName>
            <role role="Settings">
                <rules context="User">
                    <include>
                        <objectSet>
                            <pattern type="File">%CSIDL_APPDATA%\Microsoft\Sticky Notes\ [StickyNotes.snt]</pattern>
                        </objectSet>
                    </include>
                    <location Modify script="MigXmlHelper.RelativeMove('%CSIDL_APPDATA%\Microsoft\Sticky Notes','%CSIDL_LOCAL_APPDATA%\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbw\LocalState\Legacy\ [ThresholdNotes.snt]')">
                    	<objectSet>
                   			<pattern type="File">%CSIDL_APPDATA%\Microsoft\Sticky Notes\ [StickyNotes.snt]</pattern>
                    	</objectSet>                                   
    		</locationModify>
                </rules>
            </role>
        </component>


    • Edited by agreer Thursday, March 23, 2017 3:26 PM
    Thursday, March 23, 2017 3:24 PM

All replies