.NET 3.5 is not working #64
This commit is contained in:
parent
8a7fb51910
commit
f8ecbab87f
@ -10,6 +10,7 @@ echo ####### %0 #######
|
||||
echo killing ssh agent ...
|
||||
taskkill /F /IM ssh-agent.exe
|
||||
taskkill /F /IM ssh.exe
|
||||
taskkill /F /IM WinAuth.exe
|
||||
echo.
|
||||
|
||||
echo deleting %TOOLS% ...
|
||||
|
@ -2,6 +2,7 @@
|
||||
rem this script puts everything in place ...
|
||||
|
||||
set TOOLS=c:\tools
|
||||
set SXS=c:\sources\sxs
|
||||
set BATCH=%TOOLS%\scripts\autoconfig-all.cmd
|
||||
set LOG=c:\CustomSetup.txt
|
||||
|
||||
@ -22,14 +23,18 @@ echo restart explorer ...
|
||||
taskkill /F /IM explorer.exe & start explorer.exe
|
||||
echo.
|
||||
|
||||
echo deleting %TOOLS% ...
|
||||
rd /S /Q %TOOLS%
|
||||
echo deleting %TOOLS% and %SXS% ...
|
||||
rd /S /Q %TOOLS% %SXS%
|
||||
echo.
|
||||
|
||||
echo copying folder %TOOLS% ...
|
||||
robocopy tools %TOOLS% /MIR /256 /NJH /NFL /NDL
|
||||
echo.
|
||||
|
||||
echo copying folder %SXS% ...
|
||||
robocopy sources\sxs %SXS% /MIR /256 /NJH /NFL /NDL
|
||||
echo.
|
||||
|
||||
echo starting %BATCH% ...
|
||||
call %BATCH%
|
||||
echo.
|
||||
|
@ -67,7 +67,7 @@ if %windows_updates% == 0 (
|
||||
echo.
|
||||
)
|
||||
|
||||
echo allow execution of any powershell script ...
|
||||
echo allow execution of any powershell scripts ...
|
||||
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine"
|
||||
powershell -Command ^
|
||||
"$T=Get-ExecutionPolicy ; if ($T -eq 'Bypass') { ^
|
||||
@ -78,6 +78,10 @@ powershell -Command ^
|
||||
}"
|
||||
echo.
|
||||
|
||||
echo enabling OS feature "NetFx3" ...
|
||||
dism /online /enable-feature /featurename:NetFx3 /All /Source:c:\sources\sxs /LimitAccess
|
||||
echo .
|
||||
|
||||
call modify-path.cmd
|
||||
echo.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
set LANG=de-DE
|
||||
set windows_updates=1
|
||||
set windows_updates=0
|
||||
set logon_logo=1
|
||||
set install_firefox=1
|
||||
set install_aerolite=1
|
||||
|
Loading…
Reference in New Issue
Block a user