2012-06-17 14:46:43 +02:00
|
|
|
textreplace -std -t bin\@package@.bat
|
|
|
|
textreplace -std -t bin\@package@-browser.bat
|
2014-08-20 12:06:34 +02:00
|
|
|
textreplace -std -t bin\designer-@package@.bat
|
2012-06-17 14:46:43 +02:00
|
|
|
|
2012-06-28 08:52:22 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
|
2013-09-04 01:05:11 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Desktop @version@" "exec hide """%OSGEO4W_ROOT%\bin\@package@.bat"" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Browser @version@" "exec hide """%OSGEO4W_ROOT%\bin\@package@-browser.bat"" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2014-08-20 12:06:34 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "Qt Designer with QGIS @version@ custom widgets" "exec hide """%OSGEO4W_ROOT%\bin\designer-@package@.bat"" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2012-06-28 08:52:22 +02:00
|
|
|
|
2013-09-04 01:05:11 +02:00
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "QGIS Desktop @version@" "exec hide """%OSGEO4W_ROOT%\bin\@package@.bat"" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "QGIS Browser @version@" "exec hide """%OSGEO4W_ROOT%\bin\@package@-browser.bat"" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2014-08-20 12:06:34 +02:00
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "Qt Designer with QGIS @version@ custom widgets" "exec hide """%OSGEO4W_ROOT%\bin\designer-@package@.bat"" "%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%
|
|
|
|
|
2014-05-09 20:40:53 +02:00
|
|
|
REM Do not register extensions if release is installed
|
|
|
|
if not exist "%O4W_ROOT%\apps\qgis\bin\qgis.reg" nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
2012-06-17 14:46:43 +02:00
|
|
|
|
2014-06-20 23:08:02 +02:00
|
|
|
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
|
2012-06-17 14:46:43 +02:00
|
|
|
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin
|
2012-06-19 02:57:38 +02:00
|
|
|
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@
|
2014-06-20 23:08:02 +02:00
|
|
|
"%OSGEO4W_ROOT%\apps\@package@\crssync"
|