Old 18th July 2005, 21:05   #1
BlueHabu
Junior Member
 
Join Date: Jul 2005
Posts: 1
Progress Bar Question

I have a somewhat large installer 330MB compress/550 uncompressed. Using MUI the progress seems to get "stuck" at the point when files are being copied (around 25%) and stays there until all the files are copied (about 3 minutes) . Then it jumps to like 75% to launch a setup exe I have. Then it finishes up.

Any ideas what is going on? I would like the progress bar to move during the time files are being copied over. I very newbish about this stuff. I just took on the installer project where i work

Thanks
BlueHabu is offline   Reply With Quote
Old 19th July 2005, 04:04   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 916
I think it is because the progress bar's maximum value is the number of commands in the install section, and as the commands are carried out the progress bar increases for each command. I have a big installer (250 uncompressed/ 50 compressed) and I noticed this on my installer. The files being copied take a while to execute but the registry commands; INI writing; executing other programs; etc... take almost no time to execute. If you put all your file commands at the end of the section (after all other commands) you will see that the progress bar will jump at the start and then it appears to stop right at the end.

It's just one of those things you have to live with.
One solution I can see is to put a command that takes no time to execute in between the file commands so it looks like the install is constant.

I hope this info helps.
JasonFriday13 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump