The Master Genealogist 7 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

The Master Genealogist 7.04 with Crossover 9.0.1 in Linux Mint9

To install TMG704 in Crossover 9, Linux.
This is tested in Crossover 9.0.1 in Linux Mint9 which is based on Ubuntu 10.04

In Crossover 9.0x create bootle called TMG704

Install Internet Explorer 7 without the Malicious Software trap - just say No
Install Corefonts
Install Visual Basic Service Pack 6
Install MSXML Parser 3
Install MSXML Parser 6
Install msls 3.1
Install Win Scripting 5.6 JScript only
Install Win Scripting 5.6 VBScriot only
(All of the above may not be needed but it works.)

Obtain a copy of tahoma.exe which will install this font.
Install tahoma fonts from Cx Unsupported Application>Other Application.
(I have not tried it but I have heard that you can use other fonts by alterning apps.ini see http://appdb.winehq.org/objectManager.php?sClass=version&iId=10500. It does work try finding ~/.cxoffice/TMG704/drive_c/users/crossover/Application Data/The Master Genealogist v7/app.ini and alter [Fonts]

ListFontName=Tahoma so that Tahoma reads Impact. You will see the effect of using an unusual Linux font at once. Probably there are better fonts to choose for actual work. Note if you install tmg for multiple users app.ini will be elsewhere. The copy in the Program Files is not used so don't alter it.)
It may be required to install windings fonts, that used to be the case with cx 7 but it seems OK without in cx 9, I'm not sure.

Download Winetricks save in dir ~/winetricks
In a terminal run:
cd ~/winetricks
env WINEPREFIX=/home/ian/.cxoffice/TMG704 sh winetricks
a menu will appear, there will be some error message so exit and repeat the above command 2 more times which will sort most of these.
Select from the menu dcom98 and install this. (You cannot install this in Crossover directly as it generates a message saying that a later version is installed.) (It may be necessary to install gdiplus too, I am not sure.)

    Copy tmg704uksetup.exe (or other language version of TMG) to home directory. In Crossover, open Manage Bottles and head to TMG704 bottle, Control Panel>Wine Configuration. Under Applications click Add Application & navigate to tmg704uksetup.exe and open. Then set it to install as Win98 (not the default WinXP).   
    Now install tmg704setup.exe as an unsupported application. If you look at the Debug log you may find an error relating to WPTY.DLL if so look in the ~/.cxoffice/TestTMG704InstalNew/dosdevices/c:/Program Files/The Master Genealogist v7/wordproc/ and make a copy of this is /home/ian/.cxoffice/TestTMG704InstalNew/dosdevices/c:/windows/system32.  Then reinstall tmg704setup.exe. The reinstallation sorts out some missing file issues like that related to WPTY.DLL.

Here are some of the errors which you may see and what I think they might mean.
If dcom98 is not installed correctly you will error messages related to KEYBOARD.DLL like "Could not load 'KEYBOARD.DLL' required by 'IINSC', error=2" in the tmgsetup.exe installation log.
You can ignore errors related to cxreboot like "err:cxreboot:Execute_CommandList FAILED to delete key with error 2".
I get a few error like related to menubuilder like "err:menubuilder:WinMain unknown option -r". They do not seem to be of any consequence, and I do not know what they mean.

At the end of all this here is what I have installed in crossover when I look at Mannage Bottles>Applications tab:
Crossover HTML engine
MS Visual Basic 6 SP runtime
MS Visual C++ 6.0 Redistrib
MS XML Parser
MS XMS Parser 3.0
msls31
The Master Genealogist (for ian) NB I installed for myself as the only user.
Win OLE components
Win Script 5.6 (JScript only)
Win Script 5.6 (VBScript only)
Various true type fonts: NB tahoma does not show on this list even though it is installed in z:/usr/share/wine/fonts and z: is / in my default cx config. So it is in /usr/share/wine/fonts. I found this very confusing to start with because I was looking for the fonts in the cx bottles not in a shared directory.

----------------------------------- This is optional ------------------------------------
Create the file below to tell TMG7 where the UserData will be held: (Make sure you use TMG v704 or later otherwise you will bet a backup problem.)
/home/ian/.cxoffice/TMG7/drive_c/Program Files/The Master Genealogist v7/Data_paths.txt to contain: (replace ian with your linux login name)
[ian]
SharedProgramData=C:\TMG7\SharedProgramData
UserProgramData=C:\TMG7\UserProgramData
UserData=C:\TMG7\UserData

You will find your projects etc in the TMG7 bottle in C:\TMG7\UserData or /home/ian/.cxoffice/TMG7/UserData.
This is not essential but it seems tidier than the default TMG7 behaviour of putting it in my "My Documents\The Master Genealogist v7" application data. I always backup the TMG7 data file on exit to somewhere outside of the bottle for safe keeping. You can read more about the the use of Data_paths.txt in the TMG7 user manual. (You can change C:zTMG7\UserProgramData to be some other directory, but I suggest that you read TMG7 help (search "User Data") before you do this.


Run TMG704 from whatever method you wish within crossover.

There are more details which may be relevant in http://appdb.winehq.org/objectManager.php?sClass=version&iId=10500. So far, I have found the Cx 9 does not require alterations to the version of Windows used for running Vcf.exe (used to be win98) and rrwrun.exe (used to be win3.1). I've not tested it too much yet, I usually use wine. But I have found to problems so far.
Also it used to be in cx 7 & 8 that fro tmg7.exe ole32, oleaut & rpcrt4 had to be set as (native, builtin). Gdiplus seems to have to be set (native. The deflault settings seem to work in cx 9 but you may like to experiment if things go wrong.

When you run tmg7.exe from the bottle I find these errors which do not seem to matter:
err:menubuilder:WinMain unknown option -r
err:ole:RevokeDragDrop invalid hwnd 0x10150 - errors like that occur when you quit tmg after the backup has been created.

Hi Ian,

Yow!...that's looks like a challenging subject for a c4p install recipe.
Thanks for the background info...I'll see if I can rattle a c4p together for
this app to ease the installation pain here...

Cheers!

Hi Dan,
I'm glad you have noticed this. I've added a few more details that may help and made some notes about error messages. I have also checked what apps are installed.
I've just read about these alpha c4ps. They sound interesting. Is there any more documentation on how to use them? I might have a go too.
Shortly I will check out SecondSite, I think 3 is latest version. It is much easier to install.
Kind wishes, Ian.

Hi,

For docs of c4p, have a look at ;

http://www.codeweavers.com/support/wiki/c4p_main

...and...

http://www.codeweavers.com/support/wiki/beginningc4ps

You also need to ask Aric for access to the c4p editor currently over
in the advocates forum in the following thread;

http://www.codeweavers.com/compatibility/advocate_center/forum/?t=1;msg=75306

There are also other links in that thread regarding examples - more
examples can be found in your existing crossover installation as well
in the 'crossover.c4p' file ...

If you need any other clues/pointers about c4p, just ask - I'm happy
to help others come to grips with the thing ;)

Cheers!

ps: I'll tap up the c4p for this title sometime over the coming weekend

Hi again Ian,

There you go -- I've loaded up a basic (and working) c4p recipe into the
C4P Editor for this app for you to have a play with -- you know the program
much better than I, so you might find some shortcomings in the setup that
I am unfamiliar with -- let me know what you might uncover in this regard.

Notes: The program itself opens fullscreen by default - I have setup the c4p
file to enable emulate a virtual desktop @ 1024x768 -- feel free to change this
if you believe people would -prefer- the thing to open fullscreen (or open in
a larger emulated desktop resolution).

I've left the install notes veritably at their most basic level -- feel free
to add to these notes if you feel there's more the enduser should know about
at installation time.

Hope this gives you a helping hand understanding c4p cooking -- it certainly
makes the whole installation process much more straightforward. If you have
any queries, or need help adding other bits, just post here...I'll be watching 8)

Cheers!

Hi Don,

I'm interested. Where do I find the c4p? I looked under Browse Apps By C4p but I could not see it.
Ian

Hi Ian,

Ahh..well..has Aric got around to approving your C4P editor access?
Possibly not...I know the Ninjas have been awfully busy of late -
I'll email you a copy of it directly (you can still test it/play
with it using your local crossover install)...let me know how
you get on with it...

Cheers!

Sorry for the delay, I have approved the c4p for you to work on.

Don
The tmg c4p seems to work fine. The only problem is the default Cx Desktop which does not allow the window to be full screen which is needed in TMG as there a lot of fine details to look at. I'm struggling with SecondSite3.202 which does not like crossover.
Thanks for access to c4p editor - it will take me time to get into this as I'm writing a dissertation at the moment on a v different topic.
Cheers,
Ian

Hi Ian,

Yep, no problem....like I say, you're much more familiar with the software than I.

To change that behavior you point out, click on the C4P Editor tab for this app.

Then click on 'Install Profile' -> 'Installation Profile'

Down near the bottom you will see the field 'Pre-Install Registry' -- you can
there change the resolution of the emulated desktop itself, or alternately, just
delete both those keys to have tmg open in fullscreen mode instead. Don't forget
to save any changes made (in the C4P Editor itself) before (re)downloading the
c4p file to check out the results.

Cheers!

Hi Don,

I do not see a C4P Editor tab where I would expect it on this page http://www.codeweavers.com/compatibility/browse/name/?app_id=874 even though I am logged on.
Should I be doing something else? Do I need to get additional advocate approval to do this?

Ian.

Hi Ian,

I just asked the Ninjas to enable it for you...should work now

Cheers!

Hi Don,
I'm learning to use the C4P system slowly I made one simple change to the installation comment and that worked ok.

Where do I find a list of C4ids like com.codeweavers.c4.1491 so that I can check what is going on.

Can I make a local copy of the C4P on my own computer so that I can test it before it goes on the crossover site? I think that I can make changes, then look at the Code tab and copy & paste into a local file. Will that work?

Kind wishes, Ian

Ian wrote:

Hi Don,
I'm learning to use the C4P system slowly I made one simple change
to the installation comment and that worked ok.

Hi Ian,

Yes, I did see your change...I was going to ask, is the UK version to be installed 'on top of' the US
version, or is the UK installer a separate in it's own right? (ie; you don't need the US install to use
the UK version...if this is the case, I may have found a glitche in the editor)

