Re: Where do I start?
Re: Where do I start?
- Subject: Re: Where do I start?
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 6 Mar 2010 10:13:17 +0100
On Mar 6, 2010, at 1:26 AM, Allan Marcus wrote:
It would be nice if the install would give the user a chance to
rectify the situation by giving the user the opportunity to quit
the program in question. Any idea on how to do that?
Usually, that kind of operation is performed during the installation
itself. That is after the user selected the components he/she wishes
to install. The fact the application is running is usually not a
strong requirement to prevent a component from being selected.
What is done then is that through a preinstall script, you invoke a
helper tool to check that the application is running and if it is,
you ask the user to quit it. Since the installation is process is
blocked until the application is quit, this will work fine. You could
probably also refine this by adding a Stop Install button and returns
a non zero value from the helper tool to make the preinstall script
fail and the installation stop.
Adding a stop/cancel button is also a good idea if the application is
actually running in another user session and you can't fast switch to
it to quit the application.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden