Subject Re: programmed aliases.conf add/modify?
Author michael welsch
Thanks, Eddie,

your right, you never know when you will need it.
In the meantime I wrote a little dirty java app that makes it.
I can involve it in the setup like this:
propertyEdit -f <path to aliases.conf> -kv <new_alias> <new_database>
it checks for existing alias and modifies/creates it.

To satisfy your nosiness:
My database app can be installed as desktop or client/server model.
And I don't want the user to have to edit aliases.conf. But as I
must expect firebird already on the server, I can't just overwrite
aliases.conf. This way I can include the firebird setup if it is not
already present and prepare aliases.conf afterwards.

Thank you for the interesting link - you never know when you'll need
it ;-)

By the way: adding a new alias to aliases.conf doesn't require a
reboot as for my expirience.

Regards
Michael


--- In firebird-support@yahoogroups.com, "Eddie Bush" <eabush@s...>
wrote:
> Michael,
>
> Here's some additional info on that registry key I was talking
about:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/setupapi/setup/run_and_runonce_registry_keys.asp
>
> Regards,
>
> Eddie
> ----- Original Message -----
> From: michael welsch
> To: firebird-support@yahoogroups.com
> Sent: Monday, March 15, 2004 4:02 AM
> Subject: [firebird-support] Re: programmed aliases.conf
add/modify?
>
>
> Hi Eddie,
>
> (I hope I get you right)
> The requirements are:
> look in aliases.conf if there is an entry like
> <mykey> = <anydatabasefile>
> if so, modify the value to point to the new database file
> else create a new entry
> <mykey> = <mydatabasefile>
>
> Regards
> Michael
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.620 / Virus Database: 399 - Release Date: 3/12/2004
>
> [Non-text portions of this message have been removed]