PDA

View Full Version : Detecting connection speed


cowwoc
17th February 2005, 22:48
Hi,

I need to be able to (roughly) detect the user's connection speed at installation time so I can decide whether his should default to "full installation" or "compact installation".

Does anyone have any idea on how to implement this? At the very least, I need to be able to do some timer operations and NSIS doesn't seem to have any...?

Thanks,
Gili

kichik
18th February 2005, 08:06
You can call GetTickCount, using the System plug-in, before and after you use NSISdl to download a file from your website.

Takhir
18th February 2005, 08:44
http://forums.winamp.com/showthread.php?s=&threadid=196325&highlight=Internet sample of InternetGetConnectedState usage. You can detect connection type LAN/modem.