473,412 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Problems with assembly and manifest

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
--
_____________________________
Non ci sono risposte, soltanto scelte
May 8 '07 #1
2 3071
Dynamomite wrote:
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/d...displaylang=en

SP1:
http://www.microsoft.com/downloads/d...displaylang=en

-cd
May 8 '07 #2
Your answer couldn't have been more comprehensive or accurate.
Now I'll think about what solution is best for me.
Thanks!
--
_____________________________
There are no answers, only choices
"Carl Daniel [VC++ MVP]" wrote:
Dynamomite wrote:
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/d...displaylang=en

SP1:
http://www.microsoft.com/downloads/d...displaylang=en

-cd
May 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Malik | last post by:
Instead of posting a problem, I will post a solution to a problem that I've seen posted many times. One which I just hit and solved. I've been using signed assemblies (have to... they are...
4
by: fh1996 | last post by:
csc /target:module MyMod.cs What's meaning of "NETMODULE"? Is /target:module always going to generate xxx.netmodule? Does C# compiler only generate the following 3 types of files: .EXE, .DLL...
11
by: Z D | last post by:
Hello, If I have a .NET assembly, how do I determine what version of the .NET framework it.... 1) was compiled against 2) is supposed to use 3) is compatible with? Is there a utility that...
0
by: Namratha Shah \(Nasha\) | last post by:
Hi All, Assembly linker is a tool which is used to create an assembly by combining one or more .netmodules and resource files. In simple words an .netmodule is an IL file that does not have ...
0
by: Rui Macdonald | last post by:
I working with some samples from angGoGo PhotoControl and when I start it I receive always the following message, can you help me please? :-( -------------------- The located assembly's manifest...
1
by: Richard Lewis Haggard | last post by:
I'm having a problem with what appears to be some sort of confusion with references. I have a single solution with a dozen projects which has been working quite nicely for a while. The references...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
7
by: =?Utf-8?B?RG9u?= | last post by:
I'm using VS2005 to build a C++ assembly. I set a Key File in the linker advanced options for the project so that the assembly would be strong named. I filled out the data in AssemblyInfo.cpp and...
2
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.