[Bug 11797] New: .lnk files not relocatable
http://bugs.winehq.org/show_bug.cgi?id=11797 Summary: .lnk files not relocatable Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com http://www.winehq.org/pipermail/wine-users/2008-March/029362.html discusses the use case where a user wants to install a bunch of apps, then move .wine somewhere else. This works except that .lnk files have absolute Linux paths in them. Perhaps .lnk files should be Windows paths only, to allow for this sort of relocation? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-03-01 10:19:53 --- A sample file will be helpfull! Can provide one? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #2 from alfredo <software(a)zas.gwz-berlin.de> 2008-03-05 00:59:15 --- Created an attachment (id=11118) --> (http://bugs.winehq.org/attachment.cgi?id=11118) example of linux file/dirnames in a windows .lnk file -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 alfredo <software(a)zas.gwz-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |software(a)zas.gwz-berlin.de --- Comment #3 from alfredo <software(a)zas.gwz-berlin.de> 2008-03-05 01:01:37 --- Here is an example .lnk. You can see the entries db and .msts-test. /home/db is the linux homedir, .msts-test the wine installation directory. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-03-07 23:03:19 --- And where do you see UNIX paths there??? Closing invalid Location -------- Total size = 104 Header size = 28 Flags = 00000001 Volume ofs = 0000001c size 17 type 3 serial 00000000 label 16 ("") LocalPath ofs = 0000002d ("C:\Programme\Microsoft Games\Train Simulator\LAUNCHER.EXE") Net Path ofs = 00000000 Final Path = 00000067 ("") Description : Working directory : C:\Programme\Microsoft Games\Train Simulator Arguments : -rungame Icon path : C:\Programme\Microsoft Games\Train Simulator\LAUNCHER.EXE Done dumping TrainSimulator.lnk -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2008-03-08 08:25:35 --- I see Unix paths when I use 'strings' on the .lnk file, so I believed the original report. But now when I try reproducing the real problem, e.g. install iTunes mv .wine .wine-foo WINEPREFIX=$HOME/.wine-foo wine-git/programs/start/start Desktop/iTunes.lnk it works just fine. So perhaps the original poster failed to set WINEPREFIX. The only remaining truth to this bug report is that strings shows fragments of Unix paths in .lnk files. Sorry for the noise! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-03-08 11:04:08 --- (In reply to comment #5)
The only remaining truth to this bug report is that strings shows fragments of Unix paths in .lnk files.
winedump is able to decipher/print the contents of .lnk files, so it may be used to try figure out why you see them. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #7 from alfredo <software(a)zas.gwz-berlin.de> 2008-03-08 14:05:26 --- (In reply to comment #0)
http://www.winehq.org/pipermail/wine-users/2008-March/029362.html discusses the use case where a user wants to install a bunch of apps, then move .wine somewhere else. This works except that .lnk files have absolute Linux paths in them. Perhaps .lnk files should be Windows paths only, to allow for this sort of relocation?
(In reply to comment #6)
(In reply to comment #5)
The only remaining truth to this bug report is that strings shows fragments of Unix paths in .lnk files.
winedump is able to decipher/print the contents of .lnk files, so it may be used to try figure out why you see them.
I havn't forget to set WINEPREFIX. After installation a haved moved the winedir to a new name. Starting the application gives me the error! Then i have patched the winedir name in the lnk file (only one char twice) with emacs and rerun the app. Now it work again. Could be that it is application depending. I don't know why the lnk file was used in my case. I'm calling the simulator exe direct, but something in the application needs (or calls) the lnk file. The fragments (are not really fragments) are important for this program - maybe others (the most?) without looking at lnk files. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #8 from Dan Kegel <dank(a)kegel.com> 2008-03-08 16:39:21 --- So, the app you're trying to relocate is Microsoft Train Simulator? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 --- Comment #9 from alfredo <software(a)zas.gwz-berlin.de> 2008-03-08 23:44:44 --- (In reply to comment #8)
So, the app you're trying to relocate is Microsoft Train Simulator?
Yes, it is. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11797 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org