Ian wrote:

Where do I find a list of C4ids like com.codeweavers.c4.1491 so that
I can check what is going on.

The last 4 digits are the C4 app_id -- so you can go here;

http://www.codeweavers.com/compatibility/search/

..and search by app_id

Ian wrote:

Can I make a local copy of the C4P on my own computer so that I can
test it before it goes on the crossover site? I think that I can
make changes, then look at the Code tab and copy & paste into a
local file. Will that work?

Kind wishes, Ian

Absolutely....it's what I do here....I make a local c4p with just the obligatory fields
included and check it's functionality, then upload it into the c4p editor and carry out
any final adjusts using the C4P Editor.

Cheers!

Hi Don,
The UK version and US versions of TMG are completely free standing. They are the same program with some alteration to some of the data fields to accommodate the different ways that population data is held in the different countries. The user can make the changes themselves but it is much easier to have them done in advance by specialists. When installed as I suggested the UK version will just replace the US version. I am sure there is a more elegant way of doing this.

I have altered tmg704setup.exe to be run as Win98 which is needed for a proper install.

Removing the default desktop works just fine and is a lot faster at loading. Previously every time I loaded Cx Manager the default desktop appeared, even though it was not in the default bottle.

I have found the app_id as you suggest.

I see that the C4P is installing c4.1491 IE7, 6451 MSVis C++ 6.o Redist, and MS VBasic 6 SP6. However, at the end, before TMG installation is started, Cx tries to install IE6 and crossover gives messages that an earlier version of IE is installed. Should IE7 be installed after the two MS SPs?

