App-V 5.1 is out now. There might be a case where you need to convert old App-V 4.5 or App-V 4.6 applications to new App-V 5.1 format.If there are one or two packages it will be easy to create. But what if suppose there are some 100's of App-V 4.x apps? It will be quite complex and time consuming.
This powershell script will make this scenario very easy. Just provide the folder where the old packages (App-V 4.5 or App-V 4.6) are kept and run the powershell script. Within some minutes, new App-V 5.1 packages will be created in the output folder.
For Example: Create a single folder named App-V packages in C:\ drive (C:\App-V packages). Copy all the old App-V 4.x packages to this folder. Edit the powershell script and give this main folder as input to the $appv46folder variable.
# specify the folder where bulk App-V 4.6 packages are kept
$appv46folder = "C:\App-V packages"
NOTE: Do not create subfolders inside the main folder as it has not been handled in the PS.
Run this script where App-V 5.1 sequencer has been installed.Prior to conversion it is good to test the packages for its conversion using Test-AppVLegacyPackage
Convereted App-V 5.1 packages can be found in C:\AppV5convertedpackages folder.
Check this link to know about converting of old App-V 4.x applications to new App-V 5.1 format –
NOTE: If you are running a computer with a 64-bit architecture, you must use the x86 version of PowerShell to run this script. Also execution policy has to be enabled to allow this script to be run.
This script can also be used to convert old App-V packages into App-V 5.0 format too.
Disclaimer: This script is designed only for testing purpose and hence I do not own any responsibility for any system failures or issues. Test the script in your environment before you do any mass conversion.
To download the script click HERE
No comments:
Post a Comment