All the installers that I've found seem to require a live internet connection to download the files. Is there an offline installer available to install GCC on my Windows 10 machine (that cannot be connected to the internet)? I've seen a possible solution where you install it on a machine with an internet connection then create an offline installer from that - but unsure how to do this.
Have tried AaronDanielson's answer in Is there an offline MinGW installer? but get "failed retrieving file 'offline.db' from disk: couldn't open file..." to install MingGW-w64.