I have been running the C4Ps locally just coding in a text editor which is fine.

Cheers, Ian.

Hi again,

...Umm...I believe by changing bottletype to win98 will cause that 'earlier version installed'
notification. You might have to use <installerwindowsversion> for that ..ie; the deps get
installed under winxp profile but the installer gets installed under win98 profile -- be warned,
I haven't tested that functionality down to it's nittygritty level....

Have a play with it locally though and let me know how you get on.

...there is a more elegant way to handle multiple locale installers...I might be wrong,
but I think 1491.c4p (IE7) demonstrates this aspect...

Cheers!

Don,
It will be ok. The bottle template is WinXP as it must be:
<bottletemplate>winxp</bottletemplate>
Only the install is done under win98 as:
<installerglob>tmg7setup.exe</installerglob>
<installerwinver>win98</installerwinver>

I think something like this would choose which to install based on locale. However, I would be happier for users to be able to choose which on the keyboard. I dont know how to get keyboard input into a variable.

<installprofile>
<useif>
<equal name="locale">UK</equal>
</useif>
<installnotes>I am about to install the UK version etc</installnotes>
<predependency></predependency>
<predependency></predependency>
...
<installglob>tmg7uksetup.exe</installglob>
</installprofile>
<installprofile>
<useif>
<not><equal name="locale">uk</equal></not>
</useif>
<installnotes>I am about to install the International/US version etc</installnotes>
<predependency></predependency>
<predependency></predependency>
...
<installglob>tmg7setup.exe</installglob>
</installprofile>

