Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 26th January 2003, 12:54   #1
veekee
Senior Member
 
Join Date: Mar 2002
Location: France / Paris
Posts: 138
new ideas for NSIS :)

Here are two features from a french nsis user

* ability to show a Welcome and a FInish page during uninstall (i didn't find anything about that in the doc.. ) !
* to choose whether to show or not 'time left' during file copy ...

Cya
veekee is offline   Reply With Quote
Old 26th January 2003, 13:09   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Time estimation:

http://forums.winamp.com/showthread....highlight=time

It basically says no because it's impossible. It is pretentious to say it's possible. For a normal time estimation one will have to bench all HDs used by installation, miraculously calculate the time required for any executed programs to run and the time that each Windows API call will consume. All of this, assuming nothing else will get in the way and add time and that nothing is cached or there are no weird accelerators running in the background. NSIS does hell of a lot more than just extract, it's impossible to estimate the time left.

As for welcome and finish pages, Joost will answer that.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 26th January 2003, 13:34   #3
virtlink
Major Dude
 
virtlink's Avatar
 
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
You say that Windows Installers are almost always wrong with their time remaining calculations. It mostly takes less time than predicted. This will give the user the feeling that his system is very fast, or that the installer is very fast .
But could the installer have a constant 'initial time per byte' to calculate the time remaining, then install the first file, measuring the time that it costed. The number of bytes divided by the time returns the new 'time per byte', which is more accurate. Use this for every file, and, as the installation progresses, the time is more precise.

Just an idea. If you gonna tell me that for a small file the 'time per byte' is lower than for a big file, then ignore me please.

"I'll quote you when you say something memorable."
- Claudia Pelsmaeker
virtlink is offline   Reply With Quote
Old 26th January 2003, 13:38   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Quote:
NSIS does hell of a lot more than just extract, it's impossible to estimate the time left.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 26th January 2003, 13:47   #5
veekee
Senior Member
 
Join Date: Mar 2002
Location: France / Paris
Posts: 138
About time :

i searched fot time left.. and didn't found anything Sorry about that !
By the way, i though too that displaying the time left was quite hard.. but, i tought you could know any tips to calculate it ....

Well, by the way, i'm currently watching the first episodes of John Doe ... niiiice ! Well, that has nothing to deal with NSIS

I'll wait Joost 's answer about MOdern UI

thaaaaanks
veekee is offline   Reply With Quote
Old 27th January 2003, 12:43   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Welcome and Finish pages are only available for the installer.

The uninstaller already has a confirmation page. And the user probably wants to check the uninstall log, so the Finish page is also not useful.
Joost Verburg is offline   Reply With Quote
Old 28th January 2003, 22:07   #7
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
Just an idea:
Could NSIS make a fake installation run, and use that elapsed time to calculate the time in future installations?

(please, don't answer "it's impossible to...")
n0On3 is offline   Reply With Quote
Old 29th January 2003, 05:01   #8
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
Quote:
Originally posted by n0On3
Just an idea:
Could NSIS make a fake installation run, and use that elapsed time to calculate the time in future installations?

How would that work? There are so many variables that there is no way to tell what state the users machine is in at the time of the install that would help you estimate this. You would need to know hundreds of variables, almost all of which are not available from the installer.
rainwater is offline   Reply With Quote
Old 29th January 2003, 14:34   #9
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
My idea was something like: it took 60 seconds to install in this level 2 machine, so when installing in a level 4 it will take 30.

The machine 'levels' would be specified beforehand with things like MHz and HDD speed.

I know that this wouldn't work perfectly (which is what a programmer always wants), but this feature is not for geeks and I like to think about them.

For me this feature is one step beyond the progress bar (which can be as erroneous as the time suggested feature).

It really doesn't matter if the seconds reported in the beginning of the installation are erroneous, what matters is that that number decreases to zero when finished.
n0On3 is offline   Reply With Quote
Old 29th January 2003, 16:29   #10
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Any kind of progress bar that doesn't accurately report the time remaining is worse than useless. Progress in terms of stages completed is more useful, even if you don't know the length of the stages concerned, since the stages done/stages total can never be wrong.
Sunjammer is offline   Reply With Quote
Old 30th January 2003, 10:04   #11
virtlink
Major Dude
 
virtlink's Avatar
 
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
You might be able to solve this by telling the user a very rough estimation, like:

'Connecting to website. This may take a few seconds.'

'Downloading file (100 bytes of 12 Mb). This may take a while.'

'Installing NSIS. This may take a few minutes.'

"I'll quote you when you say something memorable."
- Claudia Pelsmaeker
virtlink is offline   Reply With Quote
Old 30th January 2003, 15:33   #12
Kiaser Zohsay
Junior Member
 
Join Date: Jan 2003
Posts: 4
Hmm, perhaps web browsers are a good example. When downloading a file, the time remaining is an estimate calculated based on the portion download so far and time elapsed. Of course, download speed fluctuates, so the estimate is adjust accordingly. Also, the estimate does not even show up until enough data has transfered to make a reasonable guess.

NSIS does do more than extracting, but for most installs extracting is the most time consuming part.

Just a thought.

kz
Kiaser Zohsay is offline   Reply With Quote
Old 30th January 2003, 18:16   #13
virtlink
Major Dude
 
virtlink's Avatar
 
Join Date: Sep 2002
Location: At [4C69:6E6B]
Posts: 561
This is a heated discussion.

GetRight (can) use 'About 2 minutes remaining', which looks better than (like IE when downloading): '2 minutes, 22 seconds remaining', which isn't even accurate.

But I agree with the fact that there should be an remaining time counter visible.

"I'll quote you when you say something memorable."
- Claudia Pelsmaeker
virtlink is offline   Reply With Quote
Old 1st February 2003, 20:19   #14
veekee
Senior Member
 
Join Date: Mar 2002
Location: France / Paris
Posts: 138
Just another improvement... surely much more easier to do ! Instead of a percentage when launching the installer, would it be possible to choose between (or just to use) this and a progress bar (which is more ergonomic ) ?
Note : this is JUST an idea
veekee is offline   Reply With Quote
Old 2nd February 2003, 14:22   #15
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
A percentage count for file extraction is already in the todo list.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp 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