[GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

Hi all,

I just finished to prepare and test the installer of WinGRASS-6.3.0RC5; I guessed to finished it two or three days ago, but I had some unexpected problems to fix;
BTW, I have some other thinhs to explain, so, let’s come with order

  1. I updated the Building Guide with instructions on how to create a self contained package; see http://trac.osgeo.org/grass/wiki/BuildingOnWindows

  2. I made a document that explain the content and usage of pre-released http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip
    I uploaded it to http://www.webalice.it/marco.pasetti/grass/MSYS_Environment_080303_README.txt

  3. WinGRASS Installer:

I temporarily uploaded it to http://www.laser4000.it/temp/WinGRASS-6.3.0RC5-Setup.exe
Please, someone could upload it to a GRASS server space? thanks

Now let’s come to the installer:

3.1) Unfortunately, I didn’t complete all the things I planned to do, that is it still doesn’t support installation paths containing blanks; if you select a path with blanks, the installer detects it and abort install. Actually, I preferred to not completely abort install process, but simply ask to re-entry the install path, but the installer script language (NSIS) doesn’t support this feature; so, when you select a path with blanks and press “proceed” button, it display a warning message asking to “not select paths with blanks” and the aborts installation. It a minor problem, but I would feel better if I solved it…

3.2) Installation procedure dinamically creates three different files, in order to reflect installation path selected by user:

  • grass63, to let start GRASS from MSYS console)
  • .grassrc6, to avoid usual error message at first GRASS launch
  • grass63.bat

3.3) Installer creates a complete “standard” windows installation, with registry key entries, shortcuts (desktop and menu) and automated uninstall procedure. If you also access “add/remove programs” menu, you can see GRASS install informations item. About shortcuts, installer automaticallt creates:

  • Start menu GRASS folder with link to grass63.bat and msys.bat
  • Desktop link to grass63.bat

3.4) During install procedure you can also select to download and install Spearfish sample database. By the way, standard procedure sets the prebuilt “demolocation” as standard location.

3.5) Final notes: I tested it, also in the uninstall procedure, and it works fine for me (NVIZ included, with Tcl-Tk 8.5.1 support).
I also added a README.txt file, please read it and tell me if I made errors. I post its content (that also describes the content on this GRASS release)

GRASS 6.3.0RC5 - Technology preview release candidate 5

INTRODUCTION:

GRASS (Geographic Resources Analysis Support System) is a free, open source Geographical information system (GIS) capable of handling raster, topological vector, image processing, and graphic data.
GRASS is released under the GNU General Public License (GPL). The GRASS Development Team is a multi-national group consisting of developers at numerous locations. GRASS is one of the eight initial Software Projects of the Open Source Geospatial Foundation.
GRASS GIS main web site: http://grass.osgeo.org/

WinGRASS:

WinGRASS is a GRASS Development Team Project, concerning Windows Native Binary porting of latest technology previews of GRASS 6.3.0.
The current release, based on GRASS 6.3.0RC5 (Technology preview release candidate 5), has been built on a i686 machine under MinGW environment.
WinGRASS contains parts of the following open source softwares and libraries:

Software/library (release):

  • MSYS (1.0.11)
  • Flex (2.5.4a-1)
  • Bison (2.1)
  • Zlib (1.2.3)
  • Libpng (1.2.24)
  • Libtiff (3.8.2)
  • Xdr (4.0)
  • Freetype (2.3.5)
  • FFTW (3.1.2)
  • PDCurses (3.3)
  • PROJ.4 (4.6.0)
  • GEOS (2.2.3)
  • PostgreSQL (8.2.6)
  • SQLite (3.5.6)
  • GDAL (1.5.0) *
  • Tcl/Tk (8.5.1)

*with GEOS, PostgreSQL and SQlite support enabled

