Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Microsoft Application Virtualization Advanced Guide
Microsoft Application Virtualization Advanced Guide

Microsoft Application Virtualization Advanced Guide: This book will take your App-V skills to the ultimate level. Dig deep into the technology and learn stuff you never knew existed. The step-by-step approach makes it surprisingly easy to realize the full potential of App-V.

eBook
€8.99 €36.99
Paperback
€45.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Microsoft Application Virtualization Advanced Guide

Chapter 2. Sequencing in Complex Environments

All of us working in the IT sector know that technology, platforms, infrastructure, and implementations do not always work as we would find in a step-by-step article. We know that every scenario that we could work in may require some tweaks to adjust our implementation.

App-V is one of the greatest examples of how a technology can adapt to almost any given scenario: integrating with other existing platforms, different implementation models, and the variety in the delivery methods.

If we are talking about the sequencing compatibility of applications, we are quite sure that almost any application is suitable for packaging, but sequencing complex applications could require several hours of analyzing, installing, packaging, and testing the virtual environment, to finally get it ready.

There are several parameters and options we can use in the sequencing process in order to complete an application virtualization, such as, editing the Exclusion Items...

Overview of complex sequencing


Most likely, almost all of the existing applications in your current operating system support virtualization, but as we said, not all of them will have the same, straightforward process to get it working properly.

It is important to note that:

  • Every application needs a deep understanding before capturing it: Understand the application's usage, dependent components, requirements, and interaction with the operating system. If we don't have these things cleared up, the sequencing process will not be an easy ride.

  • App-V was not designed to solve incompatibility issues: Even though virtualizing an application in Windows XP can actually allow it to run in Windows 7, the focus of this technology is not to solve incompatibility among operating systems. We have some great examples of resolving problems like this using App-V, but it's not 100 percent guaranteed.

  • Do not confuse "complex/advanced sequencing" with sequencing unsupported applications: There are some applications...

Reviewing complex applications


Understanding applications is a key element prior to starting with the sequencing process. Gaining deep knowledge about it will give us the necessary tools for proper sequencing, especially when we are dealing with complex applications.

In my previous book, Getting Started with Microsoft Application Virtualization, we took a closer look at the step-by-step process for virtualizing a seriously complex application such as Microsoft Office 2010. Even though we are not going to review it again, we'll talk about the important topics we must understand to achieve a happy ending while virtualizing a complex application.

Another important thing to remember about the applications and their sequencing process is that we should always maintain this process with the recommended best practices; this way we'll avoid common errors and misconceptions regarding this stage.

Applications that require complex sequencing

If you have a bit of experience in App-V and in the sequencing...

Handling App-V Sequencer exclusions


As we've seen earlier, the App-V Sequencer needs to monitor specific data and directories to capture the application installation and, in this process, it also needs to exclude several directories to avoid unnecessary data as well as computer/user data.

The App-V Sequencer installation includes the default list for Exclusion Items, which it applies every time.

Microsoft's Network Monitor 3.4 is a good example of an application that requires editing of the App-V Sequencer Exclusion Items. Normally, this application is sequenced without any issue, but as soon as we start the virtualized package, we receive the error Failed to load NPL script.

In this example, the App-V Sequencer ignored a few files that are required for the application to function properly.

Note

We will review, in Chapter 5, Troubleshooting App-V, the normal process for finding these errors and the specific directory or files ignored by the App-V Sequencer, using Microsoft Sysinternal's Process...

Using workarounds for applications with drivers


Network Monitor 3.4 is also a good example of an application that could be sequenced with a few tweaks, even if the software requires a driver to work properly.

Once we sequence the application and apply the workaround reviewed before editing the App-V Sequencer Exclusion Items, we will see our application running apparently normally; but, as soon as we try to capture it from the network, we will see the None of the network adapters are bound to the netmon driver message:

If we are working with an application and we don't know the exact driver that it is using, we can use Process Monitor again, to find the particular driver used. In this case, the network driver, used as a filter in communications, is named nm3.sys.

You can also easily find the latest driver installed by accessing C:\Windows\system32\drivers and looking for the latest files added.

In order to get this application working as virtual, we must do the following:

  1. Sequence the application...

Handling the virtual environment


Fortunately the flexibility that App-V provides lets us work and edit almost anything in the sequencing process, like we've seen by editing the parsed or excluded items, or by editing the virtual environment.

The virtual environment can be reviewed and edited using the SPRJ (Project File) of the application or as soon as we complete the sequencing wizard. The options we can edit in the virtual environment are as follows:

  • Files: All the application files captured and included in the package.

  • Virtual registry: The registry keys used by the application, which, again, are only going to be available for the application we are virtualizing.

  • Virtual file system: A detailed view about the files stored in the Q:\, including those which are redirected to the C:\.

  • Virtual services: Embedded services in the application that are captured in the sequencing process.

  • OSD: This is a more practical view of the OSD file, which contains an XML-formed view. Using this tab, we can easily...

Using Dynamic Suite Composition


Dynamic Suite Composition represents the way in which administrators can define dependencies between App-V packages and guarantee final users transparent operability between applications.

In normal operating system use, we can find several applications that are dependent on other applications. The best example is probably that of web applications interacting (from a browser, of course) constantly with Java Runtime Environment, Silverlight, and other applications, such as PDF Reader. DSC is also very suitable in any plugin scenario for other large applications such as Microsoft Office.

Dynamic Suite Composition always identifies two type of applications:

  • Primary application: This is the main application and is usually the full software product. It should be identified, as the application users execute primarily before needing a second application.

  • Secondary application: This is usually a plugin/middleware attached to the primary application. It can be streamed...

Upgrading/editing an existing application


An important procedure we should always consider in our App-V deployment is that the application upgrade or modification in its life cycle.

There are different ways an application could need an upgrade or modification—a service pack or updated version, modification required within the options of the application, or adding a new feature/application to an existing package. For all of those options, the App-V Sequencer offers us a wizard.

The options available in the App-V Sequencer are:

  • Update application in an existing package: This is the scenario for a new update, service pack, or for modifying a particular option within the application.

  • Edit the package: This is the option we usually see, as soon as we are done with the capturing process. Here, we configure (or in this case, modify) the deployment settings, virtual environment (file system and registry), and so on.

  • Add new application: This is the option for when we need to add a new application to...

Creating and handling package accelerators


One of the newest features in App-V 4.6 SP1 is the package accelerator, which appeared in order to help the App-V community share knowledge and common best practices for applications sequencing.

What is a package accelerator?

Package accelerators represent a fast way to accomplish the sequencing of any given application by using the configuration files saved previously by a sequencer professional. These files can be used to rapidly create a new version of the sequenced application, saving a lot of time in the customization of this app.

Before package accelerators, sequencing a particular (most likely, complex) application and sharing that knowledge with the community implied that we write down that process in a detailed way, called an App-V recipe. These recipes are usually found in Microsoft TechNet and other App-V community forums.

A package accelerator is nothing more than a CAB file containing the following files:

  • SPRJ

  • OSD

  • Manifest file for this particular...

Summary


In this chapter, we had the chance to review important topics regarding complex sequencing and how to accomplish these in some scenarios where App-V is normally not supported.

There are some applications that require more tuning than others, including those that are not commonly supported in App-V, such as an application with drivers. A good example we reviewed here is Network Monitor; it requires editing the Exclusion Items of the App-V Sequencer, in order to include necessary files, and also requires the existence of a driver to function properly.

In complex sequencing, there are important concepts that we've had the chance to understand, in this chapter; for example, using the override/merge options and the ability to let the application interact with the operating system (using the LOCAL_INTERACTION_ALLOWED parameter).

We've also covered Dynamic Suite Composition, which lets us work with dependencies between different virtual applications. By handling the proper parameters in the...

Left arrow icon Right arrow icon

Key benefits

  • Understand advanced topics in App-V; identify some rarely known components and options available in the platform
  • Acquire advanced guidelines on how to troubleshoot App-V installations, sequencing, and application deployments
  • Learn how to handle particular applications, adapting companys' policies to the implementation, enforcing application licenses, securing the environment, and so on
  • Virtualize server applications by using the upcoming platform Server App-V
  • Step-by-step explanations to maximize the utility of App-V in your application infrastructure

Description

Microsoft's Application Virtualization technology has been emerging as one of the main platforms in application virtualization. This is mainly because more and more organizations are thinking about application virtualization as a valid implementation; also because App-V represents probably the most attractive solution. App-V introduces a new and efficient way to improve operating systems and application life cycles in organizations. However, if we want to maximize our investment we must learn that every scenario and application differs from another, as does complexity.With Microsoft Application Virtualization Advanced Guide administrators will find detailed topics for understanding App-V components, architecture and implementation models; as well as step-by-step guidance to master App-V processes. There is also guidance on integrating App-V with other robust platforms like VDI, SCCM 2012 and even virtualizing server applications. Microsoft Application Virtualization Advanced Guide will start by giving readers the means to discover unfamiliar topics in App-V, as well as understanding App-V's architecture. By doing so, it will provide the baseline needed before shifting to advanced topics in App-V, like complex scenarios for sequencing and deploying applications. The book details scripting within App-V, as well as handling the platform using the command line; there is a complete review of troubleshooting installations, sequencing and deploying applications. Integration is another key component we will cover by introducing App-V in VDI and SCCM 2012. Server applications are not forgotten with Server App-V, using this book the reader will have a detailed understanding, with how-to steps to virtualize server applications.

Who is this book for?

This book is for system administrators or consultants who want to master and dominate App-V, and gain a deeper understanding of the technology in order to optimize App V implementations. Even though the book does not include basic steps like installing App-V components or sequencing simple applications; application virtualization beginners will receive a comprehensive look into App-V before jumping into the technical process of each chapter.

What you will learn

  • Perform sequencing in complex environments including scenarios where App-V is normally not supported
  • Deploy your applications using HTTP/S or configure standalone modes for local and SMB Streaming in complex scenarios such as adjusting communication ports for application delivery
  • Get hands on in how to implement the scripting process within App-V applications and also review how to use App-V command lines
  • Troubleshoot App-V
  • Scale-up App-V implementations by using failover and load balanced scenarios
  • Review App-V integration with VDI and Remote Desktop Services
  • Integrate App-V with SCCM 2012
  • Examine 3rd party tools available in App-V

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 26, 2012
Length: 474 pages
Edition : 1st
Language : English
ISBN-13 : 9781849684491
Vendor :
Microsoft
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 26, 2012
Length: 474 pages
Edition : 1st
Language : English
ISBN-13 : 9781849684491
Vendor :
Microsoft
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 136.97
Getting Started with Citrix XenApp 6.5
€48.99
Windows Server 2012 Hyper-V Cookbook
€41.99
Microsoft Application Virtualization Advanced Guide
€45.99
Total 136.97 Stars icon
Banner background image

Table of Contents

9 Chapters
Taking a Deep Dive into App-V Chevron down icon Chevron up icon
Sequencing in Complex Environments Chevron down icon Chevron up icon
Deploying Applications in Complex Environments Chevron down icon Chevron up icon
Handling Scripting and App-V Command Lines Chevron down icon Chevron up icon
Troubleshooting App-V Chevron down icon Chevron up icon
Scaling Up App-V Implementations Chevron down icon Chevron up icon
Integrating App-V with Virtual Desktop Infrastructure (VDI) Chevron down icon Chevron up icon
Integrating App-V with System Center Configuration Manager 2012 Chevron down icon Chevron up icon
Integrating Server App-V with Private Clouds Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 25%
4 star 75%
3 star 0%
2 star 0%
1 star 0%
Nic Jun 26, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is the natural continuation of the guide that Alvarez had already written on App-V titled Getting Started with Microsoft Application Virtualization 4.6This guide examines advanced topics related to App-V and will show you all its secrets, so you can maximize your infrastructure based on virtualized applications.The book has a series of practical examples and is based on the great field experience gained by Alvarez using App-V.Among the Reviewers of the book there are 3 very famous App-V MVP!Do not miss the section about Troubleshooting and the section about integration of App-V in a Virtual Desktop Infrasctructure (VDI) and Remote Desktop Services (RDS), that is my preferred App-V implementation, as you know :-)Truly a book not to be missed!
Amazon Verified review Amazon
C. Miller Jun 08, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This book is a must have for anyone who is looking at setting up App-V environment. The technology is unfortunately very complex and overwhelming, but this book does a great job of explaining the different ways inwhich it can be deployed. It also gives invalueable in-depth information for sequencing applications and then methods of troubleshooting packages that you may be having issues with.This book also does a great job if describing how an App-V environment can be put in place for application delivery in a VDI setup, and doesn't skip on mentioning how to take advantage of the shared app cache in order to save on diskspace.I don't run SCCM, but the book describes how to integrate App-V into it if you do. Along with that it talks about how you can use it in conjunction with RDSH servers (aka terminal servers) to deliver applications in whatever scenario happens to best for that application.The book doesn't skip on talking about using App-V for delivering server applications to Windows Server even though I've never heard of anyone really doing this.At the end of the book is a great appendix of third party resources for creating, maintaing and troubleshooting an App-V enviornment which is practically worth the cost of the book itself.Overall I recommend this book if your looking into this technology, however I fear that this technology will not be around too much longer due the lack of marketing and promotion from Microsoft and there big push towards Metro and the Microsoft store in upcoming Windows 8 and Server 2012.
Amazon Verified review Amazon
Chris Keim Jun 25, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
With virtualization, there are multiple solutions that can be combined to create a personlized architecture for a company. One of those options is application virutualization. Augusto Alvarez does a good job in explaining the architecture and components involved in Microsoft's App-V as well as the overall lifecycle and architecture of an App-V solution.For those that have a little experience, the second chapter is where they might want to jump to. The second chapter goes into sequencing applications, this is where App-V engineers want to pay attention to make sure the process is done correctly and Augusto goes over this very well. Chapter 3 talks about deploying the package just created. The next bit that is very important for an App-V engineer is troubleshooting and chapter 5 handles this nicely. What happens next depends on your environment, but Augusto has this handled as well. Whether you need to scale out your deployment, integrate SCCM, or integrate it into your VDI environment, the information is well layed out.You should have looked into App-V or have some experience prior to reading this book as it hits the ground running, but for those that want to get the most out of App-V, you should read this book.
Amazon Verified review Amazon
Jack May 14, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This is an in-depth book on the use and features of Microsoft App-V technology. This book is a must read for packagers using App-V and for those who want to play with it or have a deep interest in this matter.I'm a huge fan of clearing things up with the help of pictures (a picture can say a thousand words) but I must admit that the author has found a way to use the pictures to clarify and not to clutter the book with them.App-V isn't the my area of expertise but I understand what the author is telling me and in such a matter that I don't feel stupid or that I'm an infant. It guides you through the steps with real life tips but does work from a mindset that you know already something about the product.In my opinion the money is worth spending on this book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.