PDA

View Full Version : Detecting the end of the InstallShield Execution in Delphi



NewsArchive
03-03-1998, 01:00 AM
Hello,

I'm building an application launching an InstallShield and waiting the end
of it.

My problem is that ISX is made of 2 programs and my application just waits
till the end of the first.
How can I solve that problem ?

Patrick Bontant

NewsArchive
03-03-1998, 01:00 AM
Hi Patrick,
When launching the installation, use the /SMS switch.
i.e.
setup.exe /SMS

Without it, setup.exe launches the engine, then ends. Then, the engine runs
the installation. The /SMS switch keeps setup.exe running while the
installation is running. Thus, your application can wait for setup.exe
before continuing.
--
Rich
InstallShield Software Corp.


P.S. Our website, http://www.installshield.com/, covers a wide range of
resources for your installation development. Read technical whitepapers,
view documentation or search the Knowledge Base to get support information
24 hours a day, 7 days a week.

Bontant Patrick wrote in message <01bd4684$7a1b9fa0$680d0ac8@pbontant>...
>Hello,
>
>I'm building an application launching an InstallShield and waiting the end
>of it.
>
>My problem is that ISX is made of 2 programs and my application just waits
>till the end of the first.
>How can I solve that problem ?
>
>Patrick Bontant

NewsArchive
03-03-1998, 01:00 AM
On Tue, 3 Mar 1998 12:26:28 -0600, "InstallShield Corp."
<raquino@installshield.com> wrote:
>Without it, setup.exe launches the engine, then ends. Then, the engine runs
>the installation. The /SMS switch keeps setup.exe running while the
>installation is running. Thus, your application can wait for setup.exe

Hmmmm... why was I never told of this *mock angry looke* And I tell people
all about these complicated algorithms and functions :)

Rich, do you know what the class and the window title are for setup.exe so
one can use a FindWindow loop to keep on waiting.

Stefan
ellipse data systems

NewsArchive
08-04-2000, 12:00 AM
Kim

Thanks this works fine!

Brian

Kim - DemoShield <supportnews@installshield.com> wrote in message
news:398874bf.0@208.30.171.38...
> Brian Robinson,
>
> You can use an Event Object in your opening scene to detect the OS the
user
> is running on.
>
> You would need to set the Event Object like so:
>
> Set the time under the Object Styles tab of the Event Properties to when
you
> would like the scene to trigger the Event.
> Under the Condition field, select the Always perform True Actions and
select
> the Edit button.
> This will bring up the Condition Builder.
> Select OS from the Condition Type.
> Next, set the Condition Description by selecting the OS Type and clicking
on
> the Apply button.
> You can create multiple conditions within an Event Object.
> Once you have selected the appropriate conditions, go to the Actions tab
and
> create the Actions you want to occur (Go To Scene...) if the condition is
> correct under the True Actions. If the condition is not correct, it will
> trigger the False Actions.
>
> You may want to create multiple Event Objects to check a seperate OS for
> each event.
>
> I hope this helps.
>
> Kim Haffey
> DemoShield Technical Support
>
> "Brian Robinson" <brian-robinson@psion.com> wrote in message
> news:3988407f.0@208.30.171.38...
> > Hi
> >
> > I am using Demoshield 6.5 to generate a CD browser for a product that
only
> > works in Win 98 & 2000. We need the demo to display a different welcome
> page
> > if the OS is not 98 or 2000 - can anyone tell me how i go about doing
> this?
> >
> > Thanks
> >
> >
>
>