Implementing App-V – Part II: Choosing and Preparing the Environment
July 12, 2009 at 10:35 pm | Posted in App-V, Virtualization | 14 CommentsTags: App-V, application virtualization, Virtualization
Other posts in this series:
Implementing App-V – Part I: Introduction to Application Virtualization
Implementing App-V – Part III: Integrating Clients
Implementing App-V – Part IV: Sequencing Applications
After the first post about App-V and application virtualization technologies we had a nice review about the platform. So, if you feel like this type of technology can add some value to your organization, let’s start playing around.
Before you begin, let’s talk about the available models in App-V that will help you choose the strategy according to your platform. The architecture is prepared to support almost any scenario, including low-bandwidth branches offices or even offline deployments.
App-V Models
Stand-Alone Mode
This is the minimalist mode of App-V with no infrastructure required but the machine that packages the application, “sequencer” from now on, and the App-V Desktop Client.
Sequencing the application adds all the necessary files into one package and generates an MSI file that you can use to deploy manually, by group policy or using SMS/System Center Configuration Manager.
This mode is focused when you have several offline users (do they even exist at this point?), or when you have already SCCM deployed and you don’t want to add a App-V Server.

Streaming Mode
This model it is also focused on platforms that do not want Management Servers. The components present here are the streaming server, sequencer to package applications and the App-V client.
The Streaming Server as the name says it, streams the applications to the clients on demand. The server does not use a SQL database, the permissions are set and maintain based on ACLs (access control lists).
You can use it on low-bandwidth links like branch offices to optimize the application deployment.
Full Infrastructure Model
The full model contains the full set of components in App-V: Management Server, Sequencer, Streaming server and App-V Client. In most cases, the streaming server it is completely optional since the application streaming can be executed from the Management Server, delivering applications on demand to users.
Using a Management Server will add the applications shortcuts publication within the process of deployment. And includes more features for reporting, using a SQL database.
Applications in this model are associated to security groups in Active Directory. And you can also manage centrally the applications licenses.
We are going to focus this set of posts in a Full Infrastructure Model, using a Management Server, Sequencer and a App-V Desktop Client.
Enough with the explanations, let’s get to work.
Installing App-V Management Server
The process it is a little tricky, but we’ll try to set clear all the necessary requirements before running the installation wizard.
Pre-Requisites
This is the list of minimum requirements:
- Windows Server 2003 SP1 or superior
- IIS 6 role installed with ASP.Net
- .Net Framework 2.0
- MMC 3.0
- SQL Server 2005 Express SP2
Before proceeding with the installation take a closer look to what are the SQL and IIS configurations necessary that we are going to review next.
Here’s the environment that I’ll be using:
- Active Directory and DNS platform in place.
- Windows Server 2008 (32-bit)
- IIS 7 role installed with ASP.Net
- SQL Server 2005 Express SP2.
SQL Special Considerations
The SQL Express can be installed with the default options, but, as I mentioned it before, there are a few SQL configurations that needed to be set before the App-V installation process:
1. Open SQL Server Surface Area Configuration Tool from the SQL Server Start Menu folder.
2. Click on Surface Area Configuration for Features.
3. Inside of “CLR Integration”, click the option for “Enable CLR Integration”.
4. Inside of “OLE Automation” click “Enable OLE Automation”.
5. Close “Surface Area Configuration for Features”.
6. Click “Surface Area Configuration for Services and Connections”.
7. Inside “Remote Connections” select “Local and Remote Connections” and set “Using both TCP/IP and named pipes”.
8. Restart the SQL Server services to apply all changes.
IIS Considerations
Since I’m using Windows Server 2008 and IIS 7 for the Management Server installation, there are a few considerations about it.
- Install ASP.Net feature with all pre-requisites.
- Windows Authentication feature enabled.
- IIS 7 Management Tools with Management Service and IIS 6 Management Compatibility features installed.
Step-by-Step App-V Management Server Installation
One completed the pre-requisites and considerations, let’s start with the installation.
1. With the App-V installation media, double click the setup executable.
2. Welcome page, click on “Next”.
3. Accept the License Agreement and click on “Next”.
4. Select “Custom” setup type.
5. Here you can modify installation components (not recommended) or change the installation directory. Click on “Next”.
6. Select the SQL Server instance where the database will be stored. In my case, I’m using the same server with one instance. Click on “Next”.
7. Select “Create a new database”. Maintain the suggested database name “APPVIRT”. You can also modify the location for the database files. Recommended for this type of server to store the database on a different hard drive than the operating system.
8. Leave deselected the option for “Use enhanced security”. You can set secure connections with this server, that will require of course for a certificate. Out of the scope in our case.
9. Leave the default value for the RTSP (Real Time Streaming Protocol): 554.
10. Select the group that will have full access to the App-V Management Server console. In my case, I’m selecting only “Domain Admins” to give access. This option can be modify later.
11. Select the provider group, that by default will have access to the enabled applications. In my case, I will select only “Domain Admins” and later personalize each application for each group.
12. Select the folder where the applications packages will be stored. Leave the default “C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\content\”. Click on “Next”
13. On the “Ready to Install the Program” window click on “Install”.
After a few moments you will have the App-V Management Server fully installed.
14. Recommended: Reboot the server.
IMPORTANT: If any of the pre-requisites and considerations mentioned above are not completed, you will receive a message like this when you start the installation:
“Error 25109. The installation program could not create the configuration data store. Please see the installation log file for more information”
Post-Installation Procedures
There are basically three more tasks to execute after the App-V Management Server installation is completed to guarantee the proper functionality:
1. Once the server is rebooted, you will need to verify the “Application Virtualization Management Server” service. If you are running on a virtualized environment, you will need to manually start the service.
2. Share the “content” folder created for the applications packages (by default C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\content\). Give to “Everyone” the “Read & Execute”, “List folder contents” and “Read” access.
3. If you have the firewall enabled, ensure that you enable the exceptions for inbound connections with the programs sghwdsptr.exe and sghwsvr.exe. Both located in “C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\”.
Note: If these firewall exceptions are not in place, you will also have problems with App-V clients trying to receive and execute the application packages. We’ll check that later.
And yes, you can now open the “Application Virtualization Management Console” and start working with the platform.
Make sure that you deselect the “Use Secure Connection” if you didn’t install a certificate for App-V.
Other Resources
As an interesting option to evaluate your App-V Management Server environment is the Microsoft Application Virtualization Best Practices Analyzer.
It verifies general configurations in your Management and/or Streaming Server 4.5, and notify about possible anomalies as a diagnostic tool. Requires the presence of Microsoft Baseline Configuration Analyzer to generate the reports.
In this example, the warning generated is about the database been stored in the same place as the Management Server.
I’ll be reviewing in the next posts how to prepare clients and applications to be deployed by App-V. I’ll be using Microsoft Office 2007 as the sequenced application.
Other posts in this series:
Implementing App-V – Part I: Introduction to Application Virtualization
Implementing App-V – Part III: Integrating Clients
Implementing App-V – Part IV: Sequencing Applications
Cheers!
14 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.


