All the previous softwares and libraries have been built from sources on a i686 machine under MinGW environment, with the exception of MSYS, provided by MinGW Project on SourceForge.NET (http://www.mingw.org/msys.shtml), and Flex and Bison, provided by GnuWin32 Project on SourceForge.NET (http://gnuwin32.sourceforge.net/).

The current release of GRASS 6.3.0RC5 has been built with the following configuration:

GRASS is now configured for: i686-pc-mingw32
Source directory: /usr/local/src/grass-6.3.0RC5
Build directory: /usr/local/src/grass-6.3.0RC5
Installation directory: ${prefix}/grass-6.3.0RC5
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: Windows
NVIZ: yes
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: no
TIFF support: yes
X11 support: no
MacOSX application: no

All builds are provided by Marco Pasetti.
Information on how to build GRASS from source code on Windows under MinGW environment are available at http://trac.osgeo.org/grass/wiki/BuildingOnWindows

WinGRASS Installer:

WinGRASS Installer has been made using the OpenSource NSIS (Nullsoft Scriptable Install System) software - http://nsis.sourceforge.net
NSIS script provided by Marco Pasetti

Thats all. I hope you like it :wink:

Marco

Hi Marco,

Phew! What a job!
Congrats, it was a long awaited installation software.

I wish I could download the installation file, but it seems the server is Kaput.
If I can get a hand on it, I'll try to host it in my Institute for
Asian downloads.

Let see,
Thanks again,
Yann

On 11/03/2008, marco.pasetti@alice.it <marco.pasetti@alice.it> wrote:

Hi all,

I just finished to prepare and test the installer of WinGRASS-6.3.0RC5; I
guessed to finished it two or three days ago, but I had some unexpected
problems to fix;
BTW, I have some other thinhs to explain, so, let's come with order

1) I updated the Building Guide with instructions on how to create a self
contained package; see
http://trac.osgeo.org/grass/wiki/BuildingOnWindows

2) I made a document that explain the content and usage of pre-released
http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip
I uploaded it to
http://www.webalice.it/marco.pasetti/grass/MSYS_Environment_080303_README.txt

3) WinGRASS Installer:

I temporarily uploaded it to
http://www.laser4000.it/temp/WinGRASS-6.3.0RC5-Setup.exe
Please, someone could upload it to a GRASS server space? thanks

Now let's come to the installer:

3.1) Unfortunately, I didn't complete all the things I planned to do, that
is it still doesn't support installation paths containing blanks; if you
select a path with blanks, the installer detects it and abort install.
Actually, I preferred to not completely abort install process, but simply
ask to re-entry the install path, but the installer script language (NSIS)
doesn't support this feature; so, when you select a path with blanks and
press "proceed" button, it display a warning message asking to "not select
paths with blanks" and the aborts installation. It a minor problem, but I
would feel better if I solved it....

3.2) Installation procedure dinamically creates three different files, in
order to reflect installation path selected by user:

- grass63, to let start GRASS from MSYS console)
- .grassrc6, to avoid usual error message at first GRASS launch
- grass63.bat

3.3) Installer creates a complete "standard" windows installation, with
registry key entries, shortcuts (desktop and menu) and automated uninstall
procedure. If you also access "add/remove programs" menu, you can see GRASS
install informations item. About shortcuts, installer automaticallt creates:

- Start menu GRASS folder with link to grass63.bat and msys.bat
- Desktop link to grass63.bat

3.4) During install procedure you can also select to download and install
Spearfish sample database. By the way, standard procedure sets the prebuilt
"demolocation" as standard location.

3.5) Final notes: I tested it, also in the uninstall procedure, and it works
fine for me (NVIZ included, with Tcl-Tk 8.5.1 support).
I also added a README.txt file, please read it and tell me if I made errors.
I post its content (that also describes the content on this GRASS release)

GRASS 6.3.0RC5 - Technology preview release candidate 5
--------------------------------------------------------------------------------------

INTRODUCTION:
------------------------
GRASS (Geographic Resources Analysis Support System) is a free, open source
Geographical information system (GIS) capable of handling raster,
topological vector, image processing, and graphic data.
GRASS is released under the GNU General Public License (GPL). The GRASS
Development Team is a multi-national group consisting of developers at
numerous locations. GRASS is one of the eight initial Software Projects of
the Open Source Geospatial Foundation.
GRASS GIS main web site: http://grass.osgeo.org/

WinGRASS:
-----------------
WinGRASS is a GRASS Development Team Project, concerning Windows Native
Binary porting of latest technology previews of GRASS 6.3.0.
The current release, based on GRASS 6.3.0RC5 (Technology preview release
candidate 5), has been built on a i686 machine under MinGW environment.
WinGRASS contains parts of the following open source softwares and
libraries:

Software/library (release):

- MSYS (1.0.11)
- Flex (2.5.4a-1)
- Bison (2.1)
- Zlib (1.2.3)
- Libpng (1.2.24)
- Libtiff (3.8.2)
- Xdr (4.0)
- Freetype (2.3.5)
- FFTW (3.1.2)
- PDCurses (3.3)
- PROJ.4 (4.6.0)
- GEOS (2.2.3)
- PostgreSQL (8.2.6)
- SQLite (3.5.6)
- GDAL (1.5.0) *
- Tcl/Tk (8.5.1)

