Book Image

Getting Started with Microsoft Application Virtualization 4.6

By : Augusto Alvarez
Book Image

Getting Started with Microsoft Application Virtualization 4.6

By: Augusto Alvarez

Overview of this book

<p>Organizations often spend more money than they should on maintaining applications and the operating system life cycles. Supporting end-users' problems as well as maintaining different operating system baselines can also get really expensive. Microsoft App-V saves resources and increases productivity by virtualizing applications and providing centralized management for your organization's application infrastructure. However, application virtualization is not as simple as it sounds and can require expert guidance for successful implementations in an organization. <br /><br />With this book in hand, you will learn how to easily implement a centralized management for your applications with Microsoft App-V. It provides all the necessary guidance for preparing your App-V environment, as well as sequencing (capturing) and delivering simple and complex applications. It will demonstrate how you can save a lot of time and effort by eliminating the common issues faced in application deployment and maintenance. <br /><br />This Microsoft Application Virtualization 4.6 Implementation Guide will show you, in a step-by-step manner, how to set up the environment for installing your company&rsquo;s applications, defining all the requirements and configurations one time only, and then delivering the same baseline to all the users you want. Microsoft App-V removes the constraints we usually have with applications, their dependencies and the issues involved, providing a centralized management of those applications. With this book, you will first review the basics of App-V architecture and the components involved and then start working directly with the platform by installing the App-V server and client components. As the book progresses, you will learn to sequence and publish simple as well as complex applications. Using this guide, applications' transitions, such as moving up from Microsoft Office 2007 to Office 2010, can be achieved transparently for all users. It will also guide you through advanced topics such as integrating App-V with Microsoft&rsquo;s Configuration Manager, securing communications, and publishing applications through Remote Desktop Services.</p> <p>By the end of this book, you will be geared up to plan and implement the virtualization of your application infrastructure with Microsoft App-V.</p>
Table of Contents (17 chapters)
Getting Started with Microsoft Application Virtualization 4.6
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and configuring App-V Remote Desktop Services


Using App-V Remote Desktop Services does not differ much from a normal App-V deployment.

The only component which needs a special installation is the App-V Client, which uses different installation binaries, Microsoft Application Virtualization Client for Remote Desktop Services. The rest of the roles, App-V Management Server (including the Management System and Data Store), Streaming Server, and App-V Sequencer are exactly the same as seen earlier.

To achieve a proper co-existence for these two platforms there are some important matters you should consider and take note of before the implementation - here's a short review.

App-V RDS client considerations

RDS has the same deployment process for the App-V applications, but the environment where you will be working is not the same as seen earlier. So here are some of the points you should consider:

  • Consider using a network location for the "User-specific Data Location" option. This is where App-V stores the changes made in the application packages for each user.

    The default option is the AppData folder of the user's local profile. But if the scenario is using mandatory profiles, all of these changes will be lost and the App-V redirection will be the best approach.

    Keep in mind that with this redirection it is highly recommended to use a network location near the clients, to optimize the use of bandwidth and maintain an acceptable user experience.

  • Consider shared read-only cache for App-V for minimizing disk impact in VDI environments. In the App-V client installation you can set a common shared cache directory for App-V packages.

    Of course if you are using mandatory profiles and you do not have AppData redirection, this will not add any benefit as the changes in the profiles (including AppData) will not persist and you won't have to worry about profile size.

    More information about how to configure this option is available in the How to Configure a Read-only Cache on the App-V Client article at http://technet.microsoft.com/en-us/library/ee956915.aspx.

    Note

    The App-V shared cache feature is not supported at this time for use in RD Session Host farms.

  • Cache pre-load is usually a good approach in a RDS environment.

  • Highly recommended to standardize the RD Session Host settings across your server farm, maintaining the same configurations on all the servers as much as you possibly can.

Deployment considerations

Microsoft provides a very complete and interesting table about some considerations you should evaluate when you are analyzing the application delivery methods to the Remote Desktop Servers.

You can find the complete reference in the App-V Remote Desktop Services document available from the Microsoft Download Center at http://www.microsoft.com/downloads/en/default.aspx.

