PDA

View Full Version : Downloading files while x64 Support is Enabled



Unregistered
12-13-2010, 10:31 AM
It seems like the Download File (HTTP) command fails with error 502000000 when x64 Support is enabled. At least this seems to be the case when running the installer on a Win7 x64 system. Is this a bug in SetupBuilder or am I doing something wrong? If I first call the Disable x64 Support command, the download is fine.

Thanks

linder
12-13-2010, 10:48 AM
Hello,

No, you are not doing anything wrong. The underlying Windows WinSock does not work if the application is running in x64 mode and fails with an WSAGetLastError of "0" (which reports no error). The socket command fails with an INVALID_SOCKET error. This is a Windows bug and unfortunately, there is nothing that we can do :(

Friedrich

linder
12-14-2010, 01:48 AM
BTW, we'll try to detect this scenario automatically in the next build to work around this Windows x64 bug.

Thanks,
Friedrich

linder
12-14-2010, 02:34 AM
We have added a workaround and the HTTP download component handles this automatically now (no need to switch back to 32-bit mode before downloading files).

This workaround will be available in the next 7.3 maintenance build.

---
IMPROVEMENT: Installer: HTTP Downloads work from installation applications running in 64-bit mode without having to switch to 32-bit mode.
---

Thanks,
Friedrich