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
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@iol.ie>
> Better way to first try to install under Wine and see if it works. > Then (and only then) you may try to bypass installation if > program doesn't work without installing (that is, have some > stupid registry keys that cannot be created at startup of the > software because of stupidity of its developers). You may also > want to monitor what files programs create, change or use > under Windows. To do this, run VMWare or QEmu with clean > Windows...The reason I'm doing this instead of straight wine is because the three programs I mentioned /do/ fail to install.
---------- Forwarded message ---------- From: John Drescher <drescherjm@gmail.com> Date: Feb 14, 2007 9:21 AM Subject: Re: [Wine] Wine + Windows Partition + Registry To: Jim Stapleton <stapleton.41@gmail.com>>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.In regedit in winodws XP save it as NT4 compatible .reg which should be ASCII. John -- John M. Drescher