2012-06-16 17:29:54 +02:00
|
|
|
textreplace -std -t bin\@package@.bat
|
|
|
|
textreplace -std -t bin\@package@-browser.bat
|
2015-06-25 15:07:43 +02:00
|
|
|
textreplace -std -t bin\@package@-designer.bat
|
|
|
|
textreplace -std -t bin\python-@package@.bat
|
2012-06-16 17:29:54 +02:00
|
|
|
|
2013-08-14 15:18:01 +02:00
|
|
|
REM get short path without blanks
|
|
|
|
for %%i in ("%OSGEO4W_ROOT%") do set O4W_ROOT=%%~fsi
|
2016-03-12 19:42:03 +01:00
|
|
|
if "%OSGEO4W_DESKTOP%"=="" set OSGEO4W_DESKTOP=~$folder.common_desktop$
|
2013-08-14 15:18:01 +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 "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Desktop @version@" "exec hide %O4W_ROOT%\bin\@package@.bat" "%O4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2015-05-20 10:41:42 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Browser @version@" "exec hide %O4W_ROOT%\bin\@package@-browser.bat" "%O4W_ROOT%\apps\@package@\icons\browser.ico"
|
2015-06-25 15:07:43 +02:00
|
|
|
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "Qt Designer with QGIS @version@ custom widgets" "exec hide """%OSGEO4W_ROOT%\bin\@package@-designer.bat"" "%O4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2012-06-28 08:52:22 +02:00
|
|
|
|
2016-03-12 19:42:03 +01:00
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 mkdir "%OSGEO4W_DESKTOP%"
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_DESKTOP%" "QGIS Desktop @version@" "exec hide %O4W_ROOT%\bin\@package@.bat" "%O4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_DESKTOP%" "QGIS Browser @version@" "exec hide %O4W_ROOT%\bin\@package@-browser.bat" "%O4W_ROOT%\apps\@package@\icons\browser.ico"
|
|
|
|
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_DESKTOP%" "Qt Designer with QGIS @version@ custom widgets" "exec hide %O4W_ROOT%\bin\@package@-designer.bat" "%O4W_ROOT%\apps\@package@\icons\QGIS.ico"
|
2012-06-16 17:29:54 +02:00
|
|
|
|
|
|
|
set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
|
|
|
|
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|
2014-02-12 01:01:48 +01:00
|
|
|
nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
|