[osgeo4w-dev] [osgeo4w] #694: qgis-ltr-bin.exe always recreate "QGIS Desktop 3.16.11" shortcut

OSGeo4W trac_osgeo4w at osgeo.org
Sun Oct 3 09:31:44 PDT 2021


#694: qgis-ltr-bin.exe always recreate "QGIS Desktop 3.16.11" shortcut
----------------------+---------------------------
Reporter:  nicogodet  |      Owner:  osgeo4w-dev@…
    Type:  defect     |     Status:  new
Priority:  major      |  Component:  Package
 Version:             |   Keywords:
----------------------+---------------------------
 = Context =
 I'm currently creating a custom package for my company using
 https://github.com/haubourg/custom-osgeo4w-qgis.

 During postinstall script of custom package, all shortcuts created by
 qgis-ltr.bat postinstall are removed and replaced by a custom shortcut
 ([https://github.com/haubourg/custom-osgeo4w-
 qgis/blob/e95f14e29c7d1cb75f48b4269465587643635fa3/qgis-
 custom/etc/postinstall/qgis-custom.bat see here]).

 = Issue =
 When `qgis-ltr-bin.exe` is executed, it recreates the initial shortcut.
 Which I don't want as it will confuse users.

 = How to reproduce =

 1. Go to QGIS Windows Menu folder
 1. Delete (or move away) all shortcuts
 1. Launch `qgis-ltr-bin.exe`
 1. See the shortcut coming back

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/694>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list