Opened 4 years ago
Closed 3 years ago
#681 closed defect (fixed)
no-shortcuts options not working
Reported by: | rhaubourg | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description (last modified by )
Hi there,
running
.\osgeo4w-setup.exe --quiet-mode --root "X:\OSGEO4W_DEPLOY_TEST\INSTALL" --local-install --local-package-dir "X:\OSGEO4W_DEPLOY_LOCAL\PAQUETS\http%3a%2f%2fwww.norbit.de%2fosgeo4w%2f" --autoaccept --no-shortcuts --delete-orphans --upgrade-also -C Libs -C Commandline_Utilities -C Desktop
still creates a menu with the directory name "OSGEO4W_DEPLOY_LOCAL"
I also tested with --no-startmenu and --no-desktop, but the shortcut entries are still created
Change History (4)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|---|
Priority: | major → minor |
comment:3 by , 3 years ago
Hi,
I can confirm, that running OSGeo4W installer version 2.579 for a local install of only -P qgis-ltr-full with --no-shortcuts or/and --no-startmenu nevertheless creates shortcuts in the default start menu folder OSGeo4W (or --menu-name, if given).
--no-desktop on the other hand indeed disables the creation of desktop shortcuts.
The start menu shortcuts I get are:
C:\geoservice\OSGeo4W\bin\grass78.bat --gui GRASS GIS 7.8.7 C:\geoservice\OSGeo4W\OSGeo4W.bat OSGeo4W Shell C:\geoservice\OSGeo4W\bin\qgis-ltr-bin.exe QGIS Desktop 3.22.5 C:\geoservice\OSGeo4W\bin\bgspawn.exe "C:\GEOSER~1\OSGeo4W\bin\qgis-ltr-designer.bat" Qt Designer with QGIS 3.22.5 custom widgets C:\geoservice\OSGeo4W\bin\bgspawn.exe "C:\geoservice\OSGeo4W\bin\saga_gui.bat" SAGA GIS 7.8.2 C:\geoservice\OSGeo4W\bin\bgspawn.exe "C:\geoservice\OSGeo4W\bin\setup.bat" Setup
N.B. Disableing the (QGIS) shortcut is wanted, because I need to start QGIS using qgis-ltr.bat, which I edited to adapt to our company SDI environment.
comment:4 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 1.1.1-1 (https://github.com/jef-n/OSGeo4W/commit/06129db99426)
The shortcuts are created by the packages - each package has to respect the setting of OSGEO4W_DESKTOP_LINKS / OSGEO4W_MENU_LINKS and place the shortcut into and OSGEO4W_DESKTOP / OSGEO4W_STARTMENU. Which don't? I suppose GRASS or very old ones. In testing that cruft should be gone.