Bump flash security

This commit is contained in:
Mario Fetka 2014-02-06 11:35:05 +01:00
parent 9fa19eed50
commit 223c30057a
10 changed files with 35 additions and 28 deletions

View File

@ -30,9 +30,10 @@ if exist "%temp%\list.txt" (del "%temp%\list.txt")
echo Uninstalling existing Visual C++ %arch% Runtime Redistributables echo Uninstalling existing Visual C++ %arch% Runtime Redistributables
echo (please wait as this process may take a few moments) echo (please wait as this process may take a few moments)
reg query hklm\software\microsoft\windows\currentversion\uninstall /f "Microsoft Visual C++ 2005 Redistributable" /s >>"%temp%\list.txt"
for /f "delims=\ tokens=7" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q) wmic product where "name like 'Microsoft Visual C++ 2005 Redistributable%%'" get name >>"%temp%\list.txt"
for /f "usebackq skip=1 delims=" %%a in ('type "%temp%\list.txt"') do (wmic product where name='%%a' call uninstall /nointeractive)
del "%temp%\list.txt" del "%temp%\list.txt"

View File

@ -30,9 +30,14 @@ if exist "%temp%\list.txt" (del "%temp%\list.txt")
echo Uninstalling existing Visual C++ %arch% Runtime Redistributables echo Uninstalling existing Visual C++ %arch% Runtime Redistributables
echo (please wait as this process may take a few moments) echo (please wait as this process may take a few moments)
reg query hklm\software\microsoft\windows\currentversion\uninstall /f "Microsoft Visual C++ 2008 Redistributable" /s >>"%temp%\list.txt" rem reg query hklm\software\microsoft\windows\currentversion\uninstall /f "Microsoft Visual C++ 2008 Redistributable" /s >>"%temp%\list.txt"
rem for /f "delims=\ tokens=7" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q)
wmic product where "name like 'Microsoft Visual C++ 2008 Redistributable - x64%%'" get name >>"%temp%\list.txt"
for /f "usebackq skip=1 delims=" %%a in ('type "%temp%\list.txt"') do (wmic product where name='%%a' call uninstall /nointeractive)
for /f "delims=\ tokens=7" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q)
del "%temp%\list.txt" del "%temp%\list.txt"

View File

@ -1,4 +1,4 @@
@Echo off rem @Echo off
if exist "%PROGRAMFILES(X86)%" (set arch=x64) ELSE (set arch=x86) if exist "%PROGRAMFILES(X86)%" (set arch=x64) ELSE (set arch=x86)
"%windir%\system32\reg.exe" query "HKU\S-1-5-19" >nul 2>&1 && ( "%windir%\system32\reg.exe" query "HKU\S-1-5-19" >nul 2>&1 && (
@ -26,31 +26,32 @@ goto :eof
:checkok :checkok
if exist "%temp%\list.txt" (del "%temp%\list.txt") if exist "%temp%\list.txt" (del "%temp%\list.txt")
if exist "%temp%\list1.txt" (del "%temp%\list1.txt")
if %arch% neq x64 goto :x64skip
echo Uninstalling existing Visual C++ x86 Runtime Redistributables echo Uninstalling existing Visual C++ x86 Runtime Redistributables
echo (please wait as this process may take a few moments) echo (please wait as this process may take a few moments)
reg query hklm\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall /f "Microsoft Visual C++ 2008 Redistributable" /s >>"%temp%\list.txt" rem reg query hklm\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall /f "Microsoft Visual C++ 2008 Redistributable" /s >>"%temp%\list.txt"
for /f "delims=\ tokens=8" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q) rem for /f "delims=\ tokens=8" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q)
wmic product where "name like 'Microsoft Visual C++ 2008 Redistributable - x86%%'" get name >>"%temp%\list.txt"
setLocal EnableDelayedExpansion
set name=%~1
for /f "tokens=* delims= " %%a in ('type "%temp%\list.txt"') do (
set str=%%a
set str=!str:###=%name%!
echo !str! >> "%temp%\list1.txt"
)
for /f "skip=1 delims=" %%a in ('type "%temp%\list1.txt"') do (wmic product where "name like '%%a%'" call uninstall /nointeractive)
for /f "skip=1 delims=" %%a in ('type "%temp%\list1.txt"') do (echo "%%a")
pause
del "%temp%\list.txt" del "%temp%\list.txt"
del "%temp%\list1.txt"
goto :install rem "%windir%\system32\msiexec.exe" /i vc_red.msi /q transforms=2k8-x86.mst
:x64skip
echo Uninstalling existing Visual C++ %arch% Runtime Redistributables
echo (please wait as this process may take a few moments)
reg query hklm\software\microsoft\windows\currentversion\uninstall /f "Microsoft Visual C++ 2008 Redistributable" /s >>"%temp%\list.txt"
for /f "delims=\ tokens=7" %%a in ('type "%temp%\list.txt"') do ("%windir%\system32\msiexec.exe" /X%%a /q)
del "%temp%\list.txt"
:install
"%windir%\system32\msiexec.exe" /i vc_red.msi /q transforms=2k8-x86.mst
:eof :eof

View File

@ -42,8 +42,8 @@ JREVERSION="7.0.510.13"
# ================================== # ==================================
FLASHUPDATE="1" FLASHUPDATE="1"
FLASHVERSION="12.0.0.43" FLASHVERSION="12.0.0.44"
FLASHAXVERSION="12.0.0.38" FLASHAXVERSION="12.0.0.44"
# ================================== # ==================================
# Update Adobe Schockave # Update Adobe Schockave

View File

@ -1 +0,0 @@
5a68f7aa21c4217cf801a46616fe724d601f773a /home/mario/.opsi-dist-cache/sereby.aio-2.0.9.1/X86/install_flash_player-12.0.0.43.exe

View File

@ -0,0 +1 @@
6a38d8e1968437a499da968e59de9188717ecbb3 /home/mario/.opsi-dist-cache/sereby.aio-2.1.0.1/X86/install_flash_player-12.0.0.44.exe

View File

@ -1 +0,0 @@
8deb33bcbbbbecfcbcbeb0f861d2c7492599da2b /home/mario/.opsi-dist-cache/sereby.aio-2.0.9.1/X86/install_flash_player_ax-12.0.0.38.exe

View File

@ -0,0 +1 @@
d1bab8909866bff30c3e835feb7820150c31ec82 /home/mario/.opsi-dist-cache/sereby.aio-2.1.0.1/X86/install_flash_player_ax-12.0.0.44.exe

View File

@ -1 +0,0 @@
d3fcff4f538b824df577d77485c84206cbefbc64 /home/mario/.opsi-dist-cache/sereby.aio-2.0.9.1/X86/uninstall_flash_player-12.0.0.43.exe

View File

@ -0,0 +1 @@
24294bef088a87b026c4a69a30d1d2fe145542db /home/mario/.opsi-dist-cache/sereby.aio-2.1.0.1/X86/uninstall_flash_player-12.0.0.44.exe