Re: manifest vc8.0 problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: xawtv problems
    ... >> I wonder if xawtv is making a gfx call that causes rivafb.ko to load. ... At one time nVidia suggested that the Mesa libraries be removed. ... before and after running the nVidia installer in initstate 3. ...
    (Fedora)
  • Re: Write my own library/extension or create package that calls external program?
    ... You can make an installer that copies the files to ... other tools/shared libraries? ... The API interface should be kept stable by ... the easiest and fastest solution - and certainly adequate if ...
    (comp.lang.tcl)
  • Re: binary execution
    ... [Assembly Binding Log Viewer ] ... Try to avoid exotic libraries and try to ... or make sure your installer ... dependencies have been resolved. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Exportability of EDA industry from North America?
    ... RedHat puts all of its user libraries in /usr/lib. ... > configure for this name for GTK should be built into the installer. ... Stuart and I will fix this for the ...
    (sci.electronics.design)
  • Re: Exportability of EDA industry from North America?
    ... RedHat puts all of its user libraries in /usr/lib. ... > configure for this name for GTK should be built into the installer. ... Stuart and I will fix this for the ...
    (sci.electronics.cad)