148 | | 1. Edit file {{{c:\temp\GRASS-Installer.nsi}}} to reflect path to the GRASS source tree. Default settings is: |
149 | | |
150 | | {{{ |
151 | | Grass64: |
152 | | !define DEMOLOCATION_PATH "c:\osgeo4w\usr\src\grass64_release\demolocation" |
153 | | !define MSYS_BATCH "C:\OSGeo4W\usr\src\grass64_release\mswindows\osgeo4w\msys.bat" |
154 | | |
155 | | Grass65: |
156 | | !define DEMOLOCATION_PATH "c:\osgeo4w\usr\src\grass6_devel\demolocation" |
157 | | !define MSYS_BATCH "C:\OSGeo4W\usr\src\grass6_devel\mswindows\osgeo4w\msys.bat" |
158 | | |
159 | | Grass70: |
160 | | !define DEMOLOCATION_PATH "c:\osgeo4w\usr\src\grass_trunk\demolocation" |
161 | | !define MSYS_BATCH "C:\OSGeo4W\usr\src\grass_trunk\mswindows\osgeo4w\msys.bat" |
162 | | }}} |
163 | | |
164 | | 2. Define {{{INSTALLER_TYPE}}} |
165 | | |
166 | | * GRASS 6.4: valid options - {{{Release}}}, {{{Devel}}} (default: {{{Release}}}) |
167 | | * GRASS 6.5: valid options - {{{Release}}}, {{{Devel}}} (default: {{{Devel}}}) |
168 | | * GRASS 7.0: valid options - {{{Release}}}, {{{Devel}}} (default: {{{Devel}}}) |
169 | | |
170 | | 3. Update SVN revision number (see {{{svn info}}}), e.g. change |
171 | | |
172 | | {{{ |
173 | | !define DEV65_SVN_REVISION "36599" |
174 | | }}} |
175 | | |
176 | | to |
177 | | |
178 | | {{{ |
179 | | !define DEV65_SVN_REVISION "40505" |
180 | | }}} |
181 | | |
182 | | 4. Right click on the file {{{c:\temp\GRASS-Installer.nsi}}} and select Compile NSIS Script. |
| 148 | 1. Launch {{{c:\temp\GRASS-Installer.nsi}}}. |