[Osgeo4w-trac] Re: [osgeo4w] #52: pkg-apt: handle Start Menu &
Desktop links
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Feb 9 14:44:12 EST 2010
#52: pkg-apt: handle Start Menu & Desktop links
------------------------+---------------------------------------------------
Reporter: maphew | Owner: maphew
Type: enhancement | Status: assigned
Priority: major | Component: Installer
Version: | Resolution:
Keywords: apt |
------------------------+---------------------------------------------------
Changes (by maphew):
* status: new => assigned
Comment:
This is the apt correspendent for ticket #21 "support for localized start
menu".
One solution is to use `win32com`, but that is a big dependancy to add.
{{{
from win32com.shell import shell
shell.SHGetSpecialFolderPath(0,shellcon.CSIDL_COMMON_STARTMENU)
}}}
-- http://stackoverflow.com/questions/2216173/how-to-get-path-of-start-
menus-programs-directory
An alternate solution using ctypes was suggested by Luke Pinner of
Australia, but I don't know yet if it will work on localized systems. Can
I get some testers to run the attached script?
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/52#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list