Book Image

Microsoft Application Virtualization Cookbook

Book Image

Microsoft Application Virtualization Cookbook

Overview of this book

Table of Contents (17 chapters)
Microsoft Application Virtualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Scripting in App-V 5


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.

Getting ready

To complete these steps, you will need to have completed all of the steps in the first and second recipes of this chapter.

Tip

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

How to do it...

The following list shows you the high-level steps involved in this recipe and the tasks required to complete the recipe (all of the actions in this recipe will take place on the sequencing client called WIN8SEQUENCER):

  • Create a folder named Resources within the FileStore DFS path.

  • Create a script...