Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

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

Prerequisites

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

Installation

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 (VCredist-8.0.50727.42-x.x.x.x.zip - 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.

0
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.

0
Login to vote
ManelR's picture

Hello,

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

Thanks.

IT Systems Manager
LCFIB - Computing Lab
Barcelona School of Informatics
Universitat Politècnica de Catalunya - Barcelona Tech
0
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.

0
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="1.0.2.0">
    <pkg-files>
  <file-sources enabled="true">
            <file-source name=""
    srcpath="http://download.microsoft.com/download/e/1/c/e1c773de-73ba-494a-a5ba-f24906ecf088/"
    type="http"
    file-repo="%cfgpath%\filerepo\"
    search-paths=""
    dwnload-dir="%cfgpath%\downloads">
    <src-file
     name="vcredist_x86.exe"
     type="cust"
     cmd-line="%src-file-path% /Q /C /T:%dwnload-dir%\vc++temp" />
    />
    <src-file
     name="vcredist.msi"
     copy="false"
     type="cust"
     cmd-line="msiexec /a %src-file-path% /qn  TARGETDIR=%cfgpath%\filerepo\VisualC++_Redist"
    />
            </file-source>
        </file-sources>
 </pkg-files>
</pkg-config>

AttachmentSize
Projects.zip 5.08 MB
+1
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
vcredist.zip 13.53 MB
+1
Login to vote