Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    22

    Progress bar in while installing screen

    Hi there,

    My installer supposes to deploy a large amount of files (around 4G), which mostly are images and videos. My issue is the progress bar on while installing screen doesn't synchronize well. For example, i can see the progress bar is full(100%) but it still copies files (the copying file text is still updating). Does anybody know what cause this issue and what should i do in order to resolve it?


    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    470
    I guess what's passed to the function that updates the progress bar is the rounded ratio installed/total files (or their total size) so after 99.5% it shows 100%, but still half percent remains - which could be lots of files if the total number or size is huge.

    You may put something like this
    Code:
    if e_StagePct >50 then 
    e_StagePct = e_StagePct-1;
    end
    It will make the progress bar show 99% instead of 100.

  3. #3
    Join Date
    Jun 2005
    Posts
    470
    forgot to mention, this code should go above the last line
    DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, e_StagePct);

    of the On Progress script

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by xu1t View Post
    My issue is the progress bar on while installing screen doesn't synchronize well. For example, i can see the progress bar is full(100%) but it still copies files (the copying file text is still updating).
    There was an issue where the progress bar didn't update correcty...
    The "while installing" actually gets re-used.
    There's a few stages where it goes 0 to 100%; and then it's supposed to be rest to 0 and repeat.
    the longest stage,and the one most peope "see" is the "installing files" stage.

    I reported this a while back; but AFAIK it was fixed, as I haven't seen it recently (not that I've been looking for it)
    I can't find the reference, since the search engine has forced waits, and seems to think lots of words I was using were "too short" or "too common"

    What version of SUF are you using?
    what OS are you seeing this on?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

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