[Wine] Wine + Windows Partition + Registry

Declan Moriarty junk_mail at iol.ie
Wed Feb 14 03:41:34 CST 2007


On Wed, 2007-02-14 at 01:48 +0000, Jim Stapleton wrote:
> 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 have managed this sort of thing with regedit /export in XP and
regedit/import in wine.
The result wasn't perfect.  I got caught on these long  digit keys
various programs wanted. A better way to go at it might be to search the
installation for some file of registry keys (usually lying around)

-- 
Declan Moriarty <junk_mail at iol.ie>




More information about the wine-users mailing list