Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #747 > unrolled thread

Install of BDE hangs up on Win10 (Delphi4 Pro)

Started by"P E Schoen" <paul@pstech-inc.com>
First post2017-12-09 15:20 -0500
Last post2017-12-10 22:53 -0500
Articles 5 — 4 participants

Back to article view | Back to comp.lang.pascal.delphi.misc


Contents

  Install of BDE hangs up on Win10 (Delphi4 Pro) "P E Schoen" <paul@pstech-inc.com> - 2017-12-09 15:20 -0500
    Re: Install of BDE hangs up on Win10 (Delphi4 Pro) Marco van de Voort <marcov@toad.stack.nl> - 2017-12-10 12:34 +0000
    Re: Install of BDE hangs up on Win10 (Delphi4 Pro) JJ <jj4public@vfemail.net> - 2017-12-10 21:31 +0700
      Re: Install of BDE hangs up on Win10 (Delphi4 Pro) P E Schoen <paul@peschoen.com> - 2017-12-10 20:41 -0500
        Re: Install of BDE hangs up on Win10 (Delphi4 Pro) P E Schoen <paul@peschoen.com> - 2017-12-10 22:53 -0500

#747 — Install of BDE hangs up on Win10 (Delphi4 Pro)

From"P E Schoen" <paul@pstech-inc.com>
Date2017-12-09 15:20 -0500
SubjectInstall of BDE hangs up on Win10 (Delphi4 Pro)
Message-ID<p0hgjd$e3s$1@dont-email.me>
I have an application written in Delphi 4 Pro, that uses the Borland 
Database Engine (BDE). When I installed Delphi on my Win10 machine, it hung 
up during the BDE install. I unchecked the option and it installed OK. 
However, the BDE seemed to have been installed, and my application was able 
to build and run OK with the database functions.

The setup file I created using Inno Setup includes a section where it uses 
"minireg.exe" to install the BDE by running "bdeinst.dll" which was 
extracted from the bdeinst.cab file and included in the setup. It also hangs 
up, but apparently completes the installation in

C:\Program Files (x86)\Common Files\Borland Shared\BDE

On the Inno Setup website I found a suggestion to use a newer install 
"bde511en.exe", which I found and downloaded on the Softonics website. It 
runs OK on Win10 (and Win8) but it is only for updating a previous BDE 
install. So I have kept the original bdeinst.dll in my setup, and informed 
customers that it will hang up on Win10, but clicking on the dialog box 
allows Windows to close it and proceed.

I don't know just what is involved in the BDE install. I could easily copy 
the files that I find in the BDE folder to the new installation, but there 
seem to be some registry entries as well, and it's difficult to find all the 
instances (a search also finds hex BDE). I don't know why Win10 is having 
problems - I have checked folder permissions and they seem identical for 
Win8 and Win10. I have done a search and found a few ideas, but nothing that 
solves the problem.

TIA,

Paul 

[toc] | [next] | [standalone]


#748

FromMarco van de Voort <marcov@toad.stack.nl>
Date2017-12-10 12:34 +0000
Message-ID<slrnp2qaej.2so6.marcov@toad.stack.nl>
In reply to#747
On 2017-12-09, P E Schoen <paul@pstech-inc.com> wrote:
> I have an application written in Delphi 4 Pro, that uses the Borland 

If you try to install an old version of Delphi on Windows Vista or later,
install it outside of the program files directory. Then inventorize
remaining problems.

Old versions of Delphi write to the program files directory, which is
frowned upon by Vista and later.

[toc] | [prev] | [next] | [standalone]


#749

FromJJ <jj4public@vfemail.net>
Date2017-12-10 21:31 +0700
Message-ID<fbezh7syw263.1pu1ok7nj11qa$.dlg@40tude.net>
In reply to#747
On Sat, 9 Dec 2017 15:20:54 -0500, P E Schoen wrote:
> I have an application written in Delphi 4 Pro, that uses the Borland 
> Database Engine (BDE). When I installed Delphi on my Win10 machine, it hung 
> up during the BDE install. I unchecked the option and it installed OK. 
> However, the BDE seemed to have been installed, and my application was able 
> to build and run OK with the database functions.
> 
> The setup file I created using Inno Setup includes a section where it uses 
> "minireg.exe" to install the BDE by running "bdeinst.dll" which was 
> extracted from the bdeinst.cab file and included in the setup. It also hangs 
> up, but apparently completes the installation in
> 
> C:\Program Files (x86)\Common Files\Borland Shared\BDE
> 
> On the Inno Setup website I found a suggestion to use a newer install 
> "bde511en.exe", which I found and downloaded on the Softonics website. It 
> runs OK on Win10 (and Win8) but it is only for updating a previous BDE 
> install. So I have kept the original bdeinst.dll in my setup, and informed 
> customers that it will hang up on Win10, but clicking on the dialog box 
> allows Windows to close it and proceed.
> 
> I don't know just what is involved in the BDE install. I could easily copy 
> the files that I find in the BDE folder to the new installation, but there 
> seem to be some registry entries as well, and it's difficult to find all the 
> instances (a search also finds hex BDE). I don't know why Win10 is having 
> problems - I have checked folder permissions and they seem identical for 
> Win8 and Win10. I have done a search and found a few ideas, but nothing that 
> solves the problem.
> 
> TIA,
> 
> Paul

