Hi Ian,

You did the right thing, it was just over-written later.

When a new user is defined, the content of "Default user" is used as a template 
to define the new user home.

However, if present, the MapInfo user installation 
(...\MapInfo\Professional\AddUser\) will run when the new users runs MapInfo Pro
for the first time, over-writing any MapInfo related files present in the user 
home tree. The MI user install only runs once for
each user, and I think the trigger is a key in the registry (in 
HKEY_CURRENT_USER).

So you need to (1) supply the whole MapInfo user setup in "Default user", not 
just mapinfow.prf, and (2) you need to disable
MapInfo's user setup (delete or rename).

As for the registry settings, I think MapInfo Pro will add these if they're not 
present. But is ought to be easy to extract them
(only from HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE) to a *.reg file, and 
execute this if necessary. I also think mapinfow.exe has
an optional argument "-regserver" that'll do it for you.

>From personal experience I can assure you that this (eventually) will work. :)

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
----- Original Message ----- 
From: "Ian Tidy" <[EMAIL PROTECTED]>
To: "MapInfo-L" <[email protected]>
Sent: Saturday, January 15, 2005 12:51 AM
Subject: MI-L Setting the default PRF file.


OK, hopefully someone will know how to do this, but how do you create a
default preference file for all new user profiles on a Win2000/XPPro
machine.  I have tried coping the MAPINFO.PRF file to the default user
\Application\MapInfo directory, but this hasn't worked.

I know I could copy it in after the profile is created, but I would like it
to be created automatically with the right settings.

Does anyone know how to create a default MapInfo preference file and where
do you put it?

Our machines will be running Windows XP Pro SP2 or Windows 2000 SP6.

TIA

Cheers Ian

Ian Tidy
GIS Administrator
Works Asset Department
Napier City Council
Hastings St, Private Bag 6010, Napier, New Zealand
Phone +64-6-835-7579 Ext. 8115
Fax +64-6-835-7574
mailto:[EMAIL PROTECTED]
http://www.napier.govt.nz



######################################################################
Attention:
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 14863

Reply via email to