Archive: Detecting connection speed


Detecting connection speed
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


You can call GetTickCount, using the System plug-in, before and after you use NSISdl to download a file from your website.


http://forums.winamp.com/showthread....light=Internet sample of InternetGetConnectedState usage. You can detect connection type LAN/modem.