[Wine] Wine + Windows Partition + Registry

Jim Stapleton stapleton.41 at gmail.com
Tue Feb 13 19:48:48 CST 2007


I have a windows partition (XP), with a few applications I'd like to
run on it while in BSD:
Microsoft Office XP (for the occasional doc that OO doesn't like)
Corel Photopaint 9 or X3
Trillian (not needed but would be nice)
and a few games.


The games run fine, pretty much like in windows, but they have fewer
directx errors and crashes :-)

Office gets annoyed when I open winword.exe in wine, it says that
office hasn't been installed for this user. I figured it was some
registry goof, and I could probably fix it. My first attempt involved
booting windows, saving the registry (.reg), then reopening it in
notepad and saving it as ASCII as the default is unicode. I rebooted
back into BSD, mounted the windows partition to /data/wine/drive_c and
did:
$ cat /data/wine/drive_c/registry_dump.reg | sed -e 's/\\/\\\\/g' >
/data/wine/win_reg_dump.reg

Next I moved all the default wine .reg files in it's base directory to
the same file name, but prepended with "_", and moved
/data/wine/wine_reg_dump.reg with system.reg

When I ran wine, it recreated the defaults, and overwrote the
system.reg file made from wine_reg_dump


Anyone have a good way to fix this not involving crossover? Possibly
an application that takes a windows registry save, ascii, and converts
it to a wine registry file, and/or merges the two?

I suspect this would fix the CorelDraw problem as well, it complains
of a few missing registry keys.

Thanks,
-JIm Stapleton



More information about the wine-users mailing list