[GRASS-dev] [GRASS GIS] #1891: wingrass: background dosbox from regular wxgui startup

GRASS GIS trac at osgeo.org
Sun May 5 00:32:03 PDT 2013


#1891: wingrass: background dosbox from regular wxgui startup
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  blocker   |   Milestone:  6.4.3                    
Component:  Default   |     Version:  svn-releasebranch64      
 Keywords:  wingrass  |    Platform:  MSWindows 7              
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by hamish):

 Replying to [comment:41 neteler]:
 > Replying to [comment:38 hamish]:
 > >  - ''did you select the box for installing "Important Microsoft
 > >     runtime dll's"''?
 >
 > No since I had done this already the last time.

 you've got to do it every time. the needed msvcr70.dll & similar are al a
 carte in the downloaded tarball, and get installed to C:\Program
 Files\GRASS...\extralib, so are install specific, & need to be done for
 each time, for each version. AFAIK only the 2010.exe installer puts the
 msvcr100.dlls in C:\windows\system32 and so survives. I don't know what
 the 2005.exe and 2008.exe installers actually install (but I'd like to).

 So the three ms-$year.exe installers run, but also a number of dlls are in
 the tarball and copied separately. The three ms-$year installers should
 survive reinstall, but don't provide all the Microsoft-provided libraries
 we need.

 probably(?) there is some other ms redistributable installer which
 installs the ones we need system wide, I don't know. note the 80 and 90
 msvcr dlls are still missing (see #1428), probably causing breakage once
 the fns that need them get called.

 I don't like us installing to c:\windows\system32, I'd rather have ms's
 installers do that with their full checks, registry registration, and
 inside knowledge.


 > > (again, if not selected I suspect we need an extra warning installer
 page with
 > > [<Back<]  [>Forward>] buttons to give the user a second opportunity to
 select it)
 >
 > I don't think so:
 > I guess I should select it only once (here, done 2 weeks ago, see
 ticket),

 (nope, every time)

 > then the machine should be ok? Otherwise we should always force to
 install it

 mmph. I don't think we can or should make it mandatory, but we might be
 able to change the default on the download page to ticked instead of
 unticked.

 > if *this* is the problem (cannot test right now).

 I'm pretty sure it will be #1428.


 another idea is to have a tiny sacrificial osgeo4w program that runs with
 a dependency on all dlls used by the core osgeo4w toolchain, and catch the
 result so at least there is a nice error message telling you what to do
 instead of the not very helpful vanishing box. Who c/would write it? no
 idea.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1891#comment:42>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list