Winetricks problems

Questions about Wine on macOS.
Locked
stellarwave
Newbie
Newbie
Posts: 4
Joined: Tue Jul 23, 2013 9:51 pm

Winetricks problems

Post by stellarwave »

Obviously new to this. Followed the tutorial at http://www.davidbaumgold.com/tutorials/wine-mac/ to install and am apparently running wine-1.6 with winetricks 20130707...not a commercial build.
Trying to install Occult4 ( http://appdb.winehq.org/objectManager.p ... n&iId=9592 ) by running 'wine setup.exe' but encountering an error claiming it needs Internet Explorer 5.x or newer before being able to proceed. Granted, I do have the installation file in local path USERNAME/Documents/Occult4.0 but I'm able to access that via the Terminal just fine.
Attempts to use winetricks to install fakeie6 or ie7 always yields the following:
"wine cmd.exe /c echo '%ProgramFiles%' returned unexpanded string '%ProgramFiles%' ... can be caused a corrupt wineprefix, an old wine, or by not owning /Users/USERNAME/.wine"
Yes, I have read the posts concerning this very same error with various points to read the sticky at the top of the forum. Considering that I am able to run Iris ( http://appdb.winehq.org/objectManager.p ... n&iId=1406 ) from a different path without a problem, my suspicion is that I am not dealing with an old wine.
I do find it odd that I cannot find the local path /Users/USERNAME/.wine (where, yes...USERNAME is correctly identified on my system, and not actually USERNAME)...so perhaps that needs correcting? which wine yields /opt/local/bin/wine? Then again, perhaps winetricks needs to be uninstalled and reinstalled?
Just looking for a bone to help out. Please be as specific as you can in responding.
Thanks...
stellarwave
Newbie
Newbie
Posts: 4
Joined: Tue Jul 23, 2013 9:51 pm

Re: Winetricks problems

Post by stellarwave »

OK...some progress made. After making the following changes:
regedit
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment]
"ProgramFiles"="C:\\Program Files"
"SystemDrive"="C:"
was able to execute 'winetricks ie7' returning the following code:Executing w_do_call ie7
Executing load_ie7
grep: /Users/USERNAME/.wine/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe: No such file or directory
Using native,builtin override for following DLLs: iexplore.exe itircl itss jscript mshtml msimtf shdoclc shdocvw shlwapi urlmon xmllite
Executing winetricks_early_wine regedit C:\windows\Temp\_ie7\override-dll.reg
Using builtin override for following DLLs: updspapi
Executing winetricks_early_wine regedit C:\windows\Temp\_ie7\override-dll.reg
Executing mkdir -p /Users/USERNAME/Library/Caches/winetricks/ie7
Downloading http://winezeug.googlecode.com/svn/trun ... netest.cat to /Users/USERNAME/Library/Caches/winetricks/ie7
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 448 100 448 0 0 1059 0 --:--:-- --:--:-- --:--:-- 10666
Executing cp -f /Users/USERNAME/Library/Caches/winetricks/ie7/winetest.cat /Users/USERNAME/.wine/dosdevices/c:/windows/system32/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}/oem0.cat
Downloading http://download.microsoft.com/download/ ... 86-enu.exe to /Users/USERNAME/Library/Caches/winetricks/ie7
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14.7M 100 14.7M 0 0 1389k 0 0:00:10 0:00:10 --:--:-- 1163k
------------------------------------------------------
Working around wine bug 21947
------------------------------------------------------
fixme:clusapi:GetNodeClusterState ((null),0x33ec44) stub!
------------------------------------------------------
To start ie7, use the command wine 'C:\Program Files\Internet Explorer\iexplore'
------------------------------------------------------
------------------------------------------------------
ie7 install completed, but installed file /Users/USERNAME/.wine/dosdevices/c:/windows/ie7.log not found
------------------------------------------------------

Trying to follow the instructions given of entering command "wine 'C:\Program Files\Internet Explorer\iexplore'" yields wine: cannot find L"C:\\windows\\system32\\ie7.exe"

So...now I'm wondering what next to do? If you know, feel free to enlighten me, otherwise I'll continue logging my progress here.
Cheers...
lzh1104
Newbie
Newbie
Posts: 2
Joined: Wed Jul 31, 2013 10:35 pm

Re: Winetricks problems

Post by lzh1104 »

mv ~/.wine ~/.wine-backup
winetricks
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: Winetricks problems

Post by Maexel »

Hi stellarwave,

I've encountered once a similar problem where under .wine -- drive_c -- Program Files not a folder of Internet Explorer was shown. Why it wasn't shown there and within the program iexplore.exe neither, I couldnt figure out.
It seemed that during first configuration of .wine occurred an error where there hasn't been processed a fully set up, my guess. So what I've done, was deleting .wine folder and and run winecfg again to set up .wine again. On the second turn, iexplorer (folder and program) was correctly set up (Wine building form source, comes normally with an iexplorer).
Just make sure, that you don't already have tons of programs installed under .wine. Otherwise, rename it, so you don't have to do all the installation again :wink: .

Cheers mate,
Maexel
Locked