PDA

View Full Version : Installer takes LONG time to finish...



NewsArchive
03-10-1998, 01:00 AM
I created a project using InstallShield Express that installs 16-bit BDE
and Delphi application. On Win95 computer, after installer copies all
files and progress indicators go away, it takes about 5 minutes of delay
until installation is finished, and "do you wish to reboot" dialog
appears! What is going on during this time? All I can see is that the
hard drive light is blipping occasionally during this delay. Tried
install with fresh, plain vanilla Win95 machine -- same results.

John Wong
johnw@apcot.com

NewsArchive
03-11-1998, 01:00 AM
On Tue, 10 Mar 1998 20:42:38 -0500, John Wong <johnw@apcot.com> wrote:
>files and progress indicators go away, it takes about 5 minutes of delay
>until installation is finished, and "do you wish to reboot" dialog

It most probably inserts the registry entries, if you have any.

Stefan
ellipse data systems

NewsArchive
04-30-1998, 12:00 AM
Stefan,

After further experiments, I discovered that the very long delay is due to
some Installshield extensions (EXE) which I included with "Wait for the
program to exit before returning to installatin" option checked. When I
"uncheck" this option, the setup process finishes quickly. When I run the
EXE program outside of setup, it completes its execution in about 1 second.
When I run the EXE program inside setup as an extension (with the "wait.."
option), it takes about 30 seconds for setup to continue. Can you tell me
what's wrong with the long wait for extension execution completion?

John
johnw@apcot.com

Stefan Paetow wrote:

> On Tue, 10 Mar 1998 20:42:38 -0500, John Wong <johnw@apcot.com> wrote:
> >files and progress indicators go away, it takes about 5 minutes of delay
> >until installation is finished, and "do you wish to reboot" dialog
>
> It most probably inserts the registry entries, if you have any.
>
> Stefan
> ellipse data systems

NewsArchive
04-30-1998, 12:00 AM
On Thu, 30 Apr 1998 12:37:46 -0400, John W <johnw@apcot.com> wrote:
>"uncheck" this option, the setup process finishes quickly. When I run the
>EXE program outside of setup, it completes its execution in about 1 second.

Hi John, it is most probably due to the fact that Express waits for the
window handle that your extension occupies to come up as invalid. This is
archieved using the FindWindow() API function and various others.

I don't exactly know how Express calls its extensions, but you might
incorporate your functions that your exes perform into one DLL with various
functions that you can call. This then is a bit faster.

Stefan
ellipse data systems