Computer geek, totally fan of the latest's IT platform solutions. Since 2006 I've been mentioned as Microsoft Student Partner, I continue working with them, collaborating on different academic and technological events. On this blog, you'll find most of the experience I have evaluating, designing, implementing and managing those technologies.



This is an awesome post, we are contemplating rolling out a AppV environment and were not sure where to start.
Tx a mill for taking the time and effort to post this.
I’m eagerly waiting for the next posts ;-)
Comment by Nic Real — October 14, 2009 #
Awesome!!
Comment by Nic Real — October 14, 2009 #
Thanks Nic!
Stay tuned because the Part III it’s coming up really soon :)
Cheers!
Augusto
Comment by Augusto Alvarez — October 14, 2009 #
[...] (Post I), talked about the existing models in App-V and how to install the App-V Management Server (Post II); now it’s time to work with the App-V [...]
Pingback by Implementing App-V – Part III: Integrating Clients « Augusto Alvarez — November 7, 2009 #
[...] Implementing App-V – Part II: Choosing and Preparing the Environment [...]
Pingback by Implementing App-V – Part I: Introduction to Application Virtualization « Augusto Alvarez — November 7, 2009 #
[...] involved in App-V (Post I); installation of the App-V Server including some troubleshooting tips (Post II); integrating App-V client components, testing the default application and some troubleshooting [...]
Pingback by Implementing App-V – Part IV: Sequencing Applications « Augusto Alvarez — January 18, 2010 #
YOU BEAUTY! Thanks for all the effort in creating this guide doco.
Comment by KQ — June 21, 2010 #
[...] Part 2 Choosing and Preparing the Environment [...]
Pingback by Installing Microsoft App-V Management Server « VMnick — August 18, 2010 #
Dear Augusto Alvarez,
I have configured a demo environment using App-V 4.5 SP1.
I have win 2008 R2, AD, DNS and IIS 7.5, SQL 2005 SP3.
I have installed APP-V server, when I open APP-V mmc and try to connect to Application Virtualization System, I received the following error…
Unable to log into the SoftGrid System.
Invalid user name or password.
Error code: 0000C801
I look into http://support.microsoft.com/kb/930470, but without success…
Please I need a help
Thank you,
Comment by Charbel Nemnom — August 22, 2010 #
Hello Charbel,
Did you try executing the App-V MMC from a different computer?
Cheers,
Augusto
Comment by Augusto Alvarez — August 22, 2010 #
Hello Augusto,
Thank you for the reply!
well I found the problem, I forget to select Windows Authentication check mark in WEB SERVER Role.
I have installed IIS 7.5 without selecting in web server the windows authentication method!
Is there anywhere I can find a full video tutorial for APP-V?
Ur 4 posts helped me a lot in my installation… Thx!
What is the difference between APP-V 4.5 SP1 and the new version 4.6?
Another question please: There is 2 versions of APP-V, one for RDS(TS) and one for Windows desktops…
I’m using the Desktop version… what is the difference between these two?
Regards,
–Charbel–
Comment by Charbel Nemnom — August 22, 2010 #
Dear Augusto,
I have implemented App-V 4.5 SP2 (App-Server, Sequencer and client) for Windows Desktops…
I have been created the Office package using Sequencer under Hyper-V ‘Windows XP clean copy’ .
when I’m trying to open any office application on my HP thin client T5740e (Windows Embedded Standard 2009) I’m receiving the following error:
The operating system is not presently configured to run this application…
Please I need your help…
Antivirus is disabled, and I followed step by step the article below:
http://blogs.technet.com/b/appv/archive/2008/07/30/softgrid-sequencing-office-professional-2007-in-30-easy-steps.aspx
Without success same problem…
However I launched all office 2007 from the Sequencer before generate the package, everything was fine, every single office application launched successfully…
I found out these error logs on the client side:
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 8/25/2010
Time: 2:27:45 AM
User: HPDEMO\student
Computer: LAB-01
Description:
Detection of product ‘{90120000-0030-0000-0000-0000000FF1CE}’,
feature ‘ProductFiles’ failed during request for component ‘{0638C49D-BB8B-4CD1-B191-050E8F325736}’
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 8/25/2010
Time: 2:27:44 AM
User: HPDEMO\student
Computer: LAB-01
Description:
Detection of product ‘{90120000-0030-0000-0000-0000000FF1CE}’,
feature ‘ProductFiles’, component ‘{CC29E973-7BC2-11D1-A921-00A0C91E2AA2}’ failed.
The resource ‘C:\Windows\system32\FM20.DLL’ does not exist.
However I attempt to replace the DLL file missing on the client side, MS Word ask for the office CD…
I sequenced many other applications, all is ok without any problem…
The problem is the Office 2007…
Please I need your help!
Thank You!
Cheers,
Comment by Charbel Nemnom — August 25, 2010 #
Hello Charbel,
I’m assuming you are having these problems because there are two things which are not supported:
1. Sequencing the application on a different operating system from which the virtual application is actually executed.
2. Running Microsoft Office in a Embedded OS is also not supported. Check this link: http://msdn.microsoft.com/en-us/library/ms940172.aspx
Hope it helps,
Cheers!
Augusto
Comment by Augusto Alvarez — August 25, 2010 #
Hi Augusto,
I’m trying to set up an environment to test App-V. I’m currently trying 4.6 on and 64 bit 2008 R2 server with SQL 2008 R2 and I’m struggling. With your experience do you think this config is viable or should I use older releases of the components? I can open a Management Console, but there are no apps and I’m sure I should see a default one. Regards Roy
Comment by Roy Wilson — August 27, 2010 #