*with GEOS, PostgreSQL and SQlite support enabled

All the previous softwares and libraries have been built from sources on a
i686 machine under MinGW environment, with the exception of MSYS, provided
by MinGW Project on SourceForge.NET (http://www.mingw.org/msys.shtml), and
Flex and Bison, provided by GnuWin32 Project on SourceForge.NET
(http://gnuwin32.sourceforge.net/).

The current release of GRASS 6.3.0RC5 has been built with the following
configuration:

GRASS is now configured for: i686-pc-mingw32
Source directory:
/usr/local/src/grass-6.3.0RC5
Build directory:
/usr/local/src/grass-6.3.0RC5
Installation directory: ${prefix}/grass-6.3.0RC5
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: Windows
NVIZ: yes
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: no
TIFF support: yes
X11 support: no
MacOSX application: no

All builds are provided by Marco Pasetti.
Information on how to build GRASS from source code on Windows under MinGW
environment are available at
http://trac.osgeo.org/grass/wiki/BuildingOnWindows

WinGRASS Installer:
------------------------------
WinGRASS Installer has been made using the OpenSource NSIS (Nullsoft
Scriptable Install System) software - http://nsis.sourceforge.net
NSIS script provided by Marco Pasetti

Thats all. I hope you like it :wink:

Marco
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Very good!

Many thanks for all your work.

3.1) Unfortunately, I didn't complete all the things I planned to do, that is it still doesn't support installation paths containing blanks;

You know, after all the trouble we have run into with messy installation
paths, I think we might consider this an "educational" feature in the
user's own best interest, rather than a bug!

Whatever you do, it would be a good idea to issue at least a sincere
warning if the user tries to install into a path with spaces.

if you select a path with blanks, the installer detects it and abort install. Actually, I preferred to not completely abort install process,

... that, however, we might consider a bug :wink:

Cheers,

Benjamin

--
Benjamin Ducke
Senior Applications Support and Development Officer

Oxford Archaeological Unit Limited
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.

Tel.: ++44 (0)1865 263 800
benjamin.ducke@oxfordarch.co.uk

Do you think it would be better if it only displays a warning without aborting install?

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Benjamin Ducke
Inviato: mar 11/03/2008 9.53
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

Very good!

Many thanks for all your work.

3.1) Unfortunately, I didn’t complete all the things I planned to do,
that is it still doesn’t support installation paths containing blanks;

You know, after all the trouble we have run into with messy installation
paths, I think we might consider this an “educational” feature in the
user’s own best interest, rather than a bug!

Whatever you do, it would be a good idea to issue at least a sincere
warning if the user tries to install into a path with spaces.

if you select a path with blanks, the installer detects it and abort
install. Actually, I preferred to not completely abort install process,

… that, however, we might consider a bug :wink:

Cheers,

Benjamin


Benjamin Ducke
Senior Applications Support and Development Officer

Oxford Archaeological Unit Limited
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.

Tel.: ++44 (0)1865 263 800
benjamin.ducke@oxfordarch.co.uk


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi Marco,

have been trying to download all day,
cannot get an answer from the server...

Anybody mirrored it already?

Yann

3) WinGRASS Installer:

I temporarily uploaded it to
http://www.laser4000.it/temp/WinGRASS-6.3.0RC5-Setup.exe
Please, someone could upload it to a GRASS server space? thanks

Hey Marco !

This rocks... Introduction to GIS will be MUCH simpler with this...

Thanks!
Yann

On 11/03/2008, marco.pasetti@alice.it <marco.pasetti@alice.it> wrote:

Hi all,

I just finished to prepare and test the installer of WinGRASS-6.3.0RC5; I
guessed to finished it two or three days ago, but I had some unexpected
problems to fix;
BTW, I have some other thinhs to explain, so, let's come with order

1) I updated the Building Guide with instructions on how to create a self
contained package; see http://trac.osgeo.org/grass/wiki/BuildingOnWindows

2) I made a document that explain the content and usage of pre-released
http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip
<http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip&gt;
I uploaded it to
http://www.webalice.it/marco.pasetti/grass/MSYS_Environment_080303_README.txt

3) WinGRASS Installer:

I temporarily uploaded it to
http://www.laser4000.it/temp/WinGRASS-6.3.0RC5-Setup.exe
Please, someone could upload it to a GRASS server space? thanks

Now let's come to the installer:

