Skip to main content

How to Sequence Visual Studio 2008 in Microsoft Application Virtualization 4.5 (App-V)


This article describes one method that you can use to sequence Microsoft Visual Studio 2008 for use with Microsoft Application Virtualization. The method that is described in this article is not the only possible method. Additionally, you may have to adapt the information in this article as appropriate for your particular environment.


You must have the following to sequence Visual Studio 2008 for use with Microsoft Application Virtualization:

  • A volume license for Visual Studio 2008
  • Visual Studio 2008 Service Pack 1 or a later version, or Hotfix 951977 for Visual Studio 2008
  • Microsoft Application Virtualization 4.5 or a later version
  • MavVak2008.dll Package
  • .NET 3.5 SP1 natively installed on the App-V Sequencer and clients to which the sequencing will be deployed

Hotfix 951977

If you use Visual Studio 2008, you have to obtain Hotfix 951977. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

951977 FIX: Error message after Visual Studio 2008 starts successfully in the Application Virtualization Client even though you have a valid volume license: "Invalid license data"

MavVak2008.dll Package

To obtain the MavVak2008.dll package, you have to obtain Hotfix 960012. Please contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers, visit the Microsoft Support site.

Obtain Background Information

Prepare the Environment

Sequencing Visual Studio 2008 uses lots of memory. Therefore, make sure that at least 2 gigabytes (GB) of random access memory (RAM) is allocated to the computer on which you will sequence Visual Studio.

Sequence Visual Studio 2008

  1. Start the Microsoft Application Virtualization Sequencer.
  2. On the File menu, click New Package.
  3. In the Package Name box, type Visual Studio 2008.
  4. In the Comments field, type Visual Studio 2008, and then click Next.
  5. On the "Monitor installation" page, click Begin Monitoring. Select the primary directory the product will be installed to (Ex: Q:\VS2008) and then press OK. Wait until you see "Monitoring started. Please begin installation."
  6. Run the Setup program for Visual Studio 2008. Use the default options for Visual Studio 2008, except for the following two items in the last window:
    • In the Product install path box, type Q:\VS2008\Microsoft Visual Studio 9.0\.
    • On the left side, click Custom, and then click Next. In the Select features to install area, click to clear the Microsoft SQL Server 2005 Express Edition x86 and Crystal Reports Basic for Visual Studio 2008 check box, and then click Install.
  7. After the Setup program has finished, install Visual Studio 2008 Service Pack 1 or hotfix 951977
  8. Install the MavVak2008.dll package. To do this, follow these steps:
    1. Copy the MavVak2008.dll package to the Q:\VS2008\Microsoft Visual Studio 9.0\ folder.
    2. Run the following command at the command prompt:

      regsvr32 Q:\VS2008\Microsoft Visual Studio 9.0\MavVak2008.dll
    3. In the dialog box that indicates that the package is registered, click OK.
  9. In the Installation Wizard, click Stop Monitoring and wait until it says "Monitoring finished." Click Next.
  10. On the "Add Files to Virtual File System" page, click Next.
  11. On the Configure Applications page, view the list of applications, and then click Next.
  12. On the Launch Applications page, launch the applications that you want to be included in Feature Block 1.
  13. Close each application after it starts. After all the applications have started and then shut down, the application list is displayed again. A check mark appears next to each application. Click Next.
  14. On the Sequence Package page, wait for the progress bar in the Sequencing blocks area to finish.

    Note: This is a lengthy operation, typically taking 30 – 120 minutes, depending on the hardware used for sequencing.

    Click Finish when you receive the following message: "Sequencing complete"
  15. In the next window, under the Deployment tab:
    1. In Operating Systems section, select the OS that you want the sequencing to run under.
    2. Under the Compression Algorithm select Compressed (ZLIB)
  16. On the File menu, click Save As. Open a directory that has sufficient free space to create a directory named VS2008. This directory will hold the sequence.
  17. Change the name of the file that is being saved from "New Virtual Application Package.sprj" to "VS2008.sprj", and then click Save.

    Note: This is a lengthy operation, typically taking 30 – 120 minutes, depending on the hardware used for sequencing.

Additional Resources