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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Installing BDE is driving me nuts! 1

Status
Not open for further replies.

delphiman

Programmer
Dec 13, 2001
422
ZA
I am so frustrated with finding that to deploy óne's developments is turning out to be such a problem.

I have tried Installshield Express Borland Limited Eddition (which came with my Delphi Enterprise) and InnoSetup 3.07 neither of which are installing vcl60.bpl apparently.

To make my life more interesting I am using W2K but my deployments need to go to and work on any OS from W95 to W-XP

I prefer InnoSetup 3.07 but that does not (from what I can see) allow one to have specific directories created for (say) one's database files. Everything simply ends up along with the .EXE file. Which I cannot have.

As for Jordan Russel's Installing BDE (Borland Database Engine) all one needs to do essentially is to

"1. download MiniReg.exe
2. Move the extracted BDEINST.DLL to your installation's source directory. Add these lines to your script:
[Files]
Source: "MiniReg.exe"; DestDir: "{tmp}"
Source: "BdeInst.dll"; DestDir: "{tmp}"
[Run]
Filename: "{tmp}\MiniReg.exe"; Parameters: """{tmp}\BdeInst.dll"""


That's it.
"

I wish! Because unfortunately that is not "ít" from my experience. :-(
And there is no way I can find to contact him to query this.

Can anyone please throw some light on why vcl60.bpl is not installing and/or how to get InnoScript 3.07 to create specific directories?

Thanks in advance.
 
Hi Delphiman -

With regards your problem with vcl60.bpl not being deployed, you could try :
1. Go to the Program/Options menu
2.Select the "Packages" tab
3. Click on the "Build with Run-time Packages" option.

This should have the effect of shipping all needed packages with your application (I think!)

With regards Inno Setup and specifying distinct install directories, you can create sub-directories of your main app path. Or, indeed use sub-directories of other directory constants such as the users "Windows" directory.

AFAIK its just a matter of adding a backslash and defining the desired destination. For example...

Source: "C:\Adir\Afile.txt"; DestDir: "{app}\SomeDataDir"; CopyMode: alwaysoverwrite

.. would have the effect of installing "Afile" into a subdirectory of the main application called "SomeDataDir".

Alternatively, you could use the "\" directive. This tells the program to set the destination directory as the root directory of "C:\". So...

Source: "C:\Adir\Afile.txt"; DestDir: "\SomeDataDir"; CopyMode: alwaysoverwrite

..would create a directory off the users C:\ drive called "SomeDataDir". Dont recommend doing this though, as you will not know what restrictions you may run into though (such as available disk space.)

Anyway, hope this helps..

Cheers..

Opp.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top