Created
February 1, 2018 03:54
-
-
Save cointoss1973/94ddbb1f7fc5f7de5a567e3c661d285b to your computer and use it in GitHub Desktop.
.NET Framework 3.5 を Windows 10 にインストールする (要メディア)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Title .NET Framework 3.5 Offline Installer | |
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%I:\\sources\install.wim" set setupdrv=%%I | |
if defined setupdrv ( | |
echo Found drive %setupdrv% | |
echo Installing .NET Framework 3.5... | |
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess | |
echo. | |
echo .NET Framework 3.5 should be installed | |
echo. | |
) else ( | |
echo No installation media found! | |
echo Insert DVD or USB flash drive and run this file once again. | |
echo. | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment