You are previewing Microsoft Application Virtualization Advanced Guide.
O'Reilly logo
Microsoft Application Virtualization Advanced Guide

Book Description

Master Microsoft App-V by taking a deep dive into advanced topics and acquire all the necessary skills to optimize your application virtualization platform with this book and ebook.

  • 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

  • In Detail

    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.

    Table of Contents

    1. Microsoft Application Virtualization Advanced Guide
      1. Table of Contents
      2. Microsoft Application Virtualization Advanced Guide
      3. Credits
      4. About the Author
      5. About the Reviewers
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Taking a Deep Dive into App-V
        1. What's new in App-V 4.6 SP1?
        2. App-V components and architecture
          1. Understanding App-V server components
            1. App-V management server
            2. App-V management system
            3. App-V Streaming Server
            4. App-V Management Server Console options
              1. The Reset Administrators option
              2. Understanding memory and core processes utilization
          2. Understanding sequenced application components
          3. Understanding App-V client components
            1. Understanding the virtual environment
            2. App-V Client Management Console
              1. Reviewing Management Console properties
            3. Understanding Global Data and User Data directory
              1. Global Data directory
              2. User Data directory
              3. Using PKG files
            4. Understanding the App-V client cache
              1. Reducing the size of the App-V client cache
            5. Registry keys available in the App-V client
        3. App-V deployment possibilities
          1. Understanding the Full Infrastructure model
          2. Understanding the ESD model
            1. Comparing streaming methods
          3. Understanding the Standalone model
        4. Understanding the App-V client and publishing interaction
          1. Understanding the publishing refresh process
          2. Understanding the application launch/load process
            1. AutoLoad options
        5. Summary
      9. 2. Sequencing in Complex Environments
        1. Overview of complex sequencing
          1. Applications not supported for sequencing
          2. Sequencing best practices
        2. Reviewing complex applications
          1. Applications that require complex sequencing
            1. About the Microsoft Application Compatibility Toolkit
          2. Understanding sequencing phases
        3. Handling App-V Sequencer exclusions
        4. Using workarounds for applications with drivers
        5. Handling the virtual environment
          1. Using override/merge options
          2. Understanding LOCAL_INTERACTION_ALLOWED
        6. Using Dynamic Suite Composition
          1. Sequencing applications in DSC
          2. Using the Dynamic Suite Composition tool
        7. Upgrading/editing an existing application
          1. Updating an application in an existing package
          2. Editing the package
          3. Adding a new application
        8. Creating and handling package accelerators
          1. What is a package accelerator?
          2. Creating a package accelerator
          3. Using a package accelerator
          4. Reviewing package accelerators best practices
        9. Summary
      10. 3. Deploying Applications in Complex Environments
        1. Configuring and using HTTP publishing and streaming
          1. Adding the Web Server role
          2. Configuring IIS options
          3. Adding MIME types
          4. Creating publication files
          5. Configuring the App-V client
        2. Configuring and using the standalone mode
          1. Standalone without streaming
            1. Manual configuration
            2. Group Policy configuration
            3. Running the application in standalone mode without streaming
          2. Standalone with SMB streaming
            1. Manual configuration
            2. Group Policy configuration
            3. Running the application in standalone mode with SMB streaming
        3. Configuring SSL communications
          1. Certificate prerequisites
          2. Setting RTSPS communications
            1. Configuring the App-V management server
              1. Securing the App-V Management Server during installation
              2. Securing an installed App-V Management Server
            2. Configuring the App-V Streaming Server
            3. Configuring the App-V Desktop Client
          3. Setting HTTPS communications
            1. Configuring the web service
            2. Configuring HTTPS streaming
        4. Using Providers Policies in App-V
          1. Understanding Providers Policies and licenses
          2. Configuring and applying Providers Policies
          3. Configuring and applying App-V licenses
            1. Using an unlimited license
            2. Using concurrent licenses
            3. Using named licenses
        5. Summary
      11. 4. Handling Scripting and App-V Command Lines
        1. What we can do with App-V scripting
          1. Introducing OSD scripting
            1. Understanding OSD scripting stages
          2. Understanding <HREF>
          3. Understanding <SCRIPTBODY>
          4. Comparing <HREF> and <SCRIPTBODY>
          5. Interacting within the virtual environment
            1. Adding parameters to the virtual application
            2. Using WORKINGDIR
            3. Adding environment variables
            4. Editing the virtual registry
            5. Editing LOCAL_INTERACTION_ALLOWED
            6. Editing TERMINATECHILDREN
            7. Editing the Provider Policy
          6. Interacting outside the virtual environment
            1. Launching local applications
            2. Starting a service
            3. Checking for prerequisites before launching
        2. Using App-V command lines
          1. Configuring client options with SFTMIME
            1. Handling virtual applications with SFTMIME
              1. Using ADD APP
              2. Using CLEAR APP
              3. Using CONFIGURE APP
              4. Using DELETE APP
              5. Using LOAD/UNLOAD APP
              6. Using LOCK/UNLOCK APP
              7. Using PUBLISH APP
              8. Using REPAIR APP
              9. Differentiating between UNLOAD and DELETE
            2. Handling packages with SFTMIME
              1. Using ADD PACKAGE
              2. Using CONFIGURE PACKAGE
              3. Using DELETE PACKAGE
              4. Using PUBLISH PACKAGE
              5. Using UNPUBLISH PACKAGE
              6. Using LOAD/UNLOAD PACKAGE
            3. Configuring server options with SFTMIME
              1. Using ADD SERVER
              2. Using CONFIGURE SERVER
              3. Using REFRESH SERVER
              4. Using DELETE SERVER
            4. Handling file type associations
              1. Using ADD TYPE
              2. Using CONFIGURE TYPE
              3. Using DELETE TYPE
            5. Handling queries and OBJ with SFTMIME
              1. Using QUERY OBJ
              2. Using CLEAR and DELETE OBJ
          2. Using SFTSequencer
            1. Sequencing an application using SFTSequencer
              1. Defining FB1
            2. Opening a package for upgrade using SFTSequencer
            3. Handling package accelerators using SFTSequencer
              1. Creating a package accelerator using installation media
              2. Creating a package accelerator from a locally installed application
              3. Creating a package from a package accelerator (installation media)
              4. Creating a package from a package accelerator (locally installed application)
            4. Expand package to a local system
          3. What about SFTTRAY?
        3. Reviewing possibilities using PowerShell
        4. Summary
      12. 5. Troubleshooting App-V
        1. Troubleshooting App-V implementations
          1. Troubleshooting the App-V management server implementation
            1. Solving App-V management server installation problems
              1. Reviewing installation errors "251xx"
            2. Solving App-V management server implementation problems
              1. Common validations post installation
              2. Understanding sft-server log
              3. Reviewing common implementation problems
          2. Troubleshooting the App-V client implementation
            1. Solving App-V client installation problems
              1. Reviewing installation errors "250xx"
        2. Troubleshooting applications delivery
          1. Reviewing App-V client log files
            1. Enabling sftnta.txt and sftlist.txt
          2. Understanding error codes in App-V client
          3. Reviewing common application delivery problems
            1. About application client log parser
          4. Reviewing common problems with virtual application usage
            1. Working with applications that require elevation
            2. Using workarounds to analyze application problems
              1. Using CMD inside the virtual environment
              2. Changing the virtual environment for troubleshooting
            3. Analyzing performance problems in applications
        3. Troubleshooting application sequencing/launching
          1. Using Process Monitor for troubleshooting
            1. Understanding the application problem
            2. Monitoring the activity with Process Monitor
              1. Monitoring in the sequencing process
              2. Monitoring in the launching process
            3. Using Filter options to research the problem
        4. Summary
      13. 6. Scaling Up App-V Implementations
        1. Reviewing general guidelines for the right design
        2. Reviewing fault tolerance possibilities in App-V
        3. Implementing Network Load Balancing in App-V
          1. Preparing accounts for delegation in Active Directory
          2. Creating a Network Load Balancing cluster
          3. Adding Service Principal Names
          4. Installing or configuring App-V Management Server services in NLB
          5. Configuring App-V Clients
            1. Troubleshooting App-V Clients in the NLB scenario
          6. Considerations about using the Management Console in NLB
        4. Implementing database mirroring for the App-V data store
          1. Preparing a database for mirroring
          2. Configuring SQL database mirroring
          3. Configuring the App-V Management Server for database mirroring
        5. Implementing Distributed File System
        6. Extending App-V implementations
          1. Publishing App-V in your firewalls
            1. Using App-V servers on the internal network
            2. Using App-V servers in the DMZ
        7. Summary
      14. 7. Integrating App-V with Virtual Desktop Infrastructure (VDI)
        1. Virtual Desktop Infrastructure (VDI)
          1. Understanding VDI components and architecture
          2. VDI considerations
        2. Integrating App-V with VDI
          1. Shared cache and its benefits
            1. Using the App-V shared cache
          2. Creating your own VDI environment
            1. Installing and configuring RDS roles
            2. Configuring and assigning virtual desktops to RDS
            3. Testing the environment
          3. Preparing and extracting the App-V client cache
          4. Configuring App-V clients for a shared cache
            1. Handling application and cache updates
        3. Reviewing alternatives in App-V plus RDS integration
          1. App-V versus RemoteApp
            1. Understanding App-V and RemoteApp differences
          2. Combining App-V with Remote Desktop Services
          3. Installing and configuring App-V Remote Desktop Services
            1. App-V RDS Client considerations
            2. Deployment considerations
          4. Publishing App-V applications with RemoteApp
        4. Summary
      15. 8. Integrating App-V with System Center Configuration Manager 2012
        1. SCCM 2012
          1. SCCM 2012 improvements
        2. Reviewing SCCM and App-V integration
          1. Benefits of integrating SCCM and App-V
          2. Some considerations about the integration
          3. Components involved
          4. Understanding delivery methods
            1. Streaming Delivery
            2. Local Delivery (downloading and execution)
            3. App-V Client and the OverrideURL setting
          5. Requirements for the SCCM + App-V integration
            1. Platform requirements in SCCM 2012
            2. Storage requirements
        3. Implementing SCCM and App-V integration
          1. Installing SCCM 2012
            1. SCCM 2012 requirements
            2. Installing SCCM 2012
          2. Distributing the App-V Client with SCCM 2012
          3. Using virtual applications in SCCM 2012
            1. Creating virtual applications
            2. Deploying virtual applications
              1. Deployment Types
            3. Deploying applications in clients
        4. Summary
      16. 9. Integrating Server App-V with Private Clouds
        1. Server App-V
          1. Reviewing applications supported by Server App-V
          2. Differentiating between Server App-V and Desktop App-V
          3. PowerShell Cmdlets available
        2. Understanding the SCVMM and the Private Cloud concept
          1. Integrating SCVMM and Server App-V
            1. What is a Service template?
        3. Installing and configuring SCVMM 2012
          1. Installing SCVMM 2012
            1. SCVMM 2012 requirements
            2. Reviewing installation steps
          2. SCVMM initial configuration and features
            1. Adding virtualization hosts
            2. Adding Library servers
            3. Handling and creating VM templates
        4. Sequencing applications with Server App-V
          1. Preparing Server App-V Sequencer
          2. Sequencing MySQL with Server App-V Sequencer
            1. Understanding the available Server App-V Sequencer panes
        5. Deploying Server App-V applications
          1. Deploying Server App-V applications using PowerShell
          2. Deploying Server App-V applications using SCVMM 2012
            1. Configuring an application profile
            2. Configuring and deploying a Service template
        6. Summary
      17. A. Reviewing App-V Microsoft and Third-party Tools
        1. Microsoft tools for App-V
          1. Application Virtualization Dashboard
          2. Application Virtualization Dynamic Suite Composition tool
          3. Application Virtualization Administrative template (ADM template)
          4. Application Virtualization Best Practices Analyzer
          5. Application Virtualization 4.5 Security Configuration Roles
          6. Application Virtualization Sequencing SuperFlow
          7. Application Virtualization Listing tool
          8. Application Virtualization Client Log Parser utility
          9. Application Virtualization SFT View
          10. Application Virtualization SFT Parser tool
          11. Application Virtualization Cache Configuration tool
          12. Application Virtualization MSI Compat Transform
          13. Microsoft Application Virtualization DemoMate demo
        2. Third-party tools for App-V
          1. App-V Ping tool
          2. App-V Client Diagnostic and Configuration (ACDC) tool
          3. App-V USB tool
          4. App-V add-on ADM 2.0
          5. Application Virtualization Explorer
          6. App-V Client Setup Kit
          7. Application Virtualization Analyzer
          8. AppV_DeployApp and AppV_PublishApp
          9. LaunchIt
          10. App-V OSD editor
          11. OSD Illustrated
          12. Batch+
          13. Add OS to OSD
          14. OSD+
          15. App-V Helper
          16. Softricity File (SFT) Checking utility
          17. LogTools for SoftGrid client
          18. SFT Encoder Express
          19. Virtualization Encoder
          20. App-V Migration tool
          21. Lib-V
          22. AppScriber
          23. AdminStudio
          24. App-V Tool suite
          25. PowerShell snap-in for Microsoft App-V Server 4.6 SP1
          26. App-V Generator
          27. PkgView for App-V
          28. PimpMy for Softgrid and App-V
          29. Failure to Launch
          30. sftImport
          31. Advanced Installer
          32. DSC Management Utility
          33. App-V Import tool
        3. Summary
      18. Index