3.1) Unfortunately, I didn't complete all the things I planned to do, that
is it still doesn't support installation paths containing blanks; if you
select a path with blanks, the installer detects it and abort install.
Actually, I preferred to not completely abort install process, but simply
ask to re-entry the install path, but the installer script language (NSIS)
doesn't support this feature; so, when you select a path with blanks and
press "proceed" button, it display a warning message asking to "not select
paths with blanks" and the aborts installation. It a minor problem, but I
would feel better if I solved it....

3.2) Installation procedure dinamically creates three different files, in
order to reflect installation path selected by user:

- grass63, to let start GRASS from MSYS console)
- .grassrc6, to avoid usual error message at first GRASS launch
- grass63.bat

3.3) Installer creates a complete "standard" windows installation, with
registry key entries, shortcuts (desktop and menu) and automated uninstall
procedure. If you also access "add/remove programs" menu, you can see GRASS
install informations item. About shortcuts, installer automaticallt creates:

- Start menu GRASS folder with link to grass63.bat and msys.bat
- Desktop link to grass63.bat

3.4) During install procedure you can also select to download and install
Spearfish sample database. By the way, standard procedure sets the prebuilt
"demolocation" as standard location.

3.5) Final notes: I tested it, also in the uninstall procedure, and it works
fine for me (NVIZ included, with Tcl-Tk 8.5.1 support).
I also added a README.txt file, please read it and tell me if I made errors.
I post its content (that also describes the content on this GRASS release)

GRASS 6.3.0RC5 - Technology preview release candidate 5
--------------------------------------------------------------------------------------

INTRODUCTION:
------------------------
GRASS (Geographic Resources Analysis Support System) is a free, open source
Geographical information system (GIS) capable of handling raster,
topological vector, image processing, and graphic data.
GRASS is released under the GNU General Public License (GPL). The GRASS
Development Team is a multi-national group consisting of developers at
numerous locations. GRASS is one of the eight initial Software Projects of
the Open Source Geospatial Foundation.
GRASS GIS main web site: http://grass.osgeo.org/

WinGRASS:
-----------------
WinGRASS is a GRASS Development Team Project, concerning Windows Native
Binary porting of latest technology previews of GRASS 6.3.0.
The current release, based on GRASS 6.3.0RC5 (Technology preview release
candidate 5), has been built on a i686 machine under MinGW environment.
WinGRASS contains parts of the following open source softwares and
libraries:

Software/library (release):

- MSYS (1.0.11)
- Flex (2.5.4a-1)
- Bison (2.1)
- Zlib (1.2.3)
- Libpng (1.2.24)
- Libtiff (3.8.2)
- Xdr (4.0)
- Freetype (2.3.5)
- FFTW (3.1.2)
- PDCurses (3.3)
- PROJ.4 (4.6.0)
- GEOS (2.2.3)
- PostgreSQL (8.2.6)
- SQLite (3.5.6)
- GDAL (1.5.0) *
- Tcl/Tk (8.5.1)

*with GEOS, PostgreSQL and SQlite support enabled

All the previous softwares and libraries have been built from sources on a
i686 machine under MinGW environment, with the exception of MSYS, provided
by MinGW Project on SourceForge.NET (http://www.mingw.org/msys.shtml
<http://www.mingw.org/msys.shtml&gt; ), and Flex and Bison, provided by
GnuWin32 Project on SourceForge.NET (http://gnuwin32.sourceforge.net/
<http://gnuwin32.sourceforge.net/&gt; ).

The current release of GRASS 6.3.0RC5 has been built with the following
configuration:

GRASS is now configured for: i686-pc-mingw32
Source directory: /usr/local/src/grass-6.3.0RC5
Build directory: /usr/local/src/grass-6.3.0RC5
Installation directory: ${prefix}/grass-6.3.0RC5
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: Windows
NVIZ: yes
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: no
TIFF support: yes
X11 support: no
MacOSX application: no

All builds are provided by Marco Pasetti.
Information on how to build GRASS from source code on Windows under MinGW
environment are available at
http://trac.osgeo.org/grass/wiki/BuildingOnWindows
<http://trac.osgeo.org/grass/wiki/BuildingOnWindows&gt;

WinGRASS Installer:
------------------------------
WinGRASS Installer has been made using the OpenSource NSIS (Nullsoft
Scriptable Install System) software - http://nsis.sourceforge.net
<http://nsis.sourceforge.net>
NSIS script provided by Marco Pasetti

Thats all. I hope you like it :wink:

Marco