Try download BDE v5.2.0.2 from here:

http://www.all2ezy.com/pages/developer_downloads.php

I've checked that it installed fine. BDE Administrators seems to work fine
too. But I haven't actually tested the BDE functionality.

[toc] | [prev] | [next] | [standalone]


#750

FromP E Schoen <paul@peschoen.com>
Date2017-12-10 20:41 -0500
Message-ID<p0knmh$2qt$1@dont-email.me>
In reply to#749
On 12/10/2017 9:31 AM, JJ wrote:
> On Sat, 9 Dec 2017 15:20:54 -0500, P E Schoen wrote:
>> I have an application written in Delphi 4 Pro, that uses the Borland
>> Database Engine (BDE). When I installed Delphi on my Win10 machine, it hung
>> up during the BDE install. I unchecked the option and it installed OK.
>> However, the BDE seemed to have been installed, and my application was able
>> to build and run OK with the database functions.
>>
>> The setup file I created using Inno Setup includes a section where it uses
>> "minireg.exe" to install the BDE by running "bdeinst.dll" which was
>> extracted from the bdeinst.cab file and included in the setup. It also hangs
>> up, but apparently completes the installation in
>>
>> C:\Program Files (x86)\Common Files\Borland Shared\BDE
>>
>> On the Inno Setup website I found a suggestion to use a newer install
>> "bde511en.exe", which I found and downloaded on the Softonics website. It
>> runs OK on Win10 (and Win8) but it is only for updating a previous BDE
>> install. So I have kept the original bdeinst.dll in my setup, and informed
>> customers that it will hang up on Win10, but clicking on the dialog box
>> allows Windows to close it and proceed.
>>
>> I don't know just what is involved in the BDE install. I could easily copy
>> the files that I find in the BDE folder to the new installation, but there
>> seem to be some registry entries as well, and it's difficult to find all the
>> instances (a search also finds hex BDE). I don't know why Win10 is having
>> problems - I have checked folder permissions and they seem identical for
>> Win8 and Win10. I have done a search and found a few ideas, but nothing that
>> solves the problem.
>>
>> TIA,
>>
>> Paul
> 
> Try download BDE v5.2.0.2 from here:
> 
> http://www.all2ezy.com/pages/developer_downloads.php
> 
> I've checked that it installed fine. BDE Administrators seems to work fine
> too. But I haven't actually tested the BDE functionality.
> 
That seems to work just fine. It installs in a new directory C:\BDE32 
but my application runs with no apparent problems and no changes were 
needed.

Now I just need to figure out how to incorporate this in my Inno Setup 
script. It might be as simple as copying the zip file to the {tmp} 
directory and then running the setup file within the zip file. I have 
tried various ways to do this, but so far I've been unable to get Inno 
Setup to extract the files from the zip file. Any ideas?

Thanks!

Paul

[toc] | [prev] | [next] | [standalone]


#751

FromP E Schoen <paul@peschoen.com>
Date2017-12-10 22:53 -0500
Message-ID<p0kvep$oj0$1@dont-email.me>
In reply to#750
On 12/10/2017 8:41 PM, P E Schoen wrote:

> That seems to work just fine. It installs in a new directory C:\BDE32 
> but my application runs with no apparent problems and no changes were 
> needed.
> 
> Now I just need to figure out how to incorporate this in my Inno Setup 
> script. It might be as simple as copying the zip file to the {tmp} 
> directory and then running the setup file within the zip file. I have 
> tried various ways to do this, but so far I've been unable to get Inno 
> Setup to extract the files from the zip file. Any ideas?
> 
> Thanks!
>
I found it necessary (or at least expedient) to copy the entire unzipped 
directory (including subdirectories) to the {tmp} folder, as follows:

[Files]
Source: "C:\Users\paul\Downloads\Borland\BDE_with_SQL_Links\*"; DestDir: 
"{tmp}\BDE"; Flags: recursesubdirs
[Run]
Filename: "{tmp}\BDE\setup.exe"

The help for Inno Setup was a bit deceptive with the functions:

function ExtractTemporaryFiles(const Pattern: String): Integer;

procedure ExtractTemporaryFile(const FileName: String);

They are apparently not used for zipfiles, but rather for extracting 
files that have been compressed in the setup file itself.

Now it seems that my setup (install) file does what I need for Win10. 
The only problem remaining is that the script sometimes hangs up when 
processing the setupiconfile with "Resource Update Error: 
EndUpdateResource failed (5)"

Thanks - it's good to know that some people are still using this 
newsgroup. :)

Paul

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.pascal.delphi.misc


csiph-web