Bug Description

Wubi could detect IE/mozilla proxy setting and pass them to the metalink downloader ( if it supports http proxy ) .
- A quicker trick could be to give a dialog box to the user in case of failed downloading , so he can specify the http proxy.
- Another way could be to let Wubi use a copy of the alternate iso on the hard drive instead of trying to download it.

The download plugin should of course be able to detect proxy settings. I have no idea how to do that, so I'll have to find out first... The mentioned workaround is a good alternative until then! Thanks for reporting the bug!

Lookup the MSDN documentation for InternetGetProxyInfo from wininet. You need to load the JSProxy.dll dynamically. This will work starting from IE 5, and should also run with Win9x.

If you dump Win9x support, you can use the more advanced WinHTTP, look for WinHttpGetProxyForUrl or WinHttpGetIEProxyConfigForCurrentUser. The first is recommended since it handles WPAD scripts correctly.

I actually needed a different approach compared to the suggestion in comment 1. When I used ubuntu-8.04-alternate-i386.iso, /ubuntu/install/boot/vmlinuz wasn't created (might be a bug?). After reboot, this resulted in a complaining grub (find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz)

Here's what I did: I've downloaded both Wubi-8.04.exe and ubuntu-8.04-desktop-i386.iso (desktop!) into the same directory, and executed Wubi-8.04.exe.

It's been almost 5 years since the last comment, none of the approaches to workaround the issue work now.

Wubi.exe will now uninstall any previous trace of unfinished download, so it won't use the install folder where it downloads the iso to. And it doesn't seem to look for the iso when I put it in the same directory.

Any advice? There should be a way to install Ubuntu using wubi in a computer without internet or through proxy