WineHQ

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

RE: Working in Ubuntu Intrepid 8.10
by theLured on Saturday March 21st 2009, 11:03
I get this error after I run an update. During the update I also get an error #2120.
I recently realized that #2120 means that I am in the wrong directory. So to solve the #5118 error, we need to solve #2120.
You will have to remove your Rosetta with the #5118 error, so you have a clean-ish install.
after installing Rosetta, copy the update into ~/.wine/drive_c/Program Files/Rosetta Stone/Rosetta Stone V3
DON'T RUN IT.
WARNING: This might mess up you wine. I'm no windows expert, but we have to change the temporary directories, will change back after.

Run regedit and go to
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment
change both TMP and TEMP
from C:\windows\temp
to C:\Program Files\Rosetta Stone\Rosetta Stone V3

close regedit
cd to ~/.wine/drive_c/Program Files/Rosetta Stone/Rosetta Stone V3
run the update and you should get no errors. At the end, rosetta might launch a blank screen. Just close it and run
wine RosettaStoneVersion3.exe

load up regedit and go to
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment

change TMP and TEMP back to C:\windows\temp

Your Rosetta should work now. I just experimented a bit and found this solution.
RE: Working in Ubuntu Intrepid 8.10
by theLured on Saturday March 21st 2009, 11:19
I forgot to say. It might be best to close all wine programs when the registry value has been changed.
Your Rosetta stone folder might get a bit messy with some temporary files from the install, but it doesn't really matter too much.