Ocra on Win 7

91 views
Skip to first unread message

timbo

unread,
May 9, 2011, 3:25:25 AM5/9/11
to OCRA One-Click Application Builder
There seems to be a problem under Windows 7, in that packaged apps
require the use of a couple of dll's that seem to be missing by
default from Win 7. See:-

http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/

What is the best way to bundle these in to avoid missing dll errors or
can ocra be made not to use them? MS don't seem to supply a
redistribution bundle, and its off putting for users having to
manually add them.

dave lilley

unread,
May 9, 2011, 8:45:16 PM5/9/11
to ruby...@googlegroups.com
don't want to appear to be silly but are you using IronRuby?
if not may I suggest you trail that distro as it should have everything you for Win 7.
 
note i am only getting my feet wet with this.
 
rgds,

pete brumm

unread,
Jun 14, 2011, 3:45:16 PM6/14/11
to OCRA One-Click Application Builder
I include the dlls in my builds

ocra --dll msvcp71.dll --dll msvcr71.dll

On May 9, 2:25 am, timbo <t...@orange.net> wrote:
> There seems to be a problem under Windows 7, in that packaged apps
> require the use of a couple of dll's that seem to be missing by
> default from Win 7. See:-
>
> http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71...

timbo

unread,
Jun 20, 2011, 2:47:23 AM6/20/11
to OCRA One-Click Application Builder


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.

Lars Christensen

unread,
Jun 28, 2011, 10:25:29 AM6/28/11
to ruby...@googlegroups.com
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.aspx for VS 7.1 dlls).

The RubyInstaller executables should not depend on these however, as it is built with gcc, and ocra should pick up all the needed DLLs.

timbo

unread,
Jul 5, 2011, 11:06:17 AM7/5/11
to OCRA One-Click Application Builder

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.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages