2012-06-17 14:46:43 +02:00
|
|
|
textreplace -std -t bin\@package@.bat
|
|
|
|
textreplace -std -t bin\@package@-browser.bat
|
|
|
|
|
2012-06-28 08:52:22 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
|
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 xxmklink "%OSGEO4W_STARTMENU%\Quantum GIS Desktop (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 xxmklink "%OSGEO4W_STARTMENU%\Quantum GIS Browser (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@-browser.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 xxmklink "%ALLUSERSPROFILE%\Desktop\Quantum GIS Desktop (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 xxmklink "%ALLUSERSPROFILE%\Desktop\Quantum GIS Browser (@version@).lnk" "%OSGEO4W_ROOT%\bin\@package@-browser.bat" " " \ "Quantum GIS - Desktop GIS (@version@)" 1 "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2012-06-17 14:46:43 +02:00
|
|
|
|
|
|
|
set O4W_ROOT=%OSGEO4W_ROOT%
|
|
|
|
set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
|
|
|
|
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
|
|
|
set OSGEO4W_ROOT=%O4W_ROOT%
|
|
|
|
|
|
|
|
"%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
|
|
|
|
|
|
|
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
|
|
|
|
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin
|
2012-06-19 02:57:38 +02:00
|
|
|
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@
|
2012-06-17 14:46:43 +02:00
|
|
|
%OSGEO4W_ROOT%\apps\@package@\crssync
|