Hello everyone!
Our company tries very hard to use the newest software available, so customers see it in action when our consultants work with them. But in the “real world”, the clocks don’t tick as fast. Most of the time we face companies that are now migrating to Windows XP and Office 2003… oh my. In order to stay “compatible” with their workflows, it can be very complicated to maintain both worlds in one notebook.
To ease this pain, I looked into the Microsoft Desktop Optimisation Pack, short MDOP. The MDOP is available for companies that have Microsoft Software Assurance. One part of it is App-V. It virtualizes a software package in order to let it run on systems where compatibility issues due to other installed software would occur. It is not a full operating system virtualization, it’s just the application itself, running in a sandbox. So the software has still the prerequisite to be compatible to your target machines.
This step-by-step guide shows you the basic workflow to create a virtual software package and distribute it to a client with the ConfigMgr, in this case Microsoft Office 2003.
The following environment was used:
“Test Client”
Windows 7 Enterprise x64
Virtual Guest (Hyper-V)
App-V Sequencer installed
“Productive Client”
Windows 7 Enterprise x64
LenovoT61 Notebook
App-V Client and ConfigMgr Client installed (as well as a bunch of other stuff)
“ConfigMgr Server”
Windows Server 2008 R2 Enterprise x64
Virtual Guest (Hyper-V)
System Center Configuration Manager 2007 R2 installed
Be warned, this is a very long, screenshot-heavy post. To view the pictures correctly, click on the little button on the top right corner of the header to increase the column width.
Let’s start up the App-V sequencer. I already copied the Office 2003 sources to the “clean” test client.
Click “Create a Package”
Name the package as you wish and click “next”. In this case we skip the advanced options. Please excuse the fact that some buttons are in German.
Please use a dedicated, cleanly installed machine. Any extra service or program that works in the background will but irrelevant data into the monitoring process. You may already know this problem if you ever have repackaged software. When you have all the data you need for the setup in place, click “Begin Monitoring”.
The wizard will ask you where you will install the software to. I created a 8.3 format compatible directory here and selected it.
Still, it bugs about an incorrect naming, I don’t really know why. In any case, this could only become a problem if you have multiple virtualized apps that have similar 8.3 directory names (you might want to double check on this information). Click “Ignore” here.
The sequencer will now scan the system state for later comparsion.
When it’s done, it will show the dialog below. You can now start the Office 2003 setup!
I don’t want to bore you with the Office setup, so I keep it to the important details. Be sure to choose the directory you created earlier in the process and select custom installation.
Choose every component the user will need later, as you cannot use the “install on first use” feature here”.
Wait until the setup is completed. After completion, you may patch the application. I installed the Office 2003 SP3 at this point. When you are done, click “Stop Monitoring”.
The Sequencer will analyse all changes made to the system. When it’s done, click “next”.
Now you can configure what monitored applications you want in the package and most importantly, what file type associations. In this case I removed all of them, so that the user only starts the old Office version when it is needed. Click “next” when you are done.
In the next step click “Launch All” to start all applications in the package. The sequencer will detect any additional dependencies.
When you’re done, all applications will be “checked” and you can continue by clicking “next”.
The wizard will now sequence all collected data for you.
You can now edit the package as needed.
You can preset the server path (not needed for SCCM deployment) and compatible operating systems here. Additionally you might want the sequencer to create a MSI and compress the package. Both options I do recommend.
No need to change anything here…
or here…
or here…
or here…
or here!
Finally, you have to save the package. In my case I created a share on the ConfigMgr Server for this purpose.
After the saving in complete, switch to your System Center Configuration Manager and create a new “Virtual Application Package”.
Click “Browse…” and point the dialog to your package’s manifest XML file. Click “next”.
Fill out the form as needed. Click next.
You now have to provide an UNC path where the package will be copied to. This location must be accessible by client computer agents, like your other distribution points. Click “next”.
Take note of this message and click “yes”.
Click “next”.
Click “next”.
And finally, click “close”.
If you never deployed virtual packages via ConfigMgr, you need to allow the Client Agents to do so. Open the properties for the “Advertised Programs Client Agent”.
Enable “Allow virtual application package advertisement” and click “ok”. It may take some time for you clients to get the new policy, depending on your environment.
You may now create an advertisement for the virtual package.
The distribution wizard is similar to the one for normal software. Advertise it to a collection of your choice.
A few “moments” later, it should appear at your client.
Download and start the advertisement…
and start your application!
Congratulations! You made it!
I really hope you could learn something from this and enjoy the benefits of virtualized applications!

Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 