Posted November 21, 2019
Someone PLEASE help me, because I have a problem that is extremely important for me to fix!!! I need to install a version of Visual Studio with the .NET Core (NOT the Framework or whatever the previous thing was called, so it needs to be at least version 2015 or later!) onto an air-gapped computer (one which is disconnected from the Internet or any other network). The computer MUST NOT be connected to the Internet under any circumstances, and that's non-negotiable, so please don't suggest it (incidentally, this is the same reason why GOG being DRM-free is such a great thing for me). I'm sorry if that sounds harsh but people sometimes suggest things that I just can't do and it's a waste of time.
I've made some progress so far, but every step of the way has been an agonizing experience! I'll give you a quick summary (as quick as it can be) of everything that I've tried up until this point, so that we won't waste time on things that have already been done or tried:
I tried downloading the newest version from Microsoft, but it was a small file that expected to download all of the rest of the files during installation, which obviously won't work.
I considered a long process of installing it on a different computer (specifically this one, which is obviously connected to the Internet) and then migrating it to the other one, but that looked like a huge headache. Fortunately, someone found a web page for me:
https://www.ryadel.com/en/visual-studio-2019-vs2017-vs2015-vs2013-vs2012-older-download-iso-offline-installer/
This provides links to offline installers of various versions of Visual Studio! It only goes up to version 2015 because supposedly, anything newer than that doesn't exist as an offline installer (stupid Microsoft!). But that's alright, because version 2015 supposedly uses the Core, which is supposedly cross-platform compatible with other operating systems like MacOS, which is just what I need! I downloaded the Community Edition (I could get the Professional or Enterprise Edition but I figured that it might require registration or have a built-in expiration, and I only need something basic for what I'm doing, so I thought I'd play it safe - actually though, I also downloaded the Enterprise Edition just in case).
The file is more than 7 GB so it had better be the whole thing! I tried to copy the file onto a portable drive and then put it on the other computer, which caused a problem as well, because it said that even though there was enough space on the drive, the file was too big to be put into its FAT32 file system, so I cut it into a bunch of pieces, put it on the drive, moved it to the other computer and reassembled them into one file. I'm certain that I did it correctly, so it shouldn't be a problem.
Anyway, it's an ISO file, and somehow I've never actually had a need to deal with those. I've always been vaguely familiar with them but I didn't know how to use them because it was just never necessary for me. So I looked up how to deal with it on these pages:
https://www.lifewire.com/iso-file-2625923
https://www.howtogeek.com/356714/what-is-an-iso-file-and-how-do-i-open-one/
https://blogs.technet.microsoft.com/odsupport/2011/04/19/how-to-extract-the-contents-from-an-iso-file-without-burning-the-iso-to-disc/
Supposedly I can just burn it to a disc. I have a DVD burner, but the file is over 7 GB and a DVD can only hold something like 4.3 GB, so I don't think that would work. And I don't have a Blu-Ray burner. So instead, I read about how to mount the file and treat it like it's a drive, so that I can install it from there. Supposedly I need some special software to do it, and the third link above provides one program that it recommends (Pismo) and lists four other programs as well. I downloaded Pismo and installed it on my offline computer, but it didn't seem to give me the option to mount, like the third link above says that it's supposed to add to the right-click menu for the icon. When I try to run the Pismo program directly, I get a generic Windows error that it crashed and must be closed.
So I looked at the other tools instead. I couldn't find anything useful on the Daemon Tools site, and the link for CDmage wouldn't load. So I got IsoBuster and Winrar, and installed them both.
I tried Winrar first because that's a good, reputable program. I checked the box to associate ISO files during installation, and then I tried a similar mount option that it added to the right-click menu, but it didn't seem to cooperate at all. So I decided to just extract the files from the ISO into a folder and then run the installer from there. I know that it's not necessarily likely to work if I do that, because it may expect it to be running from a drive (like if you just copy a bunch of files from a CD to a hard drive and then run the installer, it will generally show an error saying that it can't find the CD or something like that), but I was desperate so I wanted to try anything that might work.
So after I extracted the files to a folder, I took a look inside, and there was a small installation file, but with it were a few folders, and one contained many more folders with lots of files, totaling about 7 GB, so I figured that all I need is in that folder. I went to run the installer, and it said that the computer isn't connected to the Internet and should be, so that the installation process can go smoothly! This is the exact thing that I was trying to avoid by using an offline installer, otherwise what's the point?!
But it also said that it doesn't have to be connected to the Internet and I can still attempt installation anyway, but if I try to install anything which isn't included then I may get an error. So I proceeded, looked at the customization of which files should be installed, and unchecked anything which isn't absolutely necessary (I didn't even install ASP.NET stuff, since I only need plain C# for making offline programs).
This part's weird. When I tried to install, every file that it attempted to install gave me an error, and sometimes I could click a button to skip it or retry it, and when I clicked one it would make the screen look like it's sliding to the right to allow the regular installation interface with the load bar to take it's place. But retrying never did any good, and sometimes it would only let me retry or only skip, and it would disable other options! And then after skipping a couple of files it got stuck on retry, so I couldn't go any further, and it started giving me the error before sliding back more than a small fraction of the width of the window, so that it wouldn't show the installation interface at all - only the error where I could retry.
At this point I decided to undo/cancel the installation, but the cancel button is only on the main installation interface, which it wouldn't display! So I had to press and hold the Enter key, so that it would attempt to retry a file so rapidly that the screen would slide back to the main installation interface slightly quicker than the errors kept popping up and causing it to slide away, resulting in a gradual sliding to the right of the error screen to reveal the main installation screen until it was just visible enough that I could click the cancel button and abort the installation!!!
So that all went nowhere. Then I decided to try IsoBuster, which seems like a DOS program that I have to run from the command prompt and give it parameters for an ISO file as an input and another file as an output, presumably the mounted version, I guess (?), but ultimately it gave me an error and didn't work. The weird thing is that it seemed to expect a WAV file, or wanted to generate a WAV file, or something, which is weird, because I'm not dealing with sounds at all, and I don't see how that would be relevant.
Anyway, could someone PLEASE just tell me once and for all how to mount and install this damn ISO file on my offline computer so that I can use Visual Studio 2015 on it??? Thank you!!!
I've made some progress so far, but every step of the way has been an agonizing experience! I'll give you a quick summary (as quick as it can be) of everything that I've tried up until this point, so that we won't waste time on things that have already been done or tried:
I tried downloading the newest version from Microsoft, but it was a small file that expected to download all of the rest of the files during installation, which obviously won't work.
I considered a long process of installing it on a different computer (specifically this one, which is obviously connected to the Internet) and then migrating it to the other one, but that looked like a huge headache. Fortunately, someone found a web page for me:
https://www.ryadel.com/en/visual-studio-2019-vs2017-vs2015-vs2013-vs2012-older-download-iso-offline-installer/
This provides links to offline installers of various versions of Visual Studio! It only goes up to version 2015 because supposedly, anything newer than that doesn't exist as an offline installer (stupid Microsoft!). But that's alright, because version 2015 supposedly uses the Core, which is supposedly cross-platform compatible with other operating systems like MacOS, which is just what I need! I downloaded the Community Edition (I could get the Professional or Enterprise Edition but I figured that it might require registration or have a built-in expiration, and I only need something basic for what I'm doing, so I thought I'd play it safe - actually though, I also downloaded the Enterprise Edition just in case).
The file is more than 7 GB so it had better be the whole thing! I tried to copy the file onto a portable drive and then put it on the other computer, which caused a problem as well, because it said that even though there was enough space on the drive, the file was too big to be put into its FAT32 file system, so I cut it into a bunch of pieces, put it on the drive, moved it to the other computer and reassembled them into one file. I'm certain that I did it correctly, so it shouldn't be a problem.
Anyway, it's an ISO file, and somehow I've never actually had a need to deal with those. I've always been vaguely familiar with them but I didn't know how to use them because it was just never necessary for me. So I looked up how to deal with it on these pages:
https://www.lifewire.com/iso-file-2625923
https://www.howtogeek.com/356714/what-is-an-iso-file-and-how-do-i-open-one/
https://blogs.technet.microsoft.com/odsupport/2011/04/19/how-to-extract-the-contents-from-an-iso-file-without-burning-the-iso-to-disc/
Supposedly I can just burn it to a disc. I have a DVD burner, but the file is over 7 GB and a DVD can only hold something like 4.3 GB, so I don't think that would work. And I don't have a Blu-Ray burner. So instead, I read about how to mount the file and treat it like it's a drive, so that I can install it from there. Supposedly I need some special software to do it, and the third link above provides one program that it recommends (Pismo) and lists four other programs as well. I downloaded Pismo and installed it on my offline computer, but it didn't seem to give me the option to mount, like the third link above says that it's supposed to add to the right-click menu for the icon. When I try to run the Pismo program directly, I get a generic Windows error that it crashed and must be closed.
So I looked at the other tools instead. I couldn't find anything useful on the Daemon Tools site, and the link for CDmage wouldn't load. So I got IsoBuster and Winrar, and installed them both.
I tried Winrar first because that's a good, reputable program. I checked the box to associate ISO files during installation, and then I tried a similar mount option that it added to the right-click menu, but it didn't seem to cooperate at all. So I decided to just extract the files from the ISO into a folder and then run the installer from there. I know that it's not necessarily likely to work if I do that, because it may expect it to be running from a drive (like if you just copy a bunch of files from a CD to a hard drive and then run the installer, it will generally show an error saying that it can't find the CD or something like that), but I was desperate so I wanted to try anything that might work.
So after I extracted the files to a folder, I took a look inside, and there was a small installation file, but with it were a few folders, and one contained many more folders with lots of files, totaling about 7 GB, so I figured that all I need is in that folder. I went to run the installer, and it said that the computer isn't connected to the Internet and should be, so that the installation process can go smoothly! This is the exact thing that I was trying to avoid by using an offline installer, otherwise what's the point?!
But it also said that it doesn't have to be connected to the Internet and I can still attempt installation anyway, but if I try to install anything which isn't included then I may get an error. So I proceeded, looked at the customization of which files should be installed, and unchecked anything which isn't absolutely necessary (I didn't even install ASP.NET stuff, since I only need plain C# for making offline programs).
This part's weird. When I tried to install, every file that it attempted to install gave me an error, and sometimes I could click a button to skip it or retry it, and when I clicked one it would make the screen look like it's sliding to the right to allow the regular installation interface with the load bar to take it's place. But retrying never did any good, and sometimes it would only let me retry or only skip, and it would disable other options! And then after skipping a couple of files it got stuck on retry, so I couldn't go any further, and it started giving me the error before sliding back more than a small fraction of the width of the window, so that it wouldn't show the installation interface at all - only the error where I could retry.
At this point I decided to undo/cancel the installation, but the cancel button is only on the main installation interface, which it wouldn't display! So I had to press and hold the Enter key, so that it would attempt to retry a file so rapidly that the screen would slide back to the main installation interface slightly quicker than the errors kept popping up and causing it to slide away, resulting in a gradual sliding to the right of the error screen to reveal the main installation screen until it was just visible enough that I could click the cancel button and abort the installation!!!
So that all went nowhere. Then I decided to try IsoBuster, which seems like a DOS program that I have to run from the command prompt and give it parameters for an ISO file as an input and another file as an output, presumably the mounted version, I guess (?), but ultimately it gave me an error and didn't work. The weird thing is that it seemed to expect a WAV file, or wanted to generate a WAV file, or something, which is weird, because I'm not dealing with sounds at all, and I don't see how that would be relevant.
Anyway, could someone PLEASE just tell me once and for all how to mount and install this damn ISO file on my offline computer so that I can use Visual Studio 2015 on it??? Thank you!!!
Post edited November 21, 2019 by HeresMyAccount
No posts in this topic were marked as the solution yet. If you can help, add your reply