tdm-gcc icon indicating copy to clipboard operation
tdm-gcc copied to clipboard

Installer issue on Windows Vista 32-bit

Open sergioferrari opened this issue 4 years ago • 8 comments

I'm trying to install TDM GCC on an old laptop with 32-bit Windows Vista. Starting the operation "Action Wizard" and choosing "Create" the installer tries to download the file "net-manifest.txt". After a few seconds, the following message is shown: "An error occured while downloading 'https://jmeubank.github.io/tdm-gcc/net-manifest.txt'. Would you like to try again?" I press the "retry" button, but the error reoccurs. The error occurs with both web and other versions (always 32-bit).

sergioferrari avatar Apr 14 '20 19:04 sergioferrari

Hmm, I wish that error message were a little more helpful, for both of our sakes. Sorry about that. Do you have any way to tell if there is a system call that's failing, or a timeout? What happens when you try to download that file from your browser?

jmeubank avatar Apr 22 '20 14:04 jmeubank

Surfacing some relevant code: https://github.com/jmeubank/tdm-gcc-installer/blob/master/main.nsh#L667-L680 https://nsis.sourceforge.io/Inetc_plug-in

jmeubank avatar Apr 22 '20 14:04 jmeubank

Is Windows Firewall blocking the TDM-GCC installer?

jmeubank avatar Apr 22 '20 14:04 jmeubank

Inserting the path "https://jmeubank.github.io/tdm-gcc/net-manifest.txt" into the browser's address bar I see the net-manifest.txt file content. I have disabled the Windows firewall and tryed again but the error recurred. The error message is showed after 2-3 seconds (it doesn't seem to be a timeout error).

sergioferrari avatar Apr 22 '20 16:04 sergioferrari

I wonder if the problem is related to the WinInet API that inetc.dll uses. Github.io may be using stronger security than is supported by the Vista version of the API. Do you have Internet Explorer installed and does it successfully display the URL?

jmeubank avatar Apr 30 '20 03:04 jmeubank

As you know, on old systems there is a general problem of updating software and in particular of browsers. Yes, on my old laptop I have IE installed (9.0...), but going to the Github home page (https://www.github.com/) IE tells me that it is impossible to view that page. The most recent browsers that I can use, and that works decently, are Mozzilla Firefox (52.9.0) and Chrome (49.0). Both, too, are probably not upgradeable. Visiting the Github home page, a strip appears with the following message: "GitHub no longer supports this web browser. Learn more about the browsers we support". Using Firefox or Chrome, I can view the TDM-GCC URL.

sergioferrari avatar Apr 30 '20 12:04 sergioferrari

Okay, this appears to be an incompatibility that could be fixed by using something other than inetc.dll for downloads. A new version of the TDM-GCC installer will be needed.

In the meantime, you might be able to get all the packages you need from a bundle installer with the "Check for updated files" box unchecked. If not, you can also try manually unpacking the release archives as listed in the Binaries column here.

jmeubank avatar May 01 '20 02:05 jmeubank

I encountered the same problem as you. My solution is: go to Internet Options, Advanced, and check TLS1.2, TLS1.3. Just want this picture。 Internet

tinygone avatar May 28 '24 18:05 tinygone