Ian

Hi,

With a properly setup c4p, ideally speaking the enduser shouldn't
have to choose the installer. If there are multiple localized installers,
the c4p should default to the locale detected on the machine it's being
run on. You use <downloadurl> for this is possible...(example from 4595.c4p);

<downloadurl>http://download.mozilla.org/?product=firefox-3.6.3&amp;os=win&amp;lang=en</downloadurl>
<downloadurl lang="af">http://download.mozilla.org/?product=firefox-3.6.3&amp;os=win&amp;lang=af</downloadurl>
<downloadurl lang="sq">http://download.mozilla.org/?product=firefox-3.6.3&amp;os=win&amp;lang=sq</downloadurl>
<downloadurl lang="ar">http://download.mozilla.org/?product=firefox-3.6.3&amp;os=win&amp;lang=ar</downloadurl>

Of course, a lot depends on the app itself (what localized versions are available),
and how these different files are made available (via the URL), but that's the
basic outline of how to work that angle.

Cheers!

edit: err...perhaps it's not automated that far yet - including the localized downloadurl
tags allows the user to click on the 'will install...' widget and offer them a choice of
which localized version to install...

I have just tested installing the following:
The Master Genealogist 7.04 using the c4p file with Crossover V9.2.0 in Mint9 which is based on Ubuntu 10.04.
As far as I could see everything appeared to work, immediately.

If you see the first TMG screen with missing text then you will need to load Tahoma font which is needed, or arrange an alternative as described in 2.

Tahoma font in my system is in /home/ian/cxoffice/share/wine/fonts/. I'm not sure whether this was installed. You may have to do one of these, if you see blank entries when TMG loads:

  1. Obtain a copy of tahoma.exe which will install this font. Install tahoma fonts from Cx Unsupported Application>Other Application.
  2. Find ~/.cxoffice/TMG704/drive_c/users/crossover/Application Data/The Master Genealogist v7/app.ini and alter [Fonts] ListFontName=Tahoma so that Tahoma reads Impact. You will see the effect of using an unusual Linux font at once. Probably there are better fonts to choose for actual work. Note if you install tmg for multiple users app.ini will be elsewhere. The copy in the Program Files is not used so don't alter it.)
    It may be required to install windings fonts, that used to be the case with cx 7 but it seems OK without in cx 9, I'm not sure.

If the font do not show properly in Details window under persons. Try setting oleauut32.dll to native.
See http://bugs.winehq.org/show_bug.cgi?id=12320 for more details of a but in oleaut32.

1 to 19 of 19

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiczJIZHlnblV5cHVuNlBOVSIsImdkcHIiOjB9