http://bugs.winehq.org/show_bug.cgi?id=11062
Summary: CSLU toolkit doesn't create menus when you run its setup.bat Product: Wine Version: CVS/GIT Platform: Other URL: http://www.cslu.ogi.edu/toolkit/ OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The CSLU toolkit installer is a complex thing that downloads all sorts of stuff. When it finishes, c:\program files\cslu seems to be there ok. Inside that directory is a setup.bat that creates start menu entries. Running that batch file with wine start setup.bat does indeed create .lnk files in c:/windows/profiles/All Users/Start Menu/CSLU Toolkit but no menu entries are created in ~/.local/share/applications/wine. Running WINEDEBUG=+shell,+menubuilder,+process wine cmd /c setup.bat I see trace:shell:StartLinkProcessor starting L"winemenubuilder.exe -w "RAD.lnk"" ... warn:menubuilder:InvokeShellLinker Unknown link location L"C:\windows\profiles\ALL_~DGY\STAR~DZT\CSLU Toolkit\RAD.lnk". Ignoring.
GetLinkLocation calls GetFullPathNameW() to get the full path, but it also needs to call GetLongPathNameW(), or the names won't match its hardcoded list of allowed locations.
I'll submit a patch that fixes this.