MSAppVirt45Trial Guide Final
MSAppVirt45Trial Guide Final
MSAppVirt45Trial Guide Final
Important Notice
Copyright
The information contained in this document represents the current view of Microsoft Corporation on the
issues discussed as of the date of publication. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot
guarantee the accuracy of any information presented after the date of publication.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights
under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property
rights covering subject matter in this document. Except as expressly provided in any written license
agreement from Microsoft, the furnishing of this document does not give you any license to these patents,
trademarks, copyrights, or other intellectual property.
Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses,
logos, people, places, and events depicted in examples herein are fictitious. No association with any real
company, organization, product, domain name, e-mail address, logo, person, place, or event is intended
or should be inferred.
2009 Microsoft Corporation. All rights reserved.
Microsoft, Active Directory, ActiveX, Excel, SoftGrid, SQL Server, Windows, Windows PowerShell, and
Windows Vista are trademarks of the Microsoft group of companies.
All other trademarks are property of their respective owners.
Page | 2
IMPORTANT NOTICE............................................................................................ 2
INTRODUCTION TO THE TRIAL GUIDE...................................................................5
PRODUCT DOCUMENTATION................................................................................5
TRIAL SYSTEM REQUIREMENTS...........................................................................7
CHECKLIST OF TASKS.........................................................................................9
INSTALLING MICROSOFT SYSTEM CENTER APPLICATION VIRTUALIZATION
MANAGEMENT SERVER.....................................................................................11
INSTALLING MICROSOFT APPLICATION VIRTUALIZATION DESKTOP CLIENT...........22
TESTING THE DEFAULT APPLICATION..................................................................26
INSTALLING MICROSOFT APPLICATION VIRTUALIZATION SEQUENCER...................31
SEQUENCING WORD VIEWER 2003.....................................................................36
SEQUENCING SILVERLIGHT FOR INTERNET EXPLORER.........................................45
MICROSOFT APPLICATION VIRTUALIZATION STREAMING SERVER.........................47
OFFLINE DEPLOYMENT USING THE SEQUENCER-GENERATED .MSI FILE.................51
MICROSOFT APPLICATION VIRTUALIZATION CLIENT FOR TERMINAL SERVERS.......54
SETTING UP APPLICATION VIRTUALIZATION FOR SECURE CONNECTIONS..............55
TROUBLESHOOTING.........................................................................................62
ACCESSING THE MICROSOFT SUPPORT KNOWLEDGE BASE..................................64
CONTACTING MICROSOFT TRAINING..................................................................64
Page | 3
Product Documentation
Comprehensive documentation for App-V is available on Microsoft TechNet in the App-V TechCenter at
http://go.microsoft.com/fwlink/?LinkID=122939. The TechNet documentation includes the online Help for
the App-V Sequencer, the App-V Client, and the App-V Server. It also includes the Planning and
Deployment Guide and the Operations Guide.
Page | 4
App-V Sequencer is a wizard-based tool that administrators use to create App-V sequenced
applications. The Sequencer produces the application package, which consists of several files. These
files include a sequenced application (.sft) file, one or more Open Software Description (.osd) link files,
one or more icon (.ico) files, a manifest xml file that can be used to distribute sequenced applications with
electronic software delivery (ESD) systems, and a project (.sprj) file. Optionally the Sequencer can
Page | 5
Windows Server 2008 with Active Directory Domain Services and Microsoft DNS
Note: The computer host name of this server cannot begin with a number.
Microsoft Application Virtualization Desktop Client
Windows Vista Business, Enterprise, or Ultimate Editions, Windows XP Professional (SP2 or SP3)
(32-bit only)
Windows Vista Business, Enterprise, or Ultimate Editions, Windows XP Professional (SP2 or SP3)
(32-bit only)
Optional systems:
Microsoft Application Virtualization Terminal Services Client
Page | 7
Checklist of Tasks
The following table lists all the tasks that need to be completed in the correct order. If you have not
worked with App-V before, it is strongly recommended that you follow this sequence of tasks carefully to
ensure a successful installation and test of the App-V system. If you complete all the tasks listed under
Basic Tasks you will have successfully completed the basic system evaluation. If you want to continue
with evaluating other system components, refer to the list of tasks under Additional Information.
Basic Tasks
Area
Server Setup
Task
Method
Install SQL.
Management Server.
Client Setup
server.
Configure and test the
Default Application.
Sequencer
Setup
Sequence an application.
Page | 8
Application
Deployment
application.
Application Test
Additional Information
Area
Streaming
Task
Install and configure
Server
Standalone MSI
Terminal Server
Secure Setup
Troubleshooting
Method
Microsoft Application Virtualization
Streaming Server
Client Configuration
Secure Connections
Troubleshooting
Page | 9
account.
Microsoft Application Virtualization Administrative Group: Microsoft Application
Virtualization requires you to select an Active Directory group to use as an App-V administrators
group for controlling administrative access to the Management Console. Create a security group
named AppV Administrators, and add to this group every user who needs to use the Management
Console. You cannot create this group directly from the Microsoft System Center Application
Virtualization Management Server installer.
Note: For the purposes of this guide, only a single-domain setup is supported in your test lab
environment. If you create groups, create them as global groups. Multi-domain and multi-forest scenarios
are supported but are outside the scope of this guide.
Users.
Domain Test User Account: This account will be the user test account for Microsoft Application
Virtualization end-user functionality. Add your domain test user account to each of the groups
discussed in this list. If you do not, application shortcuts on the App-V client will not display in your
Perform the following steps on the computer that will be the App-V Management Server:
Configure IIS 7.0 for Windows Server 2008
Add the Web Server (IIS) role with the following role services enabled:
Next.
8. On the Registry Information page, enter a Name and Company and then click Next.
9. On the Feature Selection page, click Client Components select Entire feature will be installed on
local hard drive, and then click Next.
10. On the Authentication Mode page, click Mixed Mode and enter and confirm a sa password.
11. Click Next.
12. On the Configuration Options page, select the Add user to the SQL Server Administrator role
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
tool link.
Click the Surface Area Configuration for Services and Connections link.
In the console tree, under Database Engine, click Remote Connections.
In the details pane, select Local and remote connections and click Apply.
In the alert dialog, click OK.
In the console tree, under Database Engine, click Service.
Click Stop, wait until the MSSQLSERVER service stops, and then click Start to restart the
23.
24.
25.
26.
27.
28.
29.
MSSQLSERVER service.
In the console tree, click SQL Server Browser.
In the details pane, select Automatic from the Startup type list box.
Click Apply.
Click Start to start the SQLBrowser service.
Click OK.
Close the SQL Server 2005 Surface Area Configuration page.
Click Finish.
Note: Do not lock down these or any component of this server, and do not try to reuse your standard
server image. The purpose of this limited trial is to evaluate Microsoft Application Virtualization in a test
labnot to determine whether Microsoft Application Virtualization will run in your production environment.
Page | 12
Page | 13
Page | 14
Page | 15
Page | 16
Page | 17
Page | 18
Page | 19
7.
8.
9.
10.
11.
Click Next.
On the Action page, select Allow the connection and click Next.
On the Profiles page, accept the default values and click Next.
Enter a name and description for the rule in the corresponding boxes and click Finish.
Repeat these steps to add a rule for sghwsvr.exe.
Note: This step is necessary to allow the client computers to connect to the server using RTSP(S).
You now have completed the installation of the Microsoft System Center Application Virtualization
Management Server. If you encountered any errors during the process, please refer to the
Troubleshooting section at the end of this guide.
Page | 20
Installing
Microsoft
Application
Virtualization
Desktop
Client
The section guides you through the step-by-step process of installing Microsoft Application Virtualization
Desktop Client on a Windows Vista computer.
Perform the following on the computer to be the App-V client:
1. Extract and run the setup executable for Microsoft Application Virtualization Desktop Client.
2. The setup wizard will scan for and prompt you to install Microsoft C++ Redistributable Package,
Microsoft MSXML and Microsoft Application Error Reporting if they are not installed (Figure 10).
Page | 21
Page | 22
Page | 23
Page | 24
Page | 25
Page | 26
Page | 27
application.
Click the Shortcuts tab, and then click Publish to Users Desktop.
Click OK to accept the changes for the default application.
Open Windows Explorer, and go to the content directory.
Double-click the DefaultApp.osd file, and open it with Notepad.
Change the HREF to the following:
CODEBASEHREF=RTSP://<FQDN of your server>:554/DefaultApp.sft.
You have now confirmed that the Microsoft Application Virtualization system is running correctly. If you
have encountered any errors performing these procedures, please refer to the Troubleshooting section
at the end of this guide.
Page | 29
Before
You
Install
Microsoft
Application
Virtualization
Sequencer
The Sequencer computer must meet the same minimum requirements as Microsoft Application
Virtualization Desktop Client. However, when sequencing applications in a production environment, use
high-performing computers that are optimized for processing throughput, with at least 4 GB of RAM and a
fast CPU (3 GHz or faster). Fast hard disks and the use of separate disk volumes can also improve
performance. Virtual machines are ideal for sequencing because they can easily be reset, or you can use
a physical computer with a clean image on a local partition to enable rapid re-imaging after each package
sequencing operation has been completed.
There are two main methods for setting up the sequencer computer for this trial:
Option 1: Virtual Machine
Do a fresh install of a supported operating system to a virtual machine (VM). Do not use your "standard
desktop image" or install any other applications on this image at this time. Add a second virtual hard disk
and within the VM set the drive letter to "Q." Enable Undo disks and commit the existing configuration, or
create a snapshot if using Hyper-V. After each time you sequence an application, turn off the VM and
discard the undo disk to this VM or apply the saved snapshot to get back to a "clean" operating system.
Option 2: Physical Computer
Create at least two partitions on the hard disk. Make the first partition at least 4 GB in size for the
operating system. The second partition should consume the remainder of the hard disk space, preferably
more than 10 GB in total size. Set the drive letter to "Q" for the second partition. Do a fresh install of a
supported operating system to the first partition. Do not use your "standard desktop image" or install any
other applications on this image at this time. Use a disk imaging utility to store an image of the first
Page | 30
Why a Q Drive?
Why sequence to a Q drive? The purpose is for the core application installation path to remain constant
across all computers in the enterprise, which might not have constant system drives; for example, drive M
for terminal servers and drive C for desktop computers. This is accomplished using a real drive or
partition on the Microsoft Application Virtualization Sequencer computer and a virtual drive on Microsoft
Application Virtualization clients. The virtual drive on Microsoft Application Virtualization clients is created
by App-Vs virtualization technology and not by a disk partitioning tool. The Q drive is the default drive
letter and can be changed if needed in a production roll out. Its a best practice to sequence to the same
drive letter as the client will use in production.
ICO
The .ico (icon) file specifies the application icons that appear on the Microsoft Application
Virtualization client desktop. When you double-click the icon, you are actually launching the shortcut to
the corresponding .osd file, described below, that begins the data streaming and application launch
Page | 31
OSD The .osd (Open Software Description) file provides the information necessary to locate the .sft
file for the application and set up and launch the application. This information includes the application
name, the name and path to the executable file, the name and path to the .sft file, the suite name, the
supported operating systems, and general comments about the application.
SFT
The .sft file contains the asset files that include one or more Windows applications. Microsoft
Application Virtualization Sequencer, without altering the source code, packages these asset files into
chunks of data that can be streamed to the Microsoft Application Virtualization client. The file is divided
into two distinct blocks. The first block, called the primary feature block, consists of the applications mostused features, as configured by the sequencing engineer. This block is streamed to the Microsoft
Application Virtualization client the first time the user launches the application. The remainder of the
application is in the secondary feature block. This block is streamed to the Microsoft Application
Virtualization client on demand. By default, the blocks are divided into 32 KB "chunks" of data.
SPRJ The .sprj (Sequencer project) file is generated when a project is saved. The .sprj file contains a
list of files, directories, and registry entries that are excluded by the Sequencer. Load this file in the
Sequencer to add, change, delete, or upgrade any of the applications in the suite. A common example of
when you might use the .sprj files is when you add service packs to an application.
Manifest File The manifest file (xml based) can be used by ESDs to deploy applications using
App-Vs SFTMIME scripting language.
MSI
The App-V Sequencer can optionally generate .msi files that can be deployed to clients
Page | 32
Page | 33
Page | 34
Page | 35
Page | 36
Page | 37
WORDVIEW.
Click Cancel and close Word Viewer.
Switch to the Sequencing Wizard, and click Stop Monitoring.
When the monitoring is finished, click Next.
On the Add Files to Virtual File System page, click Next.
On the Configure Applications page (Figure 23), click Applications.
Page | 38
In the details pane, click Microsoft Office 2003 component, and then click Remove.
Click OK.
In the details pane, click Microsoft Office Word Viewer 2003, and then click Edit.
In the Edit Application dialog box, set the following .osd file properties (Figure 24) and then click
Save.
a. Name: Word Viewer
b. Version: 2003
c. OSD Filename: WordViewer2003.osd.
Page | 39
Click Save.
Under Applications, expand Word Viewer.
Click File Type Associations to view the FTAs the Sequencer has recorded.
Click Shortcuts to view where the shortcuts for this application will be located on the Microsoft
Page | 40
Page | 41
Page | 42
Page | 43
Page | 44
25.
26.
27.
28.
29.
30.
31.
Page | 45
6.
7.
8.
9.
10.
11.
click Next.
On the Installation Path page, click Next.
On the Connection Security Mode page, click Next.
On the TCP Port Configuration page, click Next.
On the Content Root page, click Next.
On the Advanced Settings page (Figure 27), clear the Enable User authentication check box.
Change the Package update (sec) to 10 sec.
Normally this setting is 30 minutes, but for the purposes of our demonstration we will change it to 10
seconds to speed up the process.
Page | 46
Click Next.
On the Ready to Install the Program page, click Install.
On the Completed page, click Finish.
Click Yes to restart the server.
In Windows Explorer, go to C:\Program Files\Microsoft System Center App Virt Streaming
Server\content, and share the content folder. Ensure that Read access to this folder is given to
Everyone.
Note: If you are using a 64-bit operating system version, the folder will be under C:\Program Files
(x86)\Microsoft System Center App Virt Streaming Server\content
17. Copy the WordViewer2003 folder, from the content share on the Management Server, into the
content share on the Streaming Server.
18. Follow the instructions under Create a Program Exception in Windows Firewall to create rules in the
server firewall for the App-V services.
Client Configuration
Perform the following steps on the Microsoft Application Virtualization client:
1. Click Start | Administrative Tools | Application Virtualization Client.
2. In the console tree, click Applications.
3. Right-click Word Viewer 2003 and click Delete.
Page | 47
You will notice that the package is now streaming from the Microsoft Application Virtualization Streaming
Server content share.
Page | 48
29).
7. In the details pane, double-click RequireAuthorizationIfCached.
8. In the Value data field, type 0, and then click OK.
Page | 49
Page | 51
Testing Applications
You can log on to the Terminal Server multiple times using Remote Desktop Protocol (RDP) and test the
various applications simultaneously.
Page | 52
Setting
Up
Application
Virtualization
for
Secure
Connections
The following role must be installed on the domain controller computer:
1.3.6.1.5.5.7.3.1).
Certificate FQDN must match the server on which it is installed.
Client (and server) need to trust the root CA.
Certificate Private Key has to have permissions changed to allow App-V Service account access to
the certificate (see below).
Perform the following to issue a certificate to the Management Server and configure it for use with
Microsoft Application Virtualization:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
Private Keys.
Click Add, type Network Service, and press Enter.
Give the NETWORK SERVICE account Read permissions on the certificate.
Click OK.
Close the MMC console.
Page | 53
Page | 54
Page | 55
Page | 56
Page | 57
Click OK.
In the console tree, click Applications.
In the details pane, right-click DefaultApp and click Unload.
Close the Application Virtualization client.
On the desktop, double-click Default Application.
In the Microsoft Application Virtualization Default Application dialog, click OK.
Page | 58
Troubleshooting
This section addresses some of the most common pitfalls you might encounter when you install,
configure, and test the Microsoft Application Virtualization platform.
If you need additional help, search either the Microsoft Knowledge Base or the Application Virtualization
TechCenter.
and "The server could not authorize you to access the requested data..."
The application shortcut is not on the Microsoft Application Virtualization client desktop.
The application did not stream to the Microsoft Application Virtualization client. If the application fails
to stream you see the "Launch Failed" error message above the notification area.
Possible Causes
The user account used to log on to the Microsoft Application Virtualization client is not a member of
the Microsoft Application Virtualization Users group or is not a domain user account.
The .sft, .ico, and/or .osd files are not in the Microsoft System Center Application Virtualization
Management Server content folder. Copy these file to C:\Program Files\Microsoft Application
Virtualization\Microsoft System Center Application Virtualization Server\Application Virtualization
Server\content.
There are typing errors in the .osd and .ico paths in the application record in Microsoft Application
Application Virtualization server. Check the permissions settings on the content share.
The Microsoft Application Virtualization client cannot access the Microsoft System Center Application
Virtualization Management Server. Check network settings, cabling and firewall exceptions for the
server services.
The content folder on the Microsoft System Center Application Virtualization Management Server is
not set to share or to be shared with everyone who has read access.
The Microsoft Application Virtualization client is not a member of the domain.
The user lacks necessary permissions to access the application. Reread and follow the procedure
regarding importing .osd files, paying close attention to setting the access group.
The operating system of the Microsoft Application Virtualization client computer is not listed in the
.osd file of the application.
Page | 59
Page | 60
Page | 61