Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#694 closed defect (wontfix)

qgis-ltr-bin.exe always recreate "QGIS Desktop 3.16.11" shortcut

Reported by: nicogodet Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description

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 (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
  2. Delete (or move away) all shortcuts
  3. Launch qgis-ltr-bin.exe
  4. See the shortcut coming back

Change History (2)

comment:1 by jef, 3 years ago

Resolution: wontfix
Status: newclosed

That's intentional and needed for pinning, but you can configure it's name with QGIS_WIN_APP_NAME (like in postinstall-desktop.bat)

comment:2 by nicogodet, 3 years ago

Thanks !

call "%OSGEO4W_ROOT%\bin\qgis-ltr.bat" --postinstall

is also necessary to modify .env file.

Note: See TracTickets for help on using tickets.