Problems with assembly and manifest

G

Guest

I'm trying to deploy an application having a couple of dlls. One of those 2
dll's makes user of MSCV80(d).dll, namely the latest version (the one with
Visual Studio SP1, version 8.0.50727.762).
The problem is that the correct dll does not normally exist on a win XP or
server 2003 system unless you install Visual Studio and subsequently the
service pack.
I can't think of requiring users to do that (they'll just laugh at me then
go get their
SW some other place), so I'd like to know if there is some tool that allows
me to deploy the dll with its manifest in the winSxS.
Thanks in advance
 
C

Carl Daniel [VC++ MVP]

Dynamomite said:
I'm trying to deploy an application having a couple of dlls. One of
those 2 dll's makes user of MSCV80(d).dll, namely the latest version
(the one with Visual Studio SP1, version 8.0.50727.762).
The problem is that the correct dll does not normally exist on a win
XP or server 2003 system unless you install Visual Studio and
subsequently the service pack.
I can't think of requiring users to do that (they'll just laugh at me
then go get their
SW some other place), so I'd like to know if there is some tool that
allows me to deploy the dll with its manifest in the winSxS.
Thanks in advance

First, you're not allowed to deploy or otherwise use the 'D' (debug)
versions of the runtime library by any means other than installing Visual
C++.

To install the release builds, you have several choices:

1. Build an installer for your application and include the .MSM (merge
module) for the CRT DLL(s) in your installer. The merge modules are install
along with Visual Studio and normally live in C:\Program Files\Common
Files\Merge Modules.

2. Build an instsaller for you application and include the DLL(s) you need
in your application directory. You'll need to have an embedded manifest in
every EXE and DLL that uses the CRT DLLs to make this "app local"
installation work.

3. Use vc_redist.exe to install the runtime DLL(s) in the Windows side by
side cache. You (or your user) can download vc_redist from Microsoft
downloads:

RTM:
http://www.microsoft.com/downloads/...EE-A3F9-4C13-9C99-220B62A191EE&displaylang=en

SP1:
http://www.microsoft.com/downloads/...D9-AE1A-4A14-984D-389C36F85647&displaylang=en

-cd
 
G

Guest

Your answer couldn't have been more comprehensive or accurate.
Now I'll think about what solution is best for me.
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top