WINAMP.COM | Forums > Developer Center > NSIS Discussion > ExecTimeout Plugin |
Last Thread
Next Thread
|
| Author |
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
ExecTimeout Plugin
I just created an "ExecTimeout" plugin. It will execute and application and wait for the process to exit, just like ExecWait. But in contrast to ExecWait you can specify a timeout. If the application does not exit before the timeout exceeds, it will be terminated. This can be used to make sure your installer won't stall, even if the application doesn't exit for some reason. Plugin, sources and example attached.
|
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Here is a small update. You can now decide whether you want to terminate the process on timeout or leave it alone. Anyway, if the timeout is exceeded, the control will return to the installer immediately.
|
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Another update:
|
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
You should use the Wiki to upload your file. __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
You think it's worth a wiki page? ^^ __________________ |
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
Sure why not. Otherwise as you add new versions people will never get them. People tend to get the first download in the first post and neglect to find the latest. __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Besides that Stu said, after 2-3 days of inactivity this thread will get lost between 1000s threads of the forum. __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Okay, I have created a wiki page __________________ |
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
You should re-upload as ExecTimeout.zip. Notice that re-uploading the file under the same name builds a revision history: __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
code: Last edited by LoRd_MuldeR on 07-02-2008 at 01:33 PM |
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
I have moved the plug-in download to http://nsis.sourceforge.net/File:ExecTimeout.zip. __________________ |
||
|
|
|
elllit Junior Member
Registered: Jun 2008 |
LoRd_MuldeR, |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
I have uploaded an example that illustrates the difference:
|
||
|
|
|
elllit Junior Member
Registered: Jun 2008 |
Thanks a bunch! |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > ExecTimeout Plugin |
Forum Rules:
|