mirror of
https://github.com/GittyMac/OpenFK.git
synced 2026-03-22 01:54:26 -05:00
20 lines
732 B
Batchfile
20 lines
732 B
Batchfile
@echo off
|
|
echo Welcome to OpenFK OCX fetcher!
|
|
echo THIS IS ONLY FOR x64 PCS!
|
|
echo Written by Lako
|
|
echo ------------------------------
|
|
echo Downloading data...
|
|
mkdir tempdl
|
|
cd tempdl
|
|
powershell -Command "Invoke-WebRequest http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/09/windows10.0-kb3087040-x64_ad0f78efb7b122fa9472dbb8050c4f358aceab49.msu -OutFile update.msu"
|
|
echo Extracting MSU...
|
|
expand -f:* update.msu ./
|
|
echo Extracting CAB...
|
|
expand Windows10.0-KB3087040-x64.cab -F:* ./
|
|
echo Fetching OCX...
|
|
copy "%cd%\amd64_adobe-flash-for-windows_31bf3856ad364e35_10.0.10240.16513_none_33a2f3db043a608d\flash.ocx" "..\Flash.ocx"
|
|
cd ..
|
|
rmdir /s /q tempdl
|
|
echo Your Flash.OCX is served!
|
|
pause
|