[Wine] Cannot run Win16 installer for Judaic Classics

L. Rahyen research at science.su
Tue Feb 3 04:17:05 CST 2009


On 2009-02-03 (Tuesday) 08:24:55 onecoolcouple wrote:
> Is there an easy way to find out what files the program accesses or tries
> to access when it runs under Wine

	Yes. There is many ways to do this. One of them is to run your program like 
this:

WINEDEBUG=+file wine notepad

	Obviously, instead of "notepad" you should use name of your program. You can 
use grep to filter for particular pattern (for example, if you interested 
only in files with .txt extension you can run this command:

WINEDEBUG=+file wine notepad | grep -i .txt

	Alternatively you can use strace. For example (this command will work in 
zsh):

strace wine notepad |& grep -i .txt

	If you are using bash you can use this command instead:

strace wine notepad 2>&1| grep -i .txt

	You should use grep to filter strace output to see only things you interested 
in: for example extension, path (full or partial) or file related operations 
(for example "grep -i stat64\(" or "grep -i open\("). I suggest you to play 
with notepad to understand how it works then try it with your program.



More information about the wine-users mailing list