473,785 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3093
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
6298
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 called by Biztalk over a COM Interop layer). Along the way, I changed one of the assemblies that my system depends on, and started getting the following error: General Information
4
2069
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 and .NETMODULE? When should produce .NETMODULE files instead of others?
11
3441
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 will extract this info somehow?
0
5545
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 manifest in it .... you can say its an assembly without the manifest ... and hence a non -assembly file containing IL code. In the yesterday's example we saw how we can create the .resources file
0
346
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 definition with name 'System' does not match the assembly reference. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it...
1
3181
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 between projects in the solution were established through project references, not by browsing to an assembly DLL. All of the projects are strongly named and use key files. Each project's AssemblyInfo.cs specifies the assembly version, where the...
0
1931
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 assembly with registration-free COM interop from a Win32 application. I also want to use this assembly with a .Net application that I want to deploy using ClickOnce. However when I try to install the application from the deployment location I get...
7
20157
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 built the project. But when I use explorer to view properties on the assembly, there is not a version tab as there is on my C# assemblies, so I cannot see the assembly version or file version or other assembly attributes. The only tabs that show...
2
5146
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 assembly's manifest definition with name 'Infragistics.WebUI.UltraWebGrid.v3' does not match the assembly reference. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10330
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10153
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9952
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.