Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: P E Schoen Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Install of BDE hangs up on Win10 (Delphi4 Pro) Date: Sun, 10 Dec 2017 22:53:59 -0500 Organization: P S Technology, Inc. Lines: 42 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 11 Dec 2017 03:52:57 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="f608e3dc93e0f7601b05838150a260eb"; logging-data="25184"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UV9ci++ppCueVT+tdstKigBYE+8T0Lww=" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:U4Kv0k+WsvvQh1Rz4L3lI5ZCFKY= Xref: csiph.com comp.lang.pascal.delphi.misc:751 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