[Osgeo4w-trac] [osgeo4w] #300: apt misses menu and desktop link variables in postinstall

OSGeo4W trac_osgeo4w at osgeo.org
Tue Jul 10 15:08:05 PDT 2012


#300: apt misses menu and desktop link variables in postinstall
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:          |    Keywords:  pkg-apt                    
-------------------+--------------------------------------------------------
 Apt doesn't know about the `%OSGEO4W_MENU_LINKS%` and
 `%OSGEO4W_DESKTOP_LINKS%` variables introduced in setup.exe v1.0.6-5 (see
 [wiki:PackagingInstructions#CreatingShortcuts]).

 With the qgis-dev package this manifests with a `mkdir was unexpected at
 this time.` error message
 at the console during postinstall phase, consequently the Start Menu
 and Desktop shortcuts are not created, nor are the relevant registry
 entries created/updated.

 {{{
 installing qgis-dev 1.9.0-18

 B:\o4w>textreplace -std -t bin\qgis-dev.bat

 B:\o4w>textreplace -std -t bin\qgis-dev-browser.bat
 mkdir was unexpected at this time.
 B:\o4w>if not ==0 mkdir "C:\ProgramData\Microsoft\Windows\Start
 Menu\Programs\OSGeo4W"
 Post_install complete, return code 255
 }}}

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


More information about the Osgeo4w-trac mailing list