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