Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying Delphi 6 with Interbase 6. Where does one even start? 1

Status
Not open for further replies.

delphiman

Programmer
Dec 13, 2001
422
ZA
I am using Delphi6 Enterprise and Interbase6 and I am trying to create a deployment kit for my development, which uses Delphi and Interbase6, which I can burn onto CD-ROMS. For sale to prospective users.

Installing my development along with the Delphi-BDE is relatively easy using Inno Setup and appropriate script. But now I need to include Interbase.

(Please don't ask why I am using Interbase without risking taking us horribly off-topic. :) )

So that having clicked on Setup on the CD-ROM the installation onto the target machine simply happens
- including an icon being installed on Desktop of the user's system. And the works (including IB-Server) should simply start - without hassles. Without a password even being asked for by the system. (In fact the user will neither want to know[/i] or even care - that Interbase6 is there. Or what it is even. :)

It would appear that the IBInstall and IBUninstall Components in the Interbase Admin page of the pallete in Delphi 6 might be relevant and of use to me. But upon trying to use the IBInstall component I get the following exception:

Interbase Install DLL. ibinstall.dll not found in the path Please install Interbase
6 to use this functionality.


Thinking I might have missed something when I originally installed Interbase 6 I re-installed it. But could find nothing with permitted me to install Interbase 6 to use this functionality.[/b]

Can someone please tell me what I am missing?
And how these components can be of use to me?

Beyond that I have found Embedding InterBase 6.0 in 10 easy steps somewhere being a technical paper from a talk given at the 10th Annual Inprise & Borland Developer's Conference By Marco Romanini - InterBase Software Corporation.

My immediate problem being that I can't even find the first "easy" step! :)


Despite learning that The process of installing and licensing InterBase Server or Client on a workstation used to be a complicated one. However,
InterBase 6.0 introduces the Install API and the License API, which will perform all the complicated tasks, while allowing full flexibility of customization of the install.


Which sounds just great and exactly what I am looking for .. if only a mere mortal like me could understand it and how to use it.

Is there a kind soul out there who can show me to (any) first step which might even risk leaving me exposed to the other nine? :) :)
 
I worked with Interbase on several machines, although have not done comercial installs (yet). You already figured out about deploying the delphi-part, BDE etc.. be sure to put the Interbase Client together.

The server part, I am acostumed to that from The Interbase CD (or whatever) but using the original setup program, so you need to type in the licensce.
Interbase is a true RDBMS so it is not that simple as dbase, paradox or access. For the computing power of Interbase, filling in just a number, it couldn't been easier!! Ask the sql-server and oracle guys how much they have to sweat to get things running.

Interbase runs on win95, win98, ME, XP, NT, Win2000, and Linux. I have done Interbase installations on all these Microsoft OS (just upgraded my home computer to XP)and never got any problem.

Install the server first, then your own software.

By the way Therry do you have a link to that paper you mentioned?

Best Regards!!

Steven van Els
SAvanEls@cq-link.sr
 
Hi Stephen! Nice to hear from you again!

>be sure to put the Interbase Client together.

I don't understand. What do you mean with "together". Together with what?

>The Interbase CD (or whatever) but using the original >setup program, so you need to type in the licensce.

Forget! Can't happen!! It will never sell. Little Mummy putting my product onto her PC at home would simply be frightened to death - instantly.

Anyway the API (in paper below) apparently handles all that.

>do you have a link to that paper you mentioned?

It seems to be Article ID: 27144 Publish Date: July 21, 1999 Last Modified: January 11, 2002 at
But if you can't find it I'll send it to you seperate e-mail. It seems to be very good and includes an API - but I don't know what to do with it. :-( Rather like a savage in the Congo suddenly finding himself sitting on a bicycle!

Unfortunately I had to re-install my W2K recently along with the MS-Outlook. So I lost you re-mail address. Please Let me know at delphiman@bigpond.com.

>Install the server first, then your own software.

I want to put it together with my development and the BDE in the same deployment package - all created with Inno Script. And it wouldn't be a problem (I don't think) to have IB_Client install first from Setup on the CD-ROM.

>I have done Interbase installations on all these Microsoft >OS (just upgraded my home computer to XP)and never got any >problem.

But where do I start Mate?
I would like to use this API, which I am sure holds all the answers, but I can't understand how to applythe thing. :-(
 
Does your program is mult-user? This way it makes sense that you install the server seperately, and then your software and the Interbase client together.
On your server computer, the interbase client is automatically installed. Send me the paper, my e-mail is below.

Best Regards

Steven van Els
SAvanEls@cq-link.sr
 
MartijnTonies
Thanks I've been there but so far can't make much sense from
the ibWin32Client downloads. Which merely flash up a blue
panel. And then disappear. Leaving me with no idea as to what they are supposed to do. :)

Steven Van Els
In each case the user will be a single user.

It is a simple program.

I am using Interbase because of the power of SQL and an SQL-Database. Which is why I need to install Interbase Client to work on a user's system.

I am sending the paper by other e-mail.

Regards

TERRY
 
Terry, since it is not a multi-user system, did you consider to install the Interbase Desktop? I didn't used it before but I think it is a simplified version of the server. It doesn't accept remote connections. I think it is comparable to the Personal edition of M$ SQL-server, and may be you do not need a license to install it. Think I am going to play a little around with it.

Martijn, what is your experience with the Interbase Desktop Edition?

Steven van Els
SAvanEls@cq-link.sr
 
The InterBase Desktop Edition simply is the full server with a different license - it runs in the background (like a normal server process) and only accepts local connections, not from remote pcs. I've never used it - but there are people out there who deploy applications for single-users only using the desktop edition and their multi-user version with a "real" server using the same code all over.

Martijn Tonies
Database Workbench - the developer tool for InterBase and Firebird
 
I have always imagined that I would need to install merely the Desktop version with runs in the background (like a normal server process) and only accepts local connections, not from remote pcs..

But I can't find where to begin in having it's deployment and inclusion included in my deployment of my program and the BDE.

I have been to - which leaves me no wiser.
 
has detailed papers on how to install InterBase, it has sample Wise, Installshield, MSI and Inno Setup installs scripts - it ALSO has a "BDE Information Utility" which says "Use this utility to install the 5.2 version of the BDE and verify that it is configured properly"... What more help do you need?


Martijn Tonies
Database Workbench - the developer tool for InterBase and Firebird
 
MartijnTonies
Thanks a million!!

In fact that website has such a wealth of information (all useful no doubt) that I didn't notice the actual script file. Which I have now downloaded and appears to be what I need.

>What more help do you need?

From your knowledge of it can you tell me if the resulting installation on the target machine will need the user to
1.Start the server.
2.Insert a password.
3.Even know that IB Client is present.

If not ... how can I go about automating the startup on the target machine. Bearing in mind I can't get at the SystemInformation->InterbaseManager->Startup Mode-> Automatic radio button. (Or can I? How??)
 
Hi,

Good you found it :)

Depending on the target system, you should either start the IBServer as a Windows Service or auto-start it in the task-tray. I bet the papers/scripts have some info on what registry keys to use for the autostart and how to install the service. Take your time to read and give it a few tries - you will find out.

As for the rest, I don't have any experience with installer scripts (related to IB), I did use the install as it was on the website and embedded that one into my own install. Called it with a couple of command-line switches and it worked fine.



Martijn Tonies
Database Workbench - the developer tool for InterBase and Firebird
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top