473,411 Members | 2,059 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,411 software developers and data experts.

VC++ 2005 SP1 : redistirbutable files

Hi,

I'm facing an issue and your help could be very helpful.
In few words, I have a app build with VC++ 2005 SP1.
I want to deploy it on a target machine, because the CRT dependency
described in the manifest can't be resolved -I have to deploy the CRT on my
traget computer.
No real issue with the concept.
The easiest way for me could be to use a vc_redistrib.exe for SP1.
But I can't find it for SP1. So no deployment this way, and my app is not
runnable because of its missing dependencies.
Any tips ? location ?
An alternate solution ? the CRT dll + manifest in a deployment solution I
guess. Just to confirm.
I'm stuck.

Thanks for your help.

Mar 22 '07 #1
7 3659
In article <3E**********************************@microsoft.co m>,
=?Utf-8?B?bGZjZG0=?= <lf***@discussions.microsoft.comwrote:
>I'm facing an issue and your help could be very helpful.
In few words, I have a app build with VC++ 2005 SP1.
I want to deploy it on a target machine, because the CRT dependency
described in the manifest can't be resolved -I have to deploy the CRT on my
traget computer.
Well, if you're not really *using* manifests for any real purpose,
then you can try just getting rid of them. Right click on your
project, select properties, then set
Linker -Manifest File -Generate Manifest: No
Manifest Tool -Input & Output -Embed Manifest: No

Manifests sound like a nice idea in theory that escaped into the
wild still half-baked. Maybe in the next VS, they'll work somewhat
reliably, and not need some arcane XML incantations to use.

Nathan Mates
--
<*Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Mar 22 '07 #2
Nathan Mates wrote:
In article <3E**********************************@microsoft.co m>,
=?Utf-8?B?bGZjZG0=?= <lf***@discussions.microsoft.comwrote:
>I'm facing an issue and your help could be very helpful.
In few words, I have a app build with VC++ 2005 SP1.
I want to deploy it on a target machine, because the CRT dependency
described in the manifest can't be resolved -I have to deploy the
CRT on my traget computer.

Well, if you're not really *using* manifests for any real purpose,
then you can try just getting rid of them. Right click on your
project, select properties, then set
Linker -Manifest File -Generate Manifest: No
Manifest Tool -Input & Output -Embed Manifest: No

Manifests sound like a nice idea in theory that escaped into the
wild still half-baked. Maybe in the next VS, they'll work somewhat
reliably, and not need some arcane XML incantations to use.
You *must* have a manifesst to load the VC8 runtime library DLLs.

An SP1 version of vcredist will be available from the Microsoft Download
center sometime soon. Exactly how soon is soon? I can't say,
unfortuntaely. Hopefully it's in the next couple weeks, but I don't have
any insider knowledge that says that it will be - it's just wishful thinking
on my part!

-cd
Mar 23 '07 #3
In article <Oe**************@TK2MSFTNGP04.phx.gbl>,
Carl Daniel [VC++ MVP] <cp*****************************@mvps.org.nospamwr ote:
> Well, if you're not really *using* manifests for any real purpose,
then you can try just getting rid of them. Right click on your
[...]
>You *must* have a manifesst to load the VC8 runtime library DLLs.
Not a chance. I've made plenty of exes without manifests, and they
run fine. (Using the Multithreaded runtime lib, not Multithreaded DLL
Runtime). And, these exes work just fine on both Win2000 and WinXP.
Win2000 does the right thing and ignores the silly manifests; WinXP
tried to demand the runtime libs to be installed at *JUST* the right
location, installed during a full moon, while opening one's wallet in
the direction of Microsoft.

Since turning off manifests, as I described earlier this thread,
everything *JUST* *WORKS*. So, I've not exactly been a friend of
manifests, aka DLL Hell 2.0.

Nathan Mates
--
<*Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Mar 23 '07 #4
Nathan Mates wrote:
In article <Oe**************@TK2MSFTNGP04.phx.gbl>,
Carl Daniel [VC++ MVP] <cp*****************************@mvps.org.nospamwr ote:
>> Well, if you're not really *using* manifests for any real purpose,
then you can try just getting rid of them. Right click on your

[...]
>You *must* have a manifesst to load the VC8 runtime library DLLs.

Not a chance. I've made plenty of exes without manifests, and they
run fine. (Using the Multithreaded runtime lib, not Multithreaded DLL
Runtime).
Hang on, you've just said you use static linking to the multithreaded
runtime lib. How does that imply that you don't need a manifest to use
the VC8 runtime library DLLs?

The general tone of your response is along the lines of "I don't
understand how manifests work, so you shouldn't use them," which is not
logical. I don't understand how manifests work either - I haven't needed
to look into it yet (but probably will do soon, when we move to VC2005).
I'd be much more interested in specific criticisms (which others might
then rebut, or not) that a general dismissal of the mechanism.

Tom
Mar 23 '07 #5
BVS
The redist should be found here on your computer:
C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\

--
http://www.beavervalleysoftware.com - Hobbies, Developer, and PayPal
software
Including Comic Book Millennium, Easy Code Signing, and PayPal Flash Button
Creator

"lfcdm" <lf***@discussions.microsoft.comwrote in message
news:3E**********************************@microsof t.com...
Hi,

I'm facing an issue and your help could be very helpful.
In few words, I have a app build with VC++ 2005 SP1.
I want to deploy it on a target machine, because the CRT dependency
described in the manifest can't be resolved -I have to deploy the CRT on
my
traget computer.
No real issue with the concept.
The easiest way for me could be to use a vc_redistrib.exe for SP1.
But I can't find it for SP1. So no deployment this way, and my app is not
runnable because of its missing dependencies.
Any tips ? location ?
An alternate solution ? the CRT dll + manifest in a deployment solution I
guess. Just to confirm.
I'm stuck.

Thanks for your help.

Mar 23 '07 #6
It was easy. In VC 2003 you had to redist just the DLL's you were
using. STOP.
It should be easy in VC 2005 too. Just copy the CRT folders in your
DLL path and you're ok. Or use vc_redist.exe .

There are some little problems:
- Using vc_redist sometimes doesn't works. Why? I don't mind, but it
is a real trouble.
- the "x-copy" works at 90%. An example: a VB COM project that calls
your DLL's . No way, it won't start unless you copy everything in
system32 (!!!!!).
- if you have a mix of SP1 and non-SP1 dll's ... no way:)
- There's no DOCUMENTATION / FAQ for advanced issues (like isolation)
or manifest usage.

It was REALLY better a "DLL in the same folder" approach, just like
previous versions(it is the .NET approach, isn't it?)

Now you just moved the DLL hell to a worst MANIFEST+DLL+SIDEbySIDE+WOW
hell.

I'm just asking myself, WHY?

Sorry for my English :)
QbProg

Mar 23 '07 #7
Hi,

I think it will be a lot easier if the SP1 C++ runtime libraries are
included in Microsoft Component Installer. Then, we need to run only one
Microsoft tools to download all the dependencies we need.

--
Herbert
Fann Software
http://www.fannsoftware.com
"Carl Daniel [VC++ MVP]" wrote:
Nathan Mates wrote:
In article <3E**********************************@microsoft.co m>,
=?Utf-8?B?bGZjZG0=?= <lf***@discussions.microsoft.comwrote:
I'm facing an issue and your help could be very helpful.
In few words, I have a app build with VC++ 2005 SP1.
I want to deploy it on a target machine, because the CRT dependency
described in the manifest can't be resolved -I have to deploy the
CRT on my traget computer.
Well, if you're not really *using* manifests for any real purpose,
then you can try just getting rid of them. Right click on your
project, select properties, then set
Linker -Manifest File -Generate Manifest: No
Manifest Tool -Input & Output -Embed Manifest: No

Manifests sound like a nice idea in theory that escaped into the
wild still half-baked. Maybe in the next VS, they'll work somewhat
reliably, and not need some arcane XML incantations to use.

You *must* have a manifesst to load the VC8 runtime library DLLs.

An SP1 version of vcredist will be available from the Microsoft Download
center sometime soon. Exactly how soon is soon? I can't say,
unfortuntaely. Hopefully it's in the next couple weeks, but I don't have
any insider knowledge that says that it will be - it's just wishful thinking
on my part!

-cd
Mar 29 '07 #8

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

Similar topics

1
by: Brian | last post by:
VC# 2005 (express/beta2) crashed on me. It took my project with it as there's no trace of it on the hard disk. Is there a way to recover? Thanks, Brian
2
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory...
7
by: Mihajlo Cvetanović | last post by:
Hi all, I've been trying to find some info on Visual C++ 2005 Standard on Microsoft's site, but wasn't able to find any. There's only VC++ 2005 Express Edition, and Visual Studio 2005 Standard,...
2
by: gbook | last post by:
I'm trying to nest classes and access the variables in each one from the other. I mainly just want to access the outer class from the inner class. Here is the code I have so far... It compiles, but...
3
by: lewisksh | last post by:
hi, i have 1 MFC project which is written using VC++2003 but i need to migrate to VC++2005. The program (VC++2003) is working fine. but there is erros occur when running in VC++2005, and i just...
2
by: Allen | last post by:
Last time, i post a topic about inline class member declaration in C++. And in VC6, it does not support inline class member. Now I upgrade to VC 2005. But the compiler doesnot completely support...
7
by: driplet | last post by:
I am using MS VC++ 2005 Express Edition to make some windows application programs. I found that the exe files I built on one computer cannot be run on the other. Could any body please tell me how to...
11
by: kimiraikkonen | last post by:
Hello, I'm very new to C# and just installed VC# 2005 express edition and i have VB 2005 express installed previously. But i saw a thing which may be called as a "Visual C# 2005 express" bug? ...
1
by: ender.a.wiggins | last post by:
Hi, I'm not very good w/ VC++ as I come from the other side, but I have a VC++ 2005 small project that did compile, then I did a 'build->clean solution' on it and I can no longer get it to link....
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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.