LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2004, 03:07 PM   #1
dummoi
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Redhat9
Posts: 31

Rep: Reputation: 15
wine


When I try to run a program using wine, I receive the following error:


Invalid path L"C:\\windows" for L"windows" directory: does not exist.
Perhaps you have not properly edited your Wine configuration file (/home/dieter/.wine/config)
dieter@dieter:~$


I can't find anything strange in my config file. Here is a part of it.



WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'

[Drive C]
"Path" = "/home/dieter/c"
"Type" = "hd"

[Drive E]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Device" = "/dev/hdc"

[Drive F]
"Path" = "/mnt/dvdr0"
"Type" = "cdrom"
"Device" = "/dev/hdd"

[wine]
"Windows" = "C:\\windows"
"System" = "C:\\windows\\system"
"Temp" = "C:\\windows\\temp"
"Path" = "C:\\windows;c:\\windows\\system"
"Profile" = "C:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"
....



thx, dummoi
 
Old 06-03-2004, 11:17 PM   #2
jamckon
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
I recently upgraded to the latest version of Wine as of June third, and was unfortunate enough to have a similar problem. If you use the configuration utility that comes with the Wine Distribution, and decide to have it create a "fake_windows_directory" (or whatever you decide to call it) then it will be created by default in ~/.wine/fake_windows_directory/Windows/.

The difference between what your configuration file points to and what I assume to be your actual directory is only a capitalization error.
I'm not positive since I do not know the contents of your /home/dieter/c, but you might try making..

[wine]
"Windows" = "C:\\windows"
"System" = "C:\\windows\\system"
"Temp" = "C:\\windows\\temp"
"Path" = "C:\\windows;c:\\windows\\system"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "C:\\Windows\\temp"
"Path" = "C:\\Windows;c:\\Windows\\System"

I hope this helps.
 
Old 06-13-2004, 09:16 AM   #3
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Code:
[perry@localhost winetmp-perry]$ wine
Invalid path L"H:\\" for L"temp" directory: does not exist.
Perhaps you have not properly edited your Wine configuration file (/home/perry/.wine/config)
i did what you said, changing the temp from L"H:\\" to L"C:\\winnt\\temp" and it seemed to nail the problem

i ran wine again and it gave me the following:

Code:
[perry@localhost winetmp-perry]$ ls /mnt/win_c/winnt/temp
engsetup.log*  old56.tmp*  old5.tmp*  old9.tmp*   oldc9.tmp*  olde.tmp*
_istmp2.dir/   old57.tmp*  old6.tmp*  oldc8.tmp*  oldc.tmp*
[perry@localhost winetmp-perry]$ wine
Converted drive type to new entry HKLM\Software\Wine\Drives "A:" = L"floppy"
Converted drive type to new entry HKLM\Software\Wine\Drives "C:" = L"hd"
Converted drive type to new entry HKLM\Software\Wine\Drives "D:" = L"hd"
Converted drive type to new entry HKLM\Software\Wine\Drives "E:" = L"hd"
Converted drive type to new entry HKLM\Software\Wine\Drives "F:" = L"cdrom"
Converted drive type to new entry HKLM\Software\Wine\Drives "G:" = L"network"
Converted drive type to new entry HKLM\Software\Wine\Drives "H:" = L"hd"
Wine 20040505
 
Usage: wine [options] [--] program_name [arguments]
The -- has to be used if you specify arguments (of the program)
 
Options:
   --debugmsg name  No longer supported, use the WINEDEBUG variable instead
   --help,-h        Show this help message
   --version,-v     Display the Wine version
[perry@localhost winetmp-perry]$
i'm assuming this means it works, thanks much

- perry
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
wine [wine] config detailed settings...directory paths... breezewax Linux - Software 2 10-19-2004 06:15 PM
wine: chdir to /tmp/.wine-tom/server-306-33fca : No such file or directory Kinstonian Linux - Software 19 06-21-2003 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration