Microsoft Silverlight

Post date: May 02, 2013 1:22:2 PM

@rem Microsoft Silverlight is a free plug-in, powered by the .NET framework and compatible with multiple browsers, devices

@rem and operating systems, bringing a new level of interactivity wherever the Web works. 網路瀏覽器外掛程式

@rem https://www.microsoft.com/getsilverlight/Get-Started/Install/Default

if not exist "%SystemDrive%\Program Files (x86)" goto not_64bit

if exist MicrosoftSilverlight\Silverlight_x64.exe goto next_64bit

start /wait "" wget.exe "https://download.microsoft.com/download/D/D/F/DDF23DF4-0186-495D-AA35-C93569204409/50918.00/Silverlight_x64.exe" --directory-prefix=MicrosoftSilverlight

:next_64bit

start /wait MicrosoftSilverlight\Silverlight_x64.exe /q

goto end

:not_64bit

if exist MicrosoftSilverlight\Silverlight.exe goto next

start /wait "" wget.exe "https://download.microsoft.com/download/D/D/F/DDF23DF4-0186-495D-AA35-C93569204409/50918.00/Silverlight.exe" --directory-prefix=MicrosoftSilverlight

:next

start /wait MicrosoftSilverlight\Silverlight.exe /q

:end