re: TMG -- MS Visual Foxpro errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-02-10 at 10:43 -0500, donbnfborn at aol.com wrote:
I'd like very much to be able to run "The Master Genealogist" under
Wine.  TMG is a MS Visual Foxpro application for genealogy database
work.

The install errors/warnings can all be ignored.
You need native DCOM for it to run, though,
else you run into that exception.  Don't listen
to the guy who said vfp7 is buggy; that's not
the problem here.
There are many ways to install native DCOM;
http://wiki.winehq.org/NativeDcom describes one way.
Installing ie6 also installs DCOM, btw.

You can stop reading right here, the rest of this message is for wine
developers.

I verified that this works just now; here's a
script that proves it works.  (The script refuses
to run if you already have a .wine directory;
that's just a precaution.)

#!/bin/sh
# Demo of how to install The Master Genealogist
set -x

WINE=wine
WINECFG=winecfg

# Make sure we have a virgin .wine dir
if test -d ~/.wine
then
  echo Please remove your ~/.wine directory.  Only do this if you
have nothing there you care about.
  exit 1
fi

# Download the trial
if ! test -f tmg6setup.exe
then
  wget http://www.whollygenes.com/files/tmg6setup.exe
fi

# Install native dcom per http://wiki.winehq.org/NativeDcom
# to avoid http://bugs.winehq.org/show_bug.cgi?id=4228
if ! test -f DCOM98.EXE
then
  echo Download DCOM98.EXE from microsoft.com/com
  exit 1
fi
echo Pick win98 so we can install native dcom
$WINECFG
rm ~/.wine/drive_c/windows/system32/ole32.dll
rm ~/.wine/drive_c/windows/system32/oleaut32.dll
WINEDLLOVERRIDES="ole32=n" wine-git/wine DCOM98.EXE

# Install it.  Ignore the errors about keyboard.dll, win32k.sys, and wpty.dll.

$WINE tmg6setup.exe

# Wait a bit... this doesn't seem to work if you do it immediately
after the install finishes?
sleep 5

# Finally, run it, being careful to override to get native DCOM.
# You could also set those overrides in winecfg
WINEDLLOVERRIDES=ole32,oleaut32,rpcrt4=n $WINE ".wine/drive_c/Program
Files/The Master Genealogist/tmg.exe"



--
Wine for Windows ISVs: http://kegel.com/wine/isv

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux