-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osgeo4w: support for OSGEO4W_DESKTOP and fix deinstallation
- Loading branch information
Showing
9 changed files
with
87 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
textreplace -std -t bin\@package@-grass@grassmajor@.bat | ||
textreplace -std -t bin\@package@-browser-grass@grassmajor@.bat | ||
|
||
if "%OSGEO4W_DESKTOP%"=="" set OSGEO4W_DESKTOP=~$folder.common_desktop$ | ||
|
||
if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%" | ||
if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Desktop @version@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.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@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-browser-grass@grassmajor@.bat" "%OSGEO4W_ROOT%\apps\@package@\icons\browser.ico" | ||
|
||
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "QGIS Desktop @version@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.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@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-browser-grass@grassmajor@.bat" "%OSGEO4W_ROOT%\apps\@package@\icons\browser.ico" | ||
if not %OSGEO4W_DESKTOP_LINKS%==0 mkdir "%OSGEO4W_DESKTOP%" | ||
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_DESKTOP%" "QGIS Desktop @version@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.bat" "%OSGEO4W_ROOT%\apps\@package@\icons\QGIS.ico" | ||
if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%OSGEO4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_DESKTOP%" "QGIS Browser @version@ with GRASS @grassversion@" "exec hide %OSGEO4W_ROOT%\bin\@package@-browser-grass@grassmajor@.bat" "%OSGEO4W_ROOT%\apps\@package@\icons\browser.ico" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
del "%OSGEO4W_STARTMENU%\QGIS Desktop @version@.lnk" | ||
del "%OSGEO4W_STARTMENU%\QGIS Browser @version@.lnk" | ||
del "%OSGEO4W_STARTMENU%\Qt Designer with QGIS @version@ custom widgets.lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Desktop @version@.lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Browser @version@.lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\Qt Designer with QGIS @version@ custom widgets.lnk" | ||
del "%OSGEO4W_ROOT%"\bin\@package@.bat | ||
del "%OSGEO4W_ROOT%"\bin\@package@-browser.bat | ||
del "%OSGEO4W_ROOT%"\bin\@package@-designer.bat | ||
del "%OSGEO4W_ROOT%"\apps\@package@\python\qgis\qgisconfig.py | ||
del "%OSGEO4W_ROOT%"\apps\@package@\bin\qgis.reg | ||
rmdir "%OSGEO4W_STARTMENU%" | ||
del "%OSGEO4W_DESKTOP%\QGIS Desktop @version@.lnk" | ||
del "%OSGEO4W_DESKTOP%\QGIS Browser @version@.lnk" | ||
del "%OSGEO4W_DESKTOP%\Qt Designer with QGIS @version@ custom widgets.lnk" | ||
rmdir "%OSGEO4W_DESKTOP%" | ||
del "%OSGEO4W_ROOT%\bin\@package@.bat" | ||
del "%OSGEO4W_ROOT%\bin\@package@-browser.bat" | ||
del "%OSGEO4W_ROOT%\bin\@package@-designer.bat" | ||
del "%OSGEO4W_ROOT%\apps\@package@\python\qgis\qgisconfig.py" | ||
del "%OSGEO4W_ROOT%\apps\@package@\bin\qgis.reg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
for %%g in (@grassversions@) do ( | ||
del "%OSGEO4W_STARTMENU%\QGIS Desktop @version@ with GRASS %%g (Nightly).lnk" | ||
del "%OSGEO4W_STARTMENU%\QGIS Browser @version@ with GRASS %%g (Nightly).lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Desktop @version@ with GRASS %%g (Nightly).lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Browser @version@ with GRASS %%g (Nightly).lnk" | ||
del "%OSGEO4W_ROOT%"\bin\@package@-g%%g.bat | ||
del "%OSGEO4W_ROOT%"\bin\@package@-browser-g%%g.bat | ||
del "%OSGEO4W_DESKTOP%\QGIS Desktop @version@ with GRASS %%g (Nightly).lnk" | ||
del "%OSGEO4W_DESKTOP%\QGIS Browser @version@ with GRASS %%g (Nightly).lnk" | ||
del "%OSGEO4W_ROOT%\bin\@package@-g%%g.bat" | ||
del "%OSGEO4W_ROOT%\bin\@package@-browser-g%%g.bat" | ||
) | ||
|
||
del "%OSGEO4W_STARTMENU%\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk" | ||
rmdir "%OSGEO4W_STARTMENU%" | ||
del "%OSGEO4W_DESKTOP%\Qt Designer with QGIS @version@ custom widgets (Nightly).lnk" | ||
rmdir "%OSGEO4W_DESKTOP%" | ||
|
||
del "%OSGEO4W_ROOT%"\bin\@package@-designer.bat | ||
del "%OSGEO4W_ROOT%"\bin\python-@package@.bat | ||
del "%OSGEO4W_ROOT%"\apps\@package@\python\qgis\qgisconfig.py | ||
del "%OSGEO4W_ROOT%"\apps\@package@\bin\qgis.reg | ||
del "%OSGEO4W_ROOT%\bin\@package@-designer.bat" | ||
del "%OSGEO4W_ROOT%\bin\python-@package@.bat" | ||
del "%OSGEO4W_ROOT%\apps\@package@\python\qgis\qgisconfig.py" | ||
del "%OSGEO4W_ROOT%\apps\@package@\bin\qgis.reg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
del "%OSGEO4W_STARTMENU%\QGIS Desktop @version@ with GRASS @grassversion@.lnk" | ||
del "%OSGEO4W_STARTMENU%\QGIS Browser @version@ with GRASS @grassversion@.lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Desktop @version@ with GRASS @grassversion@.lnk" | ||
del "%ALLUSERSPROFILE%\Desktop\QGIS Browser @version@ with GRASS @grassversion@.lnk" | ||
del "%OSGEO4W_ROOT%"\bin\@package@-grass@grassmajor@.bat | ||
del "%OSGEO4W_ROOT%"\bin\@package@-browser-grass@grassmajor@.bat | ||
rmdir "%OSGEO4W_STARTMENU%" | ||
del "%OSGEO4W_DESKTOP%\QGIS Desktop @version@ with GRASS @grassversion@.lnk" | ||
del "%OSGEO4W_DESKTOP%\QGIS Browser @version@ with GRASS @grassversion@.lnk" | ||
rmdir "%OSGEO4W_DESKTOP%" | ||
del "%OSGEO4W_ROOT%\bin\@package@-grass@grassmajor@.bat" | ||
del "%OSGEO4W_ROOT%\bin\@package@-browser-grass@grassmajor@.bat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
del "%OSGEO4W_ROOT%"\httpd.d\httpd_@package@.conf | ||
del "%OSGEO4W_ROOT%\httpd.d\httpd_@package@.conf" |