mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-17 03:13:44 +00:00
Updated-6038482-B3
Article updated to meet Acrolinx target.
This commit is contained in:
@ -13,7 +13,7 @@ ms.topic: article
|
|||||||
|
|
||||||
## <a href="" id="example"></a>Example 1: Migrating an Unsupported Application
|
## <a href="" id="example"></a>Example 1: Migrating an Unsupported Application
|
||||||
|
|
||||||
The following is a template for the sections that you need to migrate your application. The template is not functional on its own, but you can use it to write your own .xml file.
|
The following is a template for the sections that you need to migrate your application. The template isn't functional on its own, but you can use it to write your own .xml file.
|
||||||
|
|
||||||
``` xml
|
``` xml
|
||||||
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/migtestapp">
|
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/migtestapp">
|
||||||
@ -87,11 +87,11 @@ The following sample is a custom .xml file named CustomFile.xml that migrates My
|
|||||||
|
|
||||||
`<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_MYVIDEO%")</condition>`
|
`<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_MYVIDEO%")</condition>`
|
||||||
|
|
||||||
- **Sample filter**: Filters out the shortcuts in My Videos that do not resolve on the destination computer:
|
- **Sample filter**: Filters out the shortcuts in My Videos that don't resolve on the destination computer:
|
||||||
|
|
||||||
`<include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>`
|
`<include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>`
|
||||||
|
|
||||||
This has no effect on files that are not shortcuts. For example, if there is a shortcut in My Videos on the source computer that points to C:\Folder1, that shortcut will be migrated only if C:\Folder1 exists on the destination computer. However, all other files, such as .mp3 files, migrate without any filtering.
|
This has no effect on files that aren't shortcuts. For example, if there's a shortcut in My Videos on the source computer that points to C:\Folder1, that shortcut will be migrated only if C:\Folder1 exists on the destination computer. However, all other files, such as .mp3 files, migrate without any filtering.
|
||||||
|
|
||||||
- **Sample pattern**: Migrates My Videos for all users:
|
- **Sample pattern**: Migrates My Videos for all users:
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ The following sample is a custom .xml file named CustomFile.xml that migrates My
|
|||||||
|
|
||||||
The sample patterns describe the behavior in the following example .xml file.
|
The sample patterns describe the behavior in the following example .xml file.
|
||||||
|
|
||||||
- **Sample pattern**: Migrates all instances of the file Usmttestfile.txt from all sub-directories under `%ProgramFiles%\USMTTestFolder`:
|
- **Sample pattern**: Migrates all instances of the file Usmttestfile.txt from all subdirectories under `%ProgramFiles%\USMTTestFolder`:
|
||||||
|
|
||||||
`<pattern type="File">%ProgramFiles%\USMTTestFolder* [USMTTestFile.txt]</pattern>`
|
`<pattern type="File">%ProgramFiles%\USMTTestFolder* [USMTTestFile.txt]</pattern>`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user