Files
2026-06-02 03:37:09 -07:00

72 lines
4.4 KiB
Groff

<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v3"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
manifestVersion="1.0"
>
<assemblyIdentity
language="neutral"
name="Microsoft-Windows-StartTileData"
processorArchitecture="*"
version="0.0.0.0"
/>
<!-- This file is meant to create our migration keys when migrating from a build that did not
have Curated Tile Collections in it, which is covered by the replacementSettingsVersionRange="0".
Any build after that will use the migration settings in StartTileData.man
since that specifies a settingVersion="1"
We only need to do the capture portion of migration here. Moving those values under our CTC registry
key is accomplished by the main manifest-->
<migration
alwaysProcess="yes"
replacementSettingsVersionRange="0"
settingsVersion="1"
>
<migXml xmlns="">
<rules context="User">
<addObjects>
<!-- If this regkey doesn't exist, this will simulate its existence during the gather stage, so that it can be applied. -->
<conditions>
<condition negation="yes">MigXmlHelper.DoesObjectExist("Registry", "HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [MigrationPending]")</condition>
</conditions>
<object>
<location type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [MigrationPending]</location>
<attributes>dword</attributes>
<bytes>01000000</bytes>
</object>
</addObjects>
<include>
<objectSet>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [MigrationPending]</pattern>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMajorVersionNumber]</pattern>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMinorVersionNumber]</pattern>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentBuildNumber]</pattern>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentVersion]</pattern>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Notifications\data [0D83063EA3BC9475]</pattern>
</objectSet>
</include>
<locationModify script="MigXmlHelper.RelativeMove(&apos;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMajorVersionNumber]&apos;,&apos;HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [PreviousMajorVersionNumber]&apos;)">
<objectSet>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMajorVersionNumber]</pattern>
</objectSet>
</locationModify>
<locationModify script="MigXmlHelper.RelativeMove(&apos;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMinorVersionNumber]&apos;,&apos;HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [PreviousMinorVersionNumber]&apos;)">
<objectSet>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentMinorVersionNumber]</pattern>
</objectSet>
</locationModify>
<locationModify script="MigXmlHelper.RelativeMove(&apos;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentBuildNumber]&apos;,&apos;HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [PreviousBuildNumber]&apos;)">
<objectSet>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentBuildNumber]</pattern>
</objectSet>
</locationModify>
<locationModify script="MigXmlHelper.RelativeMove(&apos;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentVersion]&apos;,&apos;HKCU\Software\Microsoft\Windows\CurrentVersion\CuratedTileCollections\Migration [PreviousVersion]&apos;)">
<objectSet>
<pattern type="Registry">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion [CurrentVersion]</pattern>
</objectSet>
</locationModify>
</rules>
</migXml>
</migration>
</assembly>