Subject Client Installations
Author Chris Meelhuysen
On my client installations, I'm trying to have as little questions
needed to be answered as possible by the user. One of the biggest
obstacles is the database path as this usually requires some knowledge
about the server and the path to the database on that server. This has
been greatly improved with the use of aliases in 1.5 (bravo). It would
know be possible for me to put a client install in a directory that is
on the same server. As our installations generally always are based on
a set structure of folders, I can then know that my database is on the
same computer as the client install was run from. During the initial
"server" installation I can add into the alias file something like

MyDatabase = c:\myprogdir\datadir\datafile.fdb

I now know that no matter where the client is installed that path will
always be FirebirdServerName:MyDatabase.

My question is how is it possible to determine what computer the
clientinstall is running from? If its running from a mapped drive can
you get the computer name or ip address from that? If I can determine
that I can have a zero question client install.

This may be more of a Wise or Delphi question but I felt it may help
other people here to read it. Currently I use Wise to make the client
install since it has the BDE install (which unfortunately I need to
still use until I get around that) included. Does anyone have an API /
Delphi / Wise command to get the computername or ip address of where the
file is running from?

--
Thanks,

Chris Meelhuysen
VP Information Technology
Event Software
480-517-9990
chris@...