andreasoc
Goto Top

Wie .net6 in der Domäne verteilen

Hallo zusammen,
ich möchte bei uns im Unternehmen .net6 verteilen und nicht überall es per Hand installieren. Leider gibt es dazu keine msi Datei. Hat hier jemand Erfahrungen?

Content-Key: 3461064745

Url: https://administrator.de/contentid/3461064745

Printed on: April 26, 2024 at 23:04 o'clock

Member: em-pie
em-pie Jul 27, 2022 updated at 09:16:32 (UTC)
Goto Top
Moin,

nimm halt ne Powershell/ Batch-Datei und verteile das per Startskript.
dotnet6

<edit>Die gleichen Parameter gelten auch für die Runtime </edit>

Prüfe vorher noch, ob .net6 nicht schon installiert ist:
C:\Users>dotnet --info
Ergebnis:
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download

Host (useful for support):
  Version: 3.1.6
  Commit:  3acd9b0cd1

.NET Core SDKs installed:
  No SDKs were found.

.NET Core runtimes installed:
  Microsoft.NETCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Edit:
Bzw. https://www.theodorjaggi.com/powershell-installierte-net-framework-versi ...
Hier nur die Versionnr. im RegKey anpassen

Gruß
em-pie
Member: colinardo
colinardo Jul 27, 2022 updated at 09:10:38 (UTC)
Goto Top
Servus.
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
dotnet-runtime-6.x.x-win-x86.exe /install /quiet /norestart
Oder:
https://docs.microsoft.com/de-de/dotnet/core/tools/dotnet-install-script
.\dotnet-install.ps1 -Runtime windowsdesktop
Grüße Uwe