[GRASS-dev] [GRASS GIS] #2372: GRASS 7 on windows starts with minimized CMD window

GRASS GIS trac at osgeo.org
Fri Jul 18 05:36:29 PDT 2014


#2372: GRASS 7 on windows starts with minimized CMD window
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  7.0.0                    
Component:  Startup      |     Version:  svn-releasebranch70      
 Keywords:  wingrass     |    Platform:  MSWindows 8              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hellik):

 Replying to [ticket:2372 marisn]:
 > This is an inverse bug of #1891
 >
 > Steps to reproduce:
 >  * Install Wingrass on a clean machine (without previous GRASS 7 install
 or just remove AppData/Roaming/GRASS7 folder)

 mmmhhh, just thinking more about it:

 after installing the winGRASS-standalone on a fresh box, there should be
 the AppData/Roaming?/GRASS7-folder, because the winGRASS-standalone
 installer should do it for you, see:

 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_0/mswindows
 /GRASS-Installer.nsi.tmpl#L867

 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_0/mswindows
 /GRASS-Installer.nsi.tmpl#L867

 {{{
 867             SetShellVarContext current
 868             ${If} ${FileExists}
 "$APPDATA\GRASS at GRASS_VERSION_MAJOR@\rc"
 869                   DetailPrint "File
 $APPDATA\GRASS at GRASS_VERSION_MAJOR@\rc already exists. Skipping."
 870             ${Else}
 871                   ;create $APPDATA\GRASS at GRASS_VERSION_MAJOR@\rc
 872                   ClearErrors
 873                   CreateDirectory
 $APPDATA\GRASS at GRASS_VERSION_MAJOR@
 874                   FileOpen $0 $APPDATA\GRASS at GRASS_VERSION_MAJOR@\rc w
 875                   IfErrors done_create_grass_rc
 876                   FileWrite $0 'GISDBASE: $GIS_DATABASE$\r$\n'
 877                   FileWrite $0 'LOCATION_NAME: demolocation$\r$\n'
 878                   FileWrite $0 'MAPSET: PERMANENT$\r$\n'
 879                   FileClose $0
 880                   done_create_grass_rc:
 881             ${EndIf}
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2372#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list