Discussion:
Deploy location of .gdb file
(too old to reply)
pcerdaz
2007-07-04 03:02:56 UTC
Permalink
Hello, I have a problem with the location of the .gdb file.

At design time there is a path in the DatabaseName property where .gdb file
is located. For development this location is ok, but for deployment the
location must be different. How can I modify the location for deployment
process?



Any help would be gratefully.



Regards,
pcerdaz
Jeff Overcash (TeamB)
2007-07-04 03:52:22 UTC
Permalink
Post by pcerdaz
Hello, I have a problem with the location of the .gdb file.
At design time there is a path in the DatabaseName property where .gdb file
is located. For development this location is ok, but for deployment the
location must be different. How can I modify the location for deployment
process?
TIBDatabaseINI was built exactly to solve this type of problem. You can have
that component read from an INI file the deploy location.
Post by pcerdaz
Any help would be gratefully.
Regards,
pcerdaz
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
pcerdaz
2007-07-06 15:23:48 UTC
Permalink
Ok, but that INI file must have the installation path; how can I put there
the installation path?
May be using InstallShieldExpress?

Another question please: is GDS32.DLL (on system directory) and
MyDatabase.GDB (on installation path) the unique two files that must be
copied to destination machine? I'm already copied these two files buet I
have an error message: "unavailable database".

Regards,
pcerdaz
Post by Jeff Overcash (TeamB)
Post by pcerdaz
Hello, I have a problem with the location of the .gdb file.
At design time there is a path in the DatabaseName property where .gdb
file is located. For development this location is ok, but for deployment
the location must be different. How can I modify the location for
deployment process?
TIBDatabaseINI was built exactly to solve this type of problem. You can
have that component read from an INI file the deploy location.
Post by pcerdaz
Any help would be gratefully.
Regards,
pcerdaz
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Jeff Overcash (TeamB)
2007-07-06 16:36:34 UTC
Permalink
Post by pcerdaz
Ok, but that INI file must have the installation path; how can I put there
the installation path?
May be using InstallShieldExpress?
Another question please: is GDS32.DLL (on system directory) and
MyDatabase.GDB (on installation path) the unique two files that must be
copied to destination machine? I'm already copied these two files buet I
have an error message: "unavailable database".
You have to deploy the whole InterBase server. GDS32.dll is only the client
side, you have to fully deploy the InterBase server if you want to also host the
gdb file there.
Post by pcerdaz
Regards,
pcerdaz
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
pcerdaz
2007-07-06 20:13:16 UTC
Permalink
I understand.
In this case I suppose that it is not necesary to include the DGS32.DLL in
the installation file of the application, because it is included in the
Interbase server. Is correct?

Thank you,
pcerdaz
Post by Jeff Overcash (TeamB)
Post by pcerdaz
Ok, but that INI file must have the installation path; how can I put
there the installation path?
May be using InstallShieldExpress?
Another question please: is GDS32.DLL (on system directory) and
MyDatabase.GDB (on installation path) the unique two files that must be
copied to destination machine? I'm already copied these two files buet I
have an error message: "unavailable database".
You have to deploy the whole InterBase server. GDS32.dll is only the
client side, you have to fully deploy the InterBase server if you want to
also host the gdb file there.
Post by pcerdaz
Regards,
pcerdaz
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Jeff Overcash (TeamB)
2007-07-06 20:55:25 UTC
Permalink
Post by pcerdaz
I understand.
In this case I suppose that it is not necesary to include the DGS32.DLL in
the installation file of the application, because it is included in the
Interbase server. Is correct?
Correct.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
pcerdaz
2007-07-06 21:18:42 UTC
Permalink
Finally, do you have an example or reference about how to use the
TIBDatabaseINI and ini file?

Thank you,
pcerdaz
Post by Jeff Overcash (TeamB)
Post by pcerdaz
I understand.
In this case I suppose that it is not necesary to include the DGS32.DLL
in the installation file of the application, because it is included in
the Interbase server. Is correct?
Correct.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Quinn Wildman (CodeGear Developer Support)
2007-07-09 18:51:12 UTC
Permalink
Use database a alias instead. This feature was added in InterBase 7.5.
See the update for details on how it works. In short, the server stores
the path to the alias. All your app needs is the alias.
Post by pcerdaz
Hello, I have a problem with the location of the .gdb file.
At design time there is a path in the DatabaseName property where .gdb file
is located. For development this location is ok, but for deployment the
location must be different. How can I modify the location for deployment
process?
Any help would be gratefully.
Regards,
pcerdaz
Loading...