解除国际版 Adobe Flash Player 区域限制
Adobe Flash Player 自 30.0 版本以后,国际版有区域限制,在大陆范围内无法使用国际版,只能使用“特供版”。
什么霸王条款我不说,但是每日一弹的广告我是经历过的。
使用说明请稳步原帖地址,以示对作者的尊重
来源:
卡饭论坛,作者:风之咩~
adobe flash player 去区域限制修补程序v0.9 支持到31_0_0_118
https://bbs.kafan.cn/thread-2123485-1-1.html
国际版安装包及“风之咩~”补丁下载网盘链接:
https://pan.baidu.com/s/1eJuHvz2cQCcVfn6lsuub5A
卡饭论坛,作者:峪飞鹰
不修改 Flash 可执行文件,解除国际版 FlashPlayer 锁区限制的工具
https://bbs.kafan.cn/thread-2130311-1-1.html
国际版安装包及“峪飞鹰”补丁下载网盘链接:
https://pan.baidu.com/s/1nvdVI7R#list/path=%2FFlashPlayer
以下自用批处理,可实现国际版安装包不断网安装,且存在对应的补丁情况下(根据 风之咩~ 补丁路径,需要已解压)自动替换。
@echo off
Title 安装 Adobe Flash Player
::================================================
::获取管理员权限并返回目录
fltmc >nul 2>&1 || (
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\GetAdmin.vbs"
echo UAC.ShellExecute "%~f0", "", "", "runas", 1 >> "%temp%\GetAdmin.vbs"
"%temp%\GetAdmin.vbs"
del /f /q "%temp%\GetAdmin.vbs" >nul 2>&1
exit
)
pushd "%~dp0"
::启用环境变量延迟
setlocal EnableExtensions EnableDelayedExpansion
::================================================
::安装 Adobe Flash Player
for /f %%i in ('dir /b install*.exe') do (
title 正在安装 %%i
echo 正在安装 %%i
if "%%i"=="install_flash_player_ax.exe" (
ver | find "10.0.">nul && (
echo.当前系统不需要安装 "%%i"
) || (
"%%i" /install /iv 10
)
) else (
"%%i" /install /iv 10
)
)
::================================================
::判断补丁位置并赋值变量 Hotfix
if exist Hotfix (
if exist Hotfix\ax (
set Hotfix=%cd%\Hotfix
) else (
if exist Hotfix\Hotfix\ax (
set Hotfix=%cd%\Hotfix\Hotfix
) else (
echo.未找到补丁文件,脚本终止,请解压补丁文件后继续或手动替换
pause & exit
)
)
) else (
if exist ax (
set Hotfix=%cd%
) else (
echo.未找到补丁文件,脚本终止,请解压补丁文件后继续或手动替换
pause & exit
)
)
::判断 x86 / x64 并替换补丁
::C:\Windows\SysWOW64\Macromed\Flash
::C:\Windows\System32\Macromed\Flash
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
ver | find "10.0.">nul ||(
echo.正在替换 ActiveX 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\Flash*.ocx') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
copy /y "%Hotfix%\ax\%file%" %SystemRoot%\System32\Macromed\Flash\
)
echo.正在替换 NPAPI 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\NPSWF*.DLL') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
copy /y "%Hotfix%\np\%file%" %SystemRoot%\System32\Macromed\Flash\
echo.正在替换 PPAPI 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\pepflashplayer*.DLL') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
del %SystemRoot%\System32\Macromed\Flash\manifest.json
copy /y "%Hotfix%\pp\32\%file%" %SystemRoot%\System32\Macromed\Flash\
copy /y "%Hotfix%\pp\32\manifest.json" %SystemRoot%\System32\Macromed\Flash\
) else (
ver | find "10.0.">nul ||(
echo.正在替换 ActiveX 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\Flash*.ocx') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
copy /y "%Hotfix%\ax\%file%" %SystemRoot%\System32\Macromed\Flash\
for /f %%i in ('dir /b %SystemRoot%\SysWOW64\Macromed\Flash\Flash*.ocx') do set file=%%i
del %SystemRoot%\SysWOW64\Macromed\Flash\%file%
copy /y "%Hotfix%\ax\%file%" %SystemRoot%\SysWOW64\Macromed\Flash\
)
echo.正在替换 NPAPI 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\NPSWF*.DLL') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
copy /y "%Hotfix%\np\%file%" %SystemRoot%\System32\Macromed\Flash\
for /f %%i in ('dir /b %SystemRoot%\SysWOW64\Macromed\Flash\NPSWF*.DLL') do set file=%%i
del %SystemRoot%\SysWOW64\Macromed\Flash\%file%
copy /y "%Hotfix%\np\%file%" %SystemRoot%\SysWOW64\Macromed\Flash\
echo.正在替换 PPAPI 补丁文件
for /f %%i in ('dir /b %SystemRoot%\System32\Macromed\Flash\pepflashplayer*.DLL') do set file=%%i
del %SystemRoot%\System32\Macromed\Flash\%file%
del %SystemRoot%\System32\Macromed\Flash\manifest.json
copy /y "%Hotfix%\pp\64\%file%" %SystemRoot%\System32\Macromed\Flash\
copy /y "%Hotfix%\pp\64\manifest.json" %SystemRoot%\System32\Macromed\Flash\
for /f %%i in ('dir /b %SystemRoot%\SysWOW64\Macromed\Flash\pepflashplayer*.DLL') do set file=%%i
del %SystemRoot%\SysWOW64\Macromed\Flash\%file%
del %SystemRoot%\SysWOW64\Macromed\Flash\manifest.json
copy /y "%Hotfix%\pp\32\%file%" %SystemRoot%\SysWOW64\Macromed\Flash\
copy /y "%Hotfix%\pp\32\manifest.json" %SystemRoot%\SysWOW64\Macromed\Flash\
)
