App-V allows the running of scripts and other applications at the time of launch. This can be a particularly useful feature if applications have complex licensing requirements (for example, a license key must be applied each time the application launches) or if the virtual application requires a network drive to be mapped.
To complete these steps, you will need to have completed all of the steps in the first and second recipes of this chapter.
By default, App-V 5 comes with scripting turned off. You can enable it through Group Policy or by running the following PowerShell command on the client:
Set-AppvClientConfiguration -EnablePackageScripts $true
The following list shows you the high-level steps ...