Deployment method

Supports user publishing

Supports computer publishing

Upgrade process

Preload App‑V Cache Capability

Full Infrastructure w/ RTSP(s)

Yes

No

1. Version updated on App-V Management Server.

2. RD Session Host server placed in maintenance mode.

3. First open of package will upgrade.

No

Full Infrastructure w/ HTTP(s) or File Streaming

Yes

No

1. Version updated on App-V Management Server.

2. RD Session Host server placed in maintenance mode.

3. Publishing refresh.

4. First open of package will upgrade.

No

Stand Alone Client (MSI)

No

Yes

1. RD Session Host server placed in maintenance mode.

2. New version of package MSI executed.

Yes

SCCM 2007 R2

No

Yes

1. RD Session Host server placed in maintenance mode.

2. Configuration Manager 2007 R2 advertisement executes.

No

SFTMIME

Yes

Yes

1. RD Session Host server placed in maintenance mode.

2. Updated package published with SFTMIME.

Yes

An interesting note to remember about application publishing is that when you are working with RDS, if you are using computer publishing, the applications will be available for all users that are connected to the RD Server. User publishing will provide the granular permissions that are commonly necessary for most environments, only giving access to applications to the right RD clients.

Installing App-V RDS client

Once you have considered all the options for an App-V deployment with Remote Desktop Services, it is time to install the App-V Client in the RD Session Host.

Installing the App-V client has no differences to any other application installed on a Remote Desktop Session Host, which must be set in install mode.

  1. In the RD Session host, access Control Panel | Programs, and click Install Application on Remote Desktop Server.

  2. A wizard will appear, click Next.

  3. In the next window, insert the path for App-V Remote Desktop Services Client installation file and click on Next.

  4. Follow the installation wizard for App-V, completing the configurations needed.

  5. Once the installation is complete click on Finish and the App-V RDS Client will be installed.

Publishing App-V Applications with RemoteApp

As you have seen earlier, RemoteApp publishes any normally installed program to clients; App-V applications do not fit in the normal environment for RDS. That's why if you are seeking deployment of App-V packages using RemoteApp, it will require some extra configuration.

This example will be using the DefaultApp provided by App-V.

  1. Publish the application to the RD Server.

  2. Make sure you have copied the EXE or DLL file where the application stores the icons used (available in the Icons folder for the virtual package). It is necessary to link each virtual application with the appropriate icon.

  3. Access the properties from one of the shortcuts shown by the virtual application and copy the application name. The complete name + version used appears right after the /launch parameter.

    In this case, it is DefaultApp MFC Application 1.0.0.1.

  4. Open the RemoteApp Manager console and click on Add RemoteApp Programs.

  5. A new wizard will appear, click Next in the welcome page.

  6. In the next window, click on Browse to select the application path. Search for the Application Virtualization Client folder located in Program Files.

    Select sfttray.exe file.

  7. Click on Properties. Complete the name and alias for the application.

  8. Select Always use the following command-line arguments option and insert: /launch "Application Name" (paste the value copied in step 3).

    Use the Change Icon option to select the proper icon for the application. For that, you will need the EXE or DLL file copied earlier. Click OK.

  9. In the RemoteApp wizard click Next and in the last step, click Finish and you will be done.

    With that, all you need to do is deploy the application using an .rdp or MSI file, or just access it from a web browser. This example will be using the last option.

  10. From a RD Client, access the web portal for Remote Desktop Services and you should see the DefaultApp available.

  11. Clicking on it will give you access to the application as if it were deployed locally.

    Even more, you can verify that the App-V Client is being used from the RD Server (in the server name is w2k8-rds.aalvarez.ad) just by verifying the existing connection in the tray bar.

Using RemoteApp to publish App-V streamed applications does not involve a complex configuration, but it always needs some manual execution, making this not the most scalable solution available.

But if you deployed App-V packages using SCCM 2007 R2 or an MSI, these particular steps are not necessary, as the application should already be available for selection in the RemoteApp wizard.