I have a .BAT file that Silently installs .NET if it does not detect it in the registry. I'm having a couple issues though. The first is that if the .NET install takes too long, the .BAT times out and defaults to my '.NET install failed' error while the program is still installing. The second issue is that I think I set it up for a silent install, but the system still asks if you want to install .NET and with what settings. My code is below, is there anything I can do to make it function Properly?
:DOTNETBAD @Echo Installing .NET 3.5 @echo: Start ""/wait "%~dp0\dotnetfx35setup.exe" /q /norestart if EXIST C:\Windows\Microsoft.NET\Framework64\v3.5 (GOTO DOTNETGOOD ) else ( GOTO DOTNETFAIL )