Anil Popuri, BPS - WT-Practice: Microsoft Application Virtualization (APP-V) 5.0
Anil Popuri, BPS - WT-Practice: Microsoft Application Virtualization (APP-V) 5.0
Document Information
Distributed To / Contributions by
Updated / Revised By
Revised Date
BPS ALL
Practice
Revision History
Version
Date Prepared by/Modified by Significant Changes
No.
1 18/12/2013 Anil Popuri Initials Draft
Agenda
Application virtualization separates the app from the OS, allowing IT to deliver applications in the
most efficient way possible.
It is a software layer that improves portability, manageability and compatibility of applications .
Application Virtualization Advantages:
AppA v1.0 AppA v2.0 AppB v1.0 AppB v2.0
Application don't have to install apps
Application Virtualization Layer
Easy to patch and upgrade
Can run multiple versions of same application
OS Layer
In the age of BYOD, application streaming
allows to deliver apps to many kinds of
Hardware base physical machine
endpoints.
SystemGuard tracks and analyses configuration repositories and resources used by the
application and intercepts the use of these resources, redirecting them to the virtualized instances
of the resources.
SystemGuard is the heart for Microsoft App-V Platform.
• Application Conflicts
• Version Incompatibilities
• Multi-User Access
• Multi-Tenancy Issues
• Regression Testing
Microsoft APP-V Components
Microsoft Application Virtualization Publishing Server: The App-V Publishing Server provides
with entitled virtual applications for streaming to the specific user and hosts.
Microsoft Application Virtualization Desktop Client: The App-V Desktop Client sets up and
manages virtual environments at runtime on Windows endpoints. It retrieves and publish the
applications on the endpoints.
Microsoft Application Virtualization Remote Desktop Services (RDS) Client: The App-V RDS
Client enables Remote Desktop Session Host servers to utilize the capabilities of the App-V
Desktop Client for shared desktop sessions.
In App-V 4.x if we chose to optimize the package for streaming, it creates FB1 (Primary Feature Block) and FB2
(Secondary Feature Block).
Management Server
&
Publishing Server
Installing Microsoft APP-V Management Server
Active Directory Domain Services and DNS should configured on the DC computer
Configure the Active Directory Groups and Accounts
• Organizational Unit (OU)
• Microsoft Application Virtualization Administrative Group
• Microsoft Application Virtualization Users Group
• Microsoft Application Virtualization Computers Group
• Domain User Account
• Application Groups (Optional)
Install Prerequisites
• Microsoft .NET Framework 4.0 Extended
• Microsoft Visual C++ 2010 SP1 Redistributable 64-bit Package
• Microsoft Visual C++ 2010 SP1 Redistributable 32-bit Package
• Microsoft Silverlight
• Windows PowerShell 3.0
• Microsoft SQL Server 2008 R2
The Microsoft App-V Server 5.0 Setup wizard helps to Install & configure server
Installing Microsoft APP-V Management Server
Enter the Active Directory security group which will be responsible for managing App-V
infrastructure, in the Port binding field specify the port number and in the Website name specify
appropriate name.
Configure the Publishing Server refresh interval: By default the Publishing Server asks the
App-V database for published applications every 10 minutes (600 seconds). This is called a
publishing refresh.
Can be changed by editing Registry hive:
HKLM\Software\Microsoft\AppV\Server\PublishingService,
find the value PUBLISHING_MGMT_SERVER_REFRESH_INTERVAL to modify
Share the content folder: The content share is the central library of App-V packages. The
content store contains the source files of the packages published by the App-V publishing
server. Should have access to App-V management server and AppV Administrators.
Client/Agent
Installing Microsoft APP-V Desktop Client
Login to the server as a domain admin account, Install .NET Framework 4.0, Windows
PowerShell 3.0 and after restart Run appv_client_setup.exe.
Configure the App-V 5.0 client to communicate with the App-V 5.0 Publishing Server
Open Windows PowerShell as Administrator, import the App-V Client PowerShell module
Import-Module appvclient
Then to register the publishing server:
Add-AppvPublishingServer -Name name_of_AppV_Publishing_Server -URL [Link]
Then for initial sync and to test connectivity:
Set-AppVPublishingServer –ServerID 1 –GlobalRefreshEnabled 1 –GlobalRefreshOnLogon 1
Sequencer
Installing Microsoft APP-V Sequencer
APP-V Sequencer is used to create the virtual applications and application packages that are
streamed from the App-V Publishing Server to the App-V Clients.
Always sequence 32-bit applications on a 32-bit sequencing OS and can be delivered to 64-bit
clients. Sequenced on a 64-bit sequencing OS, can only be delivered to 64-bit clients.
The computer used for the Sequencer should have a fresh & clean windows operating system.
Do not install Sequencer on a computer that hosts Management Server or Desktop Client.
Login with domain admin account, Install .NET Framework 4.0, Windows PowerShell 3.0 and after
restart run appv_sequencer_setup.exe
Installing Microsoft APP-V Sequencer
The package editor is comprised of several tabs that enable further configuration modification.
These tabs helps to modify the following settings:
• Changing shortcuts and file type associations.
• Modifying registry settings.
• Adding and deleting files in the package.
App-V Packages created during the sequencing process are comprised of several files
File Description
.APPV The Virtual Application Package file containing all assets and state organized
into stream able feature blocks.
.MSI Executable deployment wrapper allowing the manual deployment of .APPV files
or deployment via existing third party deployment platforms.
_DeploymentConfig.XML Used for customizing the default publishing parameters for all applications in a
package.
_UserConfig.XML Used for customizing the publishing parameters directed to specific user groups
for all applications in a package.
.CAB Optional: Package Accelerator file used to automatically rebuild a previously
sequenced virtual application package.
.APPVT Optional: Sequencer Template file used to retain commonly re-used sequencer
settings.
App-V Sequencer tokens can be viewed in the Tools Options dialog box, under Parse Items
Each of these tokens are parenthesized with a [{ and }].
Known Folder Token Known Folder Path
AccountPictures C:\Users\<username>\AppData\Roaming\Microsoft\Windows\AccountPictu
res
Administrative Tools C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Administrative Tools
AppData C:\Users\<username>\AppData\Roaming
Application Shortcuts C:\Users\<username>\AppData\Local\Microsoft\Windows\Application
Shortcuts
Cache C:\Users\<username>\AppData\Local\Microsoft\Windows\Temporary
Internet Files
CD Burning C:\Users\<username>\AppData\Local\Microsoft\Windows\Burn\Burn
Common C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative
Administrative Tools Tools
Common AppData C:\ProgramData
Common Desktop C:\Users\Public\Desktop
Common Documents C:\Users\Public\Documents
Common Programs C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Common Start Menu C:\ProgramData\Microsoft\Windows\Start Menu
Common Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Common Templates C:\ProgramData\Microsoft\Windows\Templates
Sequencing Limitations
Limitation Description
• App-V requires a logged in user to initiate the launch of an
Applications that start services at boot time application.
COM DLL surrogate virtualization • For example, DLLs that run in [Link]
Sequencing for Connection Groups (Plug-ins and Middleware)
Connection Groups in App-V enables virtual applications to interact with other applications,
middleware or plug-ins that have been virtualized in separate virtual application packages by
sharing a common virtual environment.
Advantages: Combined Virtual Environment
• Reduce the size of the primary packages.
• Enables individual packages servicing.
• Secondary packages can be reused with other
primary applications.
• Provides better control of access permissions
on the secondary applications.
For creating a separate package for a plug-
in/Middleware to the Primary Application, select the
Add-on or Plug-in/Middleware option
Edit Package: Helps to modify the properties and configuration associated with an existing virtual application
package rather than adding or updating files.
Add New Application: Helps to add a new application or program to an existing virtual application package. Ex :
Installing the additional applications.
• Updating a Package that will Replace the Existing Package
The Sequencer will save the updated package with a _# at the end of the APPV file name.
Ex: WordViewer2007_2.APPV
• Updating a Package for Deployment with the Existing Package
Should Select the “Save As” option to generate New GUID & Name it as <AppNameV2>.APPV file.
Ex: [Link]
The PowerShell command for upgrading:
Update-AppvSequencerPackage –AppvPackageFilePath
“C:\Packages\ExcelViewer\[Link]” –Name “ExcelViewer” –Path
“C:\Packages\ExcelViewer” –Installer “C:\SourceFiles\[Link]”
Dynamic Configuration and Scripting
Dynamic Configuration allows for specifying a policy for a package at either the machine/user level.
In few instances it is necessary to make modifications to the application to provide proper
functionality within the App-V environment. Ex: Apps requires access to a specific mapped drive or
device drivers to be installed natively or Killing process while terminating application.
Deployment Configuration Files are applied to the package, which can be deployed to AD
groups containing Machine or User accounts. PackageName_DeploymentConfig.xml file.
UserConfig files are applied to the package to AD groups containing User accounts.
PackageName_UserConfig.xml file.
Console
[Link]
Publishing the Applications
Now it shows the PACKAGE IMPORT progress after importing, click Close
Publishing the Applications
The Status field will turn from a black icon to a green icon,
and the status should now say published
Streaming the Application
To access the newly published application, Log-in to the App-V Client machine as a member of
the user group to which the application is assigned.
Application should now be available to clients at the designated shortcut locations.
APP-V 4.x
APP-V 5.x
Linux or Mac OS X
Android or iOS
Q&A
For App-V related information & Technical Discussion Forums on the web
[Link]
[Link]
[Link]
Drop mail to DL for further queries:
Thank you