Video Screencast Help
Symantec Secure Login will be live on Connect starting February 25. Get the details here.

Visual C++ 2005 Redistributable Layer Definition File

Created: 21 Apr 2010 • Updated: 14 Oct 2013 | 6 comments
Balasubramanian Palaniappan's picture
+2 2 Votes
Login to vote

This Layer Definition File (LDF) lets you create a layer that contains the Microsoft Visual C++ 2005 runtime without the need to capture the installation. This provides a solution for creating the Microsoft Visual C++ 2005 runtime on a system without encountering the issues related to attempting to capture an installation that supports transactions.

Please see the following two articles for more information on the issue this LDF file solves:

Capturing Office 2007 or 2010 in Windows 7 or Vista

Capturing Office on Windows 7


- Symantec Workspace Virtualization v6.1 SP1 or greater
- Symantec Workspace Virtualization Layer Definition Tool. Download.


The steps for creating the Microsoft Visual C++ 2005 runtime Layer are as follows.

1. Extract the download that accompanies this article to your desktop ( - where -x.x.x.x is the LDF version).
2. Double-Click the .EXE (VCredist-8.0.50727.42-x.x.x.x.EXE is a self-extracting zip). This invokes swvldf.exe (Layer Definition Tool) with the proper parameters to create the Microsoft Visual C++ 2005 runtime Layer.

NOTE: As a safety precaution, right click the extracted .exe file, select properties and check the "Digital Signatures" tab and ensure that "Symantec Corporation" appears in the Signature List. If the .EXE is not digitially signed with the Symantec Certificate do not run the executable on your system.

Comments 6 CommentsJump to latest comment

SK's picture

If version 8 is 2005, can we have a ldf for 2008 please.

If version 8 is 2008, can we have a ldf for 2005 please.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

Login to vote
karl_bunnell's picture

Visual C++ 2005 SP1 = Visual C++ v8.
Visual C++ 2008 = Visual C++ v9.
I know, the versioning is confusing. I was going to publish a detailed article on Connect on how I created the Visual C++ 2005 LDF. Based on your request I'll try and do it for Visual C++ 2008 and publish the LDF as a download.

Login to vote
ManelR's picture


Is it possible to have an LDF for creating a layer with 8.0.50727.762 (SP1 of the Microsoft Visual C++ 2005 Runtime).


IT Systems Manager
LCFIB - Computing Lab
Barcelona School of Informatics
Universitat Politècnica de Catalunya - Barcelona Tech
Login to vote
JLW-Indy's picture

Re: Is it possible to have an LDF for creating a layer with 8.0.50727.762 (SP1 of the Microsoft Visual C++ 2005 Runtime).

I have successfully built one. See my post on the same page.

Login to vote
JLW-Indy's picture

 I am trying to create a VC++ 2005 SP1 layer. I got as far as the following.

I am just confused how to use this LDF file to create the image. Any ideas?

The following command did not create the repository. What am I doing wrong? Please help. Thanks.

Command Line:

swvldf.exe -si "c:\Projects\vcredist\VCredist-8.0.50727.762-file-sources.ldf" –L 3

LDF contents:

<pkg-config  version="1" name="Visual C++ Runtime 8.0.50727.762 (x86)" tool-version="">
  <file-sources enabled="true">
            <file-source name=""
     cmd-line="%src-file-path% /Q /C /T:%dwnload-dir%\vc++temp" />
     cmd-line="msiexec /a %src-file-path% /qn  TARGETDIR=%cfgpath%\filerepo\VisualC++_Redist"

AttachmentSize 5.08 MB
Login to vote
JLW-Indy's picture

Successfully created the LDF file for the Visual C++ 2005 SP1. I have attached the files I used. Hope they help.

AttachmentSize 13.53 MB
Login to vote