On Jun 28, 3:25 pm, Lars Christensen <
lar...@belunktum.dk> wrote:
> On Mon, Jun 20, 2011 at 8:47 AM, timbo <
t...@orange.net> wrote:
>
> > On Jun 14, 8:45 pm, pete brumm <
pbr...@gmail.com> wrote:
> > > I include the dlls in my builds
>
> > > ocra --dll msvcp71.dll --dll msvcr71.dll
>
> > My issue is where to get "proper" copies from to include. MS imply
> > they are redistributable and this should be done by the source of the
> > dependent software (i.e. my ocra built .exe), but do not make it clear
> > where genuine copies originate from. I presume they come with Visual
> > Studio, which I do not use, I could fish around and find them on the
> > web, probably, but I don't want to end up distributing copies I cannot
> > vouch for.
>
> I don't believe that MS recommend distributing them as a part of the the
> application folder (would be a security risk, since they are frequently
> patched). Usually, application will either install the respective merge
> modules or run the visual studio redistributable installer. These can be
> downloaded from MS' website (e.g.
http://msdn.microsoft.com/en-us/library/ms994432.aspxfor VS 7.1 dlls).
>
According to
http://support.microsoft.com/kb/326922
"...the CRT DLL is no longer considered a system file, therefore,
distribute the CRT DLL with any application that relies on it. Because
it is no longer a system component, install it in your applications
Program Files directory with other application-specific code. This
prevents your application from using other versions of the CRT library
that may be installed on the system paths."
Elsewhere (
http://msdn.microsoft.com/en-us/library/k9a8ehy3%28VS.
71%29.aspx) MS suggest building ones own copies of the CRT dll's to
avoid version conflicts. This requires "Visual Studio .NET" which I do
not have.
> The RubyInstaller executables should not depend on these however, as it is
> built with gcc, and ocra should pick up all the needed DLLs.
Hmm. well I rather expected it too, but it seems to miss "msvcr71.dll"
& "msvcp71.dll" in my particular case so I am left having to add them
manually which is why I wanted a kosher source.