Skip to content
⌘ NSIS Forum Archive

Simple timer in custom page (disabling next button)

5 posts

Pawel#

Simple timer in custom page (disabling next button)

Hello
Is it possible to do a simple timer in NSIS custom page?
I use Install Options to display my custom page with some very important informations. User must read this text (many users automatically just cliks next, so they don't read this). I think it should be done this way (but unfortunately I don't know how):

1. Display Custom Page
2. Disable "Next" button - Starting timer (displaying on "Next" button text: 5, 4, 3, 2, 1..., or anywhere on the page)
3. After 5 seconds: Enable "Next" button, stopping timer.
4. User can click "Next" button.

Is it possible?
Thanks for any help.
Regards
Pawel#
Originally posted by Red Wine
I think there's a plugin in wiki, take a look there.
Hmm...
I didn't find anything. Could you specify some plugin, that I missed?
Red Wine#
I'm sure I've seen somewhere either here in forum or wiki this kind of feature, maybe someone else remembers something?

EDIT:
I found it here in forum!
As I understand it's incomplete, needs some modification.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Pawel#
Yes, that's it!
Thanks... I must test it, but demo works like I want...
(and sorry, that I didn't find it by myself... I should)
Regards
-Pawel