Re: manifest vc8.0 problem
- From: jayachandran kamaraj <k.jayachandran@xxxxxxxxx>
- Date: Thu, 10 Sep 2009 06:15:29 -0700 (PDT)
On Sep 10, 12:52 am, Tim Roberts <t...@xxxxxxxxx> wrote:
jc <k.jayachand...@xxxxxxxxx> wrote:
everything was working fine and in my clients computers. one day my
application won't start, complaining about the dependency and i
immediately checked with the dependency walker. it complained about
the libraries that is not found or installed.
so i went back to my computer, re compiled all the libraries and the
application and this time i chose not to embed the manifest. when i
checked the manifest, i found that one of my libraries is requiring
version "8.0.50608.0" while all the libraries require version
"8.0.50727.4053". since both of them are installed in my computer i
didn't notice the problem. but my clients computers have only
8.0.50727.4053 installed(i don't have administrator rights to install
the older version and i don't want to).
That's not the issue. 8.0.50608.0 is a "redirect" version. One of the
side-by-side policies redirects this to whatever the latest installed
version is.
The likely problem is that your clients don't really have 4053. That was
the "security update" version that came out last month. Your development
machine was problem updated to require 8.0.50727.4053, but your clients
don't have it.
Microsoft, of course, wants you to ship the runtime libraries with your
application's installer. Most of us got used to having the VC2005 runtimes
included with the operating system, so we got lazy.
If that's the issue, then the solutions are either switch to static
linking, include the run-time libraries with your installer, or send a link
to the Microsoft page where you can download the 4053 redistributable
runtime.
--
Tim Roberts, t...@xxxxxxxxx
Providenza & Boekelheide, Inc.
My clients does have 8.0.50727.4053(i verified). because if i remove
the reference (manually) for 8.0.50608.0 the application starts fine.
it is very tricky for me create an installer. i develop a software at
work and like to test it on the other lab computers for which i don't
have admin access. so if i create an installer
i need to call the administrator every time to get it installed. so
all i have is a zip file, which i download to the lab computers and
just extract it and run the program.
my package has one executable and 7 dll files. one of that 7 dll
requires the older version along with the newer version of the crt
libraries. because of that the executable file manifest requires the
older version too (this is all according to the manifest file). if i
remove that dependency line from the manifest file for both that
particular library and the application, the problem solved.
but i like to know how the compiler/linker got this reference to the
older version of the library
thanks
jc
.
- Follow-Ups:
- Re: manifest vc8.0 problem
- From: Duane Hebert
- Re: manifest vc8.0 problem
- References:
- manifest vc8.0 problem
- From: jc
- Re: manifest vc8.0 problem
- From: Tim Roberts
- manifest vc8.0 problem
- Prev by Date: Re: Open random file inside a folder using Visual C++ 6.0
- Next by Date: Re: wh_callwndProc hook problem
- Previous by thread: Re: manifest vc8.0 problem
- Next by thread: Re: manifest vc8.0 problem
- Index(es):
Relevant Pages
|