installer icon indicating copy to clipboard operation
installer copied to clipboard

Need offline installer for .NET7+

Open ameyasubhedarats opened this issue 2 years ago • 11 comments

We have apps that are hardware-centric deployed on fields and factories.

These are private networks not connected to the internet.

Need an offline installer for .NET7+, so we can deploy essential security patches and upgrade to .NET 8 in the future.

ameyasubhedarats avatar Jun 05 '23 17:06 ameyasubhedarats

The installers should work offline already today. Are you getting a specific errors when trying the runtime install offline?

marcpopMSFT avatar Jun 06 '23 20:06 marcpopMSFT

@gilvargas , Can you please install .NET 703 both SDK and Runtime on our on-prem setup with a private network, and verify there are no issues?

ameyasubhedarats avatar Jun 06 '23 21:06 ameyasubhedarats

I think you can just download the official offline installer from https://dotnet.microsoft.com/en-us/download/dotnet

hez2010 avatar Jun 07 '23 11:06 hez2010

Thanks for the link. We will verify the following configuration in an on-prem private network setup.

@tcthien00 @gilvargas, please confirm. .NET 4.8 ->OS Windows -> SDK -> Runtime
.NET 7 -> OS Windows -> SDK -> Runtime .NET 7 -> OS Linux -> SDK -> Runtime Visual Studio 2022 -> Offline Installer and Offline Update

ameyasubhedarats avatar Jun 07 '23 17:06 ameyasubhedarats

@ameyasubhedarats, @MaruthuJanarthanan

.NET 7 OS Linux

  • SDK sudo chmod 777 -R $HOME/dotnet && sudo tar mzxf dotnet-sdk-7.0.201-linux-x64.tar.gz -C $HOME/dotnet

  • Runtime sudo tar mzxf dotnet-runtime-7.0.3-linux-x64.tar.gz -C $HOME/dotnet

NOTE: No issues observed creating a basic test file.

gilvargas avatar Jun 07 '23 18:06 gilvargas

@gilvargas, confirm that we are not connected to the internet. And also confirm you can do the installation from scratch without any previous version of .NET7 installed.

ameyasubhedarats avatar Jun 07 '23 18:06 ameyasubhedarats

@marcpopMSFT @hez2010 @rbhanda

Still not able to find correct method to download and deploy VS offline installer. Any idea?

I found below info: image

gilvargas avatar Jun 29 '23 17:06 gilvargas

Looking through documentation, this information may help creating an offline install package for VS: https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022

marcpopMSFT avatar Jun 29 '23 22:06 marcpopMSFT

Thanks for the info @marcpopMSFT. It helped me to create the offline installer.

gilvargas avatar Jun 30 '23 18:06 gilvargas

Thanks for confirming that worked for you. At this time, are you unblocked and can this issue be closed?

marcpopMSFT avatar Jun 30 '23 20:06 marcpopMSFT

Yes. Let's close this issue now.

gilvargas avatar Jul 03 '23 17:07 gilvargas