--- title: Migrating to App-V 5.1 from a Previous Version description: Migrating to App-V 5.1 from a Previous Version author: jamiejdt ms.assetid: e7ee0edc-7544-4c0a-aaca-d922a33bc1bb ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 ms.date: 08/30/2016 --- # Migrating to App-V 5.1 from a Previous Version With Microsoft Application Virtualization (App-V) 5.1, you can migrate your existing App-V 4.6 or App-V 5.0 infrastructure to the more flexible, integrated, and easier to manage App-V 5.1 infrastructure. However, you cannot migrate directly from App-V 4.x to App-V 5.1, you must migrate to App-V 5.0 first. For more information on migrating from App-V 4.x to App-V 5.0, see [Migrating from a Previous Version](migrating-from-a-previous-version-app-v-50.md) **Note** App-V 5.1 packages are exactly the same as App-V 5.0 packages. There has been no change in the package format between the versions and therefore, there is no need to convert App-V 5.0 packages to App-V 5.1 packages. For more information about the differences between App-V 4.6 and App-V 5.1, see the **Differences between App-V 4.6 and App-V 5.0 section** of [About App-V 5.0](about-app-v-50.md). ## Improvements to the App-V 5.1 Package Converter You can now use the package converter to convert App-V 4.6 packages that contain scripts, and registry information and scripts from source .osd files are now included in package converter output. You can also use the `–OSDsToIncludeInPackage` parameter with the `ConvertFrom-AppvLegacyPackage` cmdlet to specify which .osd files’ information is converted and placed within the new package.
New in App-V 5.1 | Prior to App-V 5.1 |
---|---|
New .xml files are created corresponding to the .osd files associated with a package; these files include the following information:
You can now choose to add information from a subset of the .osd files in the source directory to the package using the |
Registry information and scripts included in .osd files associated with a package were not included in package converter output. The package converter would populate the new package with information from all of the .osd files in the source directory. |
These Source directory files… | …are converted to these Destination directory files… | …and will contain these items | Description |
---|---|---|---|
|
|
|
Each .osd file is converted to a separate, corresponding .xml file that contains the items listed here in App-V 5.1 deployment configuration format. These items can then be copied from these .xml files and placed in the deployment configuration or user configuration files as desired. In this example, there are three .xml files, corresponding with the three .osd files in the source directory. Each .xml file contains the environment variables, shortcuts, file type associations, registry information, and scripts in its corresponding .osd file. |
|
|
|
The information from the .osd files specified in the In this example, environment variables, shortcuts, and file type associations included in X.osd and Y.osd were converted and placed in the App-V package, and some of this information was also included in the deployment configuration and user configuration files. X.osd and Y.osd were used because they were included as arguments to the |
Issue | Workaround |
---|---|
Virtual packages using DSC are not linked after conversion. |
Link the packages using connection groups. See [Managing Connection Groups](managing-connection-groups51.md). |
Environment variable conflicts are detected during conversion. |
Resolve any conflicts in the associated .osd file. |
Hard-coded paths are detected during conversion. |
Hard-coded paths are difficult to convert correctly. The package converter will detect and return packages with files that contain hard-coded paths. View the file with the hard-coded path, and determine whether the package requires the file. If so, it is recommended to re-sequence the package. |
Task | More Information |
---|---|
Upgrade your environment to the latest version of App-V 4.6 |
[Application Virtualization Deployment and Upgrade Considerations](../appv-v4/application-virtualization-deployment-and-upgrade-considerations-copy.md). |
Install the App-V 5.1 client with co-existence enabled. |
[How to Deploy the App-V 4.6 and the App-V 5.1 Client on the Same Computer](how-to-deploy-the-app-v-46-and-the-app-v--51-client-on-the-same-computer.md). |
Sequence and roll out App-V 5.1 packages. As needed, unpublish App-V 4.6 packages. |
[How to Sequence a New Application with App-V 5.1](how-to-sequence-a-new-application-with-app-v-51-beta-gb18030.md). |
Task | More Information |
---|---|
Upgrade your environment to the latest version of App-V 4.6. |
[Application Virtualization Deployment and Upgrade Considerations](../appv-v4/application-virtualization-deployment-and-upgrade-considerations-copy.md). |
Deploy App-V 5.1 version of the client. |
[How to Deploy the App-V Client](how-to-deploy-the-app-v-client-51gb18030.md). |
Install App-V 5.1 server. |
[How to Deploy the App-V 5.1 Server](how-to-deploy-the-app-v-51-server.md). |
Migrate existing packages. |
See the Converting packages created using a prior version of App-V section of this article. |