+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Trying to create a countdown timer custom dialog

  1. #1

    Cool Trying to create a countdown timer custom dialog

    Hi,

    Like the product so far...
    I am trying to create a custom dialog that displays a countdown timer and updates the progress control automatically. Similar to the example dialog8 in Custom Dialog Demo 1.sb8 except without the need to click something. The updating should happen similar to Dialog 1.sb8 in the examples. Additionally I need custom buttons to be displayed so the progress dialog is not sufficient since I cannot add buttons to the dialog.

    So far, I can get it to update once, then not again after that. Is this even possible without some sort of user intervention?

    What I am trying to do is create a popup that has a pre-determined lifetime, say 5 minutes, before the install cancels automatically when the timer runs out, unless the user clicks an Install button before the timer runs out. The progress bar showing the time elapsed is ideal for what we need, or even a countdown time, "you have **.** minutes left before exit..."

    Again, is this even possible to do? Any advice or hints would be a great help!

    Thank you
    Kel

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    Kel,

    I have to check a few things before answering this question. I'll get back to you ASAP.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official COMODO Code Signing and SSL Certificate Partner

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    In the current V8.0 the "timer" can't be handled in custom dialogs. We are doing some Research and Development right now to see if we can add it to the soon coming V8.1. We like the idea very much.

    Friedrich

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    Kel,

    Thank you again for the interesting idea. I believe we found a solution (a brand new feature) on how to handle this scenario. Regression testing is in-progress.

    I'll post more information soon...

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official COMODO Code Signing and SSL Certificate Partner

  5. #5
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    Kel,

    We have enhanced the SetupBuilder 8 installer runtime/compiler and added some new functions based on your idea. There is a new EVENT:ONTIMER option now in the Custom Wizard Dialog Properties to handle your scenario.

    If you are interested, please download the following file (compiled with the latest internal SetupBuilder 8.1.) and see the attached screenshots.

    http://www.lindersoft.com/projects/CountdownTimer.zip

    The soon coming SetupBuilder 8.1 lets you create a custom dialog that displays a countdown timer and updates the progress control automatically. The above demo displays a "You have **.** minutes left before exit..." text and updates the progress bar. If the user clicks "Start Installation Now" then the installer will continue (start). If the Countdown Timer reaches zero, the application terminates. BTW, the demo will not do anything -- it's just a 'quick and dirty' example.

    What do you think?

    Thanks,
    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official COMODO Code Signing and SSL Certificate Partner
    Attached Images Attached Images    

  6. #6

    Default Re: Trying to create a countdown timer custom dialog

    Quote Originally Posted by linder View Post
    There is a new EVENT:ONTIMER option now in the Custom Wizard Dialog Properties to handle your scenario.
    Now that's a cool new feature. It's absolutely amazing what you guys do!

    Mike

  7. #7

    Default Re: Trying to create a countdown timer custom dialog

    Friedrich,

    This is a very powerful new feature! I can think of a million useful things I could use that for......... Will this be available in SetupBuilder 8.1 or a later release?

    PAUL WILLIAMS
    Developer of Governmental Solutions

  8. #8

    Default Re: Trying to create a countdown timer custom dialog

    In the script, I see FUNCTION:Percentage and FUNCTION:Convert seconds into "HH:MM:SS" which are not available in my SB version. Are these new functions or already available in my 8.0?

    I'm so very excited and looking forward to V8.1 This is a new killer feature.

    PAUL WILLIAMS
    Developer of Governmental Solutions

  9. #9
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    Thank you, Paul

    Yes, the new EVENT:ONTIMER option will be available in SetupBuilder 8.1.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official COMODO Code Signing and SSL Certificate Partner

  10. #10
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Trying to create a countdown timer custom dialog

    I share your excitement

    Yes, the above mentioned functions will be available in SetupBuilder 8.1.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official COMODO Code Signing and SSL Certificate Partner

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •