So I was thinking about adding some detection to this template so it's ok to run it on older OS deployments. From what I'm reading only Scanstate processes the <Detects> section. That tag is deprecated, but I'm not sure the new Detection tag works any different in that respect. Really it seems like I want Loadstate to process it since I need to ensure the destination has the new "modern" Sticky Notes app. If it does then that's when I want to do a locationModify. If the destination doesn't have the "modern" sticky app then I really want to do nothing since the default USMT templates will migrate the legacy ones.
Anyone know how I could handle this? -Brian From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Klish, Brian Sent: Thursday, November 10, 2016 8:51 PM To: 'mdtosd@lists.myitforum.com' <mdtosd@lists.myitforum.com> Subject: [MDT-OSD] USMT template to migrate legacy sticky notes Couldn't find this around anywhere so today I put together a USMT template to migrate the legacy sticky notes to the new Sticky Notes (Trusted Windows Store app) that's in Windows 10 v1607. Seems like it should be handled by the default USMT templates since it's a Windows thing, but it isn't. Thought I'd share... <?xml version="1.0" encoding="UTF-8"?> <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/LegacyStickyNotes"> <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> <locationModify 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> </migration> -Brian