Problem access a directory

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
VegasSam
Newbie
Newbie
Posts: 3
Joined: Tue Mar 11, 2008 9:33 pm

Problem access a directory

Post by VegasSam »

I am trying to get ListPro from Ilium Software to register.
According to their tech support, it needs to write a file out to
C:\Documents and Settings\All Users\Application Data\Ilium Software\ListPro

However, the error the program gives is "Registation Information could not be saved".
I created the directory within the drive_c directory. I have also verified the spelling of the sub directories.. and made sure that user is the owner and everybody had read/write permissions for each subdirectory.

I know that capitalization in the name of the directories is important because if I use a lower case letter when typing out the full path, I get a "Path not found" error. So even though it is emulating Windows, the path name capitalization is important.

I am not a UNIX jock by any means and have limited WINE knowledge....

Is there a way to trace what the full path name the program is trying to access?
Any other sugggestions?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problem access a directory

Post by vitamin »

VegasSam wrote:I am trying to get ListPro from Ilium Software to register.
According to their tech support, it needs to write a file out to
C:\Documents and Settings\All Users\Application Data\Ilium Software\ListPro

However, the error the program gives is "Registation Information could not be saved".
I created the directory within the drive_c directory. I have also verified the spelling of the sub directories.. and made sure that user is the owner and everybody had read/write permissions for each subdirectory.

I know that capitalization in the name of the directories is important because if I use a lower case letter when typing out the full path, I get a "Path not found" error. So even though it is emulating Windows, the path name capitalization is important.

I am not a UNIX jock by any means and have limited WINE knowledge....

Is there a way to trace what the full path name the program is trying to access?
Any other sugggestions?
That directory should be automatically created by Wine and then the program's installer. Why are you creating it yourself? Did you actually installed this program properly on Wine? Are there are any messages in the terminal when you running this program? If so - attach here.
Dan Kegel

Problem access a directory

Post by Dan Kegel »

On Tue, Mar 11, 2008 at 8:10 PM, VegasSam <[email protected]> wrote:
Is there a way to trace what the full path name the program is trying to access?
Yes. Run it with
WINEDEBUG=+file wine foo.exe > log.txt 2>&1
then look at log.txt. It will list all the files the app tried to use.
VegasSam
Newbie
Newbie
Posts: 3
Joined: Tue Mar 11, 2008 9:33 pm

Post by VegasSam »

to vitamin:

the installer would not run because it gave an error complaining about an unsupported call trying to prep the directory (IIRC) where the install was to take place. So I created the environment using the info from my windows PC. (I KNOW....) but I have done this before with ListPro and with others of their products w/o trouble.

I runs fine from wine. I can load, modify, and save data files. I only get the normal complaints from wine when it runs...

err:x11drv:X11DRV_CreateWindow invalid window height -2147483648
fixme:win:EnumDisplayDevicesW ((null),0,0x33e520,0x00000000), stub!

thats it.

Dan: here is the results - just the part where I trry to save the reg data -
trace:file:GetFileAttributesW L"c:\\windows\\profiles\\All Users\\Application Data"
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\profiles\\All Users\\Application Data",0x33d4f4,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\profiles\\All Users\\Application Data" 520 0x33d268 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\profiles\\All Users\\Application Data" -> "/home/user/.wine/dosdevices/c:/windows/profiles/All Users/Application Data"
trace:file:RtlGetFullPathName_U (L"c:\\windows\\profiles\\All Users\\Application Data\\Ilium Software\\ListPro\\Global.ini" 520 0x33d898 0x33dcb4)
trace:file:CreateFileW L"C:\\windows\\profiles\\All Users\\Application Data\\Ilium Software\\ListPro\\Global.ini" GENERIC_READ FILE_SHARE_READ creation 3 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\windows\\profiles\\All Users\\Application Data\\Ilium Software\\ListPro\\Global.ini",0x33d7dc,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\profiles\\All Users\\Application Data\\Ilium Software\\ListPro\\Global.ini" 520 0x33d540 (nil))
warn:file:wine_nt_to_unix_file_name L"ListPro\\Global.ini" not found in /home/user/.wine/dosdevices/c:/windows/profiles/All Users/Application Data/Ilium Software
warn:file:CreateFileW Unable to create file L"C:\\windows\\profiles\\All Users\\Application Data\\Ilium Software\\ListPro\\Global.ini" (status c000003a)
trace:file:CreateFileW returning 0xffffffff
VegasSam
Newbie
Newbie
Posts: 3
Joined: Tue Mar 11, 2008 9:33 pm

Post by VegasSam »

THANKS DAN... saw the problem (needed to have subdirs under windows/profiles) and fixed it... ALL working now!!!!
rgeorg
Newbie
Newbie
Posts: 3
Joined: Thu May 15, 2008 3:43 am

Post by rgeorg »

VegasSam,
I am new to Linux and Wine, I use ListPro (WIN) all the time and would like to install it under Wine. I would greatly appreciate it if you could summarize the steps you had to take to properly install/run ListPro under Wine (we'll just assume that I get Wine installed correctly ;-).

For example, what additional directories and associated permissions did you create? Any other advice?

I would assume that the install steps are to (I'll adjust exact dir names as needed - don't have Linux notes in front of me):
1. Copy the listprope-p-setup.exe file to the "wine C-drive" directory
2. Command line: wine "c:\listprope-p-setup.exe"

Thank you very much!
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Problem access a directory

Post by DanKegel »

On Thu, May 15, 2008 at 2:08 AM, rgeorg <[email protected]> wrote:
I am new to Linux and Wine, I use ListPro (WIN) all the time
and would like to install it under Wine. ...

I would assume that the install steps are ...
1. Copy the listprope-p-setup.exe file to the "wine C-drive" directory
2. Command line: wine "c:\listprope-p-setup.exe"
http://wiki.winehq.org/FAQ
says just doubleclick on the setup file (Listpro-Wine-Setup.exe)
or do "wine Listpro-Wine-Setup.exe" in whatever directory it's in.
You don't have to have it in c:\, normally, wine can see your home
directory just fine.

The app runs ok; a few quirks:
1. help is not really usable
2. mouse cursor disappears when hovering over a link
3. clicking on a link to a remote list file does download it ok,
but doesn't automatically open it in ListPro. I got it to open in
a new ListPro by writing a little script,

#!/bin/sh
cd "$HOME/.wine/drive_c/Program Files/Ilium Software/ListPro"
wine ListPro "$@"

I saved this as ~/bin/listpro, did 'chmod +x ~/bin/listpro', and was then
able to specify that to Firefox as what to open the list with; it opened
ok.

- Dan
rgeorg
Newbie
Newbie
Posts: 3
Joined: Thu May 15, 2008 3:43 am

Post by rgeorg »

Dan,
Thank you for your fast and detailed reply. I'll give it a try this weekend.
Reba
rgeorg
Newbie
Newbie
Posts: 3
Joined: Thu May 15, 2008 3:43 am

Success

Post by rgeorg »

Thanks for the help - was a breeze to install and works exactly as you describe!!
Locked