@echo off set VERSION=%1 set dotnetfx=ndp48-x86-x64-allos-enu.exe set sqlserverce=SSCERuntime_x64-DEU.msi set sqlserveroledb=msoledbsql.msi set vcredistx64=VC_redist.x64.exe set vcredistx86=VC_redist.x86.exe set dotnet-hosting=dotnet-hosting-8.0.10-win.exe :: download .NET Framework "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/dotnetfx48/%dotnetfx% %TEMP%\%dotnetfx% >NUL :: download Microsoft SQL Server Compact "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/sqlserver_ce/%sqlserverce% %TEMP%\%sqlserverce% >NUL :: download Microsoft SQL Server OLE DB "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/sqlServerOleDB/%sqlserveroledb% %TEMP%\%sqlserveroledb% >NUL :: download VC Redistributable "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/vcredist/%vcredistx64% %TEMP%\%vcredistx64% >NUL "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/vcredist/%vcredistx86% %TEMP%\%vcredistx86% >NUL :: download .NET Hosting "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/dotnet-hosting-8.0.10/%dotnet-hosting% %TEMP%\%dotnet-hosting% >NUL cd "%TEMP%" :: install dotnetfx "%dotnetfx%" /q /norestart :: install Microsoft SQL Server Compact msiexec.exe /i "%sqlserverce%" /quiet /norestart :: install Microsoft SQL Server OLE DB msiexec.exe /i "%sqlserveroledb%" IACCEPTMSOLEDBSQLLICENSETERMS=YES /quiet /norestart :: install VC Redistributable "%vcredistx64%" /quiet /norestart "%vcredistx86%" /quiet /norestart "%dotnet-hosting%" /quiet /norestart