home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
envmig.xml
< prev
next >
Wrap
Text File
|
2008-01-19
|
15KB
|
188 lines
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/oobeupgrade">
<component type="System" context="User">
<displayName>oobeUpgrade</displayName>
<paths>
<path type="File">%WINDIR%\oobeUpgrade</path>
</paths>
<role role="Settings">
<rules>
<detects>
<detect>
<condition negation="Yes">MigXmlHelper.IsOSLaterThan("NT","6.0.0.0")</condition>
</detect>
</detects>
<rules>
<detects>
<detect>
<condition negation="Yes">MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Music]")</condition>
</detect>
<detect>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]")</condition>
</detect>
</detects>
<addObjects>
<object>
<location type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Music]</location>
<attributes>ExpandString</attributes>
<bytes string="Yes" expand="Yes">%CSIDL_MYMUSIC%</bytes>
</object>
</addObjects>
</rules>
<rules>
<detects>
<detect>
<condition negation="Yes">MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Pictures]")</condition>
</detect>
<detect>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]")</condition>
</detect>
</detects>
<addObjects>
<object>
<location type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Pictures]</location>
<attributes>ExpandString</attributes>
<bytes string="Yes" expand="Yes">%CSIDL_MYPICTURES%</bytes>
</object>
</addObjects>
</rules>
<rules>
<detects>
<detect>
<condition negation="Yes">MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Video]")</condition>
</detect>
<detect>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]")</condition>
</detect>
</detects>
<addObjects>
<object>
<location type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Video]</location>
<attributes>ExpandString</attributes>
<bytes string="Yes" expand="Yes">%CSIDL_MYVIDEO%</bytes>
</object>
</addObjects>
</rules>
</rules>
<rules>
<include>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Personal]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Music]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Music]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Music]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Pictures]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Pictures]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Pictures]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Video]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Video]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [My Video]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Start Menu]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Start Menu]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Start Menu]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Programs]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Programs]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Programs]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Startup]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Startup]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Startup]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Recent]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Recent]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Recent]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Desktop]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Desktop]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Desktop]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Favorites]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Favorites]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Favorites]</pattern>
</objectSet>
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Cache]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Cache]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [Cache]</pattern>
</objectSet>
<!-- FOLDERID_LocalAppDataLow {A520A1A4-1780-4FF6-BD18-167343C5AF16} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{A520A1A4-1780-4FF6-BD18-167343C5AF16}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{A520A1A4-1780-4FF6-BD18-167343C5AF16}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{A520A1A4-1780-4FF6-BD18-167343C5AF16}]</pattern>
</objectSet>
<!-- FOLDERID_Playlists {DE92C1C7-837F-4F69-A3BB-86E631204A23} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{DE92C1C7-837F-4F69-A3BB-86E631204A23}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{DE92C1C7-837F-4F69-A3BB-86E631204A23}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{DE92C1C7-837F-4F69-A3BB-86E631204A23}]</pattern>
</objectSet>
<!-- FOLDERID_PhotoAlbums {69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C}]</pattern>
</objectSet>
<!-- FOLDERID_Downloads {374DE290-123F-4565-9164-39C4925E467B} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{374DE290-123F-4565-9164-39C4925E467B}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{374DE290-123F-4565-9164-39C4925E467B}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{374DE290-123F-4565-9164-39C4925E467B}]</pattern>
</objectSet>
<!-- FOLDERID_SavedSearches {7d1d3a04-debb-4115-95cf-2f29da2920da} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{7d1d3a04-debb-4115-95cf-2f29da2920da}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{7d1d3a04-debb-4115-95cf-2f29da2920da}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{7d1d3a04-debb-4115-95cf-2f29da2920da}]</pattern>
</objectSet>
<!-- FOLDERID_Contacts {56784854-C6CB-462b-8169-88E350ACB882} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{56784854-C6CB-462b-8169-88E350ACB882}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{56784854-C6CB-462b-8169-88E350ACB882}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{56784854-C6CB-462b-8169-88E350ACB882}]</pattern>
</objectSet>
<!-- FOLDERID_GameTasks {054FAE61-4DD8-4787-80B6-090220C4B700} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{054FAE61-4DD8-4787-80B6-090220C4B700}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{054FAE61-4DD8-4787-80B6-090220C4B700}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{054FAE61-4DD8-4787-80B6-090220C4B700}]</pattern>
</objectSet>
<!-- FOLDERID_SavedGames {4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}]</pattern>
</objectSet>
<!-- FOLDERID_Games {CAC52C1A-B53D-4edc-92D7-6B2E8AC19434} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{CAC52C1A-B53D-4edc-92D7-6B2E8AC19434}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{CAC52C1A-B53D-4edc-92D7-6B2E8AC19434}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{CAC52C1A-B53D-4edc-92D7-6B2E8AC19434}]</pattern>
</objectSet>
<!-- FOLDERID_RecordedTV {bd85e001-112e-431e-983b-7b15ac09fff1} -->
<objectSet>
<condition negation="Yes">MigXmlHelper.IsSameStringContent("Registry","HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{bd85e001-112e-431e-983b-7b15ac09fff1}]","Registry","HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{bd85e001-112e-431e-983b-7b15ac09fff1}]")</condition>
<pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [{bd85e001-112e-431e-983b-7b15ac09fff1}]</pattern>
</objectSet>
</include>
<processing when="apply-success">
<script>MigXmlHelper.RemapShellFolderPaths('HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders [*]')</script>
</processing>
</rules>
</role>
</component>
</migration>