PDA

View Full Version : Express Extensions - Not Detecting Finish



NewsArchive
11-18-1997, 01:00 AM
I have a problem with an application I have written in Delphi 1 to use
as an extension for Install Shield.
When the program has finished, it takes about 1-2 minutes b4
InstallShield Ex P 2 to detect it having finished.

I have read somewhere about this problem, but cannot find it again.
I have tried Every combination I can think of using
Destroy, Terminate, Close, Free
in the Delphi App.

It works fine if there is no Form in the Application, but not with one.

Cheers
Paul Jordan

NewsArchive
11-18-1997, 01:00 AM
On Tue, 18 Nov 1997 14:08:56 +0000, "Paul.Jordan"
<Paul.Jordan@Kewill-Xetal.com> wrote:
>I have a problem with an application I have written in Delphi 1 to use
>as an extension for Install Shield.

Paul,

Delphi has a socalled "hidden" form that you know as the Application
object. InstallShield sees that form (Application) as the main form, not
your form.

Anyway, to cut things short, you should rather use a DLL as an extension.
You might alternatively write a small DLL that will wait for your app to
finish. make sure that DLL does not use any Delphi forms or units, except
for the WINAPI units.

This will result in a slightly bigger setup, but it will work fine. Contact
me if you struggle with this.

Stefan
ellipse data systems

NewsArchive
12-22-1998, 01:00 AM
Do you mean passing the working directory as a parameter to the extension?



InstallShield Software Corporation wrote in message
<367ecb26.101656113@news.installshield.com>...
>On Mon, 21 Dec 1998 21:28:26 +0800, "Seow Khee Wei" <kwseow@post1.com>
>wrote:
>>Anyone knows if I can specify the working directory of exe extension that
I
>>wan to run within the setup program?
>
>The working directory you should be able to pass to your extension, and
>then just write your extension that it changes to that working directory
>when it starts up.
>
>Stefan Paetow
>InstallShield Software Corp.

NewsArchive
12-22-1998, 01:00 AM
On Tue, 22 Dec 1998 20:53:34 +0800, "Seow Khee Wei" <kwseow@post1.com>
wrote:
>Do you mean passing the working directory as a parameter to the extension?

Yes.

Stefan Paetow
InstallShield Software Corp.