Adobe Flash Player 11

Windows 2000 fixes and solutions for apps

Adobe Flash Player 11

PostPosted by OldBoy2k » Sun Mar 25, 2012 1:18 pm

thanks to Ortwin Pinke for this post on his blog:
Install Adobe Flash Player 11.1.102.62 and later under Windows 2000
March 13th, 2012 by Ortwin Pinke

This is a non-literal translation of my German article for all non-german speeking readers. Please excuse my English is not always correct, but I‘m still learning. ;-)

There are regulary updates for Adobe Flash Player to fix bugs and close security holes. So when i’m updating my FireFox i also check from time to time if there are new updates for used addons. Lasttime i did that i got a security warning to update my Flash Player 11.1.102.55 , because it contained security vulnerabilities.

No problem, I thought and so i clicked on the direct link and downloaded the update file. But when i tried to install the update the result was the following message


The procedure “SetDllDirectoryW” in the dynamic library “KERNEL32.dll” not found. (See illustration in german article)

In my research I found a forum entry in the Adobe forum on the topic (http://forums.adobe.com/thread/965334), but it leaves open a solution and refers to an already closed bugtracker entry.

So then no update yet?

But there is a possibility. The procedure “SetDllDirectoryW” in kernel32.dll the message talks about is used starting with XP SP1. However, there is a wrapper project (viewtopic.php?f=6&amp, t = 7) which adds this procedure. For installing the Adobe Flash Player in the current version 11.1.102.62 with Win2000 you have to follow these instructions:

* Download the wrapper package http://oldcigaret.info/win2k/files/win2k_xp_v1_10.zip
* Unzip the zip file to a directory, for example C:\w2k-wrapper
* Run the bat file “INSTALL_WRAPPER.BAT” in the directory C:\w2k-wrapper\install\
* Restart your computer in order to register the DLL’s (see comment from top)
* Move the downloaded flash player update file “install_flash_player_32bit.exe” to C:\w2k-wrapper\bin\
* Now you may start the update bei doubleclick on the exe-file

You may leave the wrapper files for upcoming updates, but if you don’t need the wrapper anymore after that, you first have to undo registry entries using the file “UNINSTALL_WRAPPER.BAT” in C:\w2k-wrapper\install\ and reboot your computer. This will undo the changes in the registry done by the install bat.

I cannot tell you if the wrapper also works this way for other applications or updates, but if you try out i’m pleased if you leave a comment. There were some infos about non-working Skype updates on the web, so i will try out updating Skype using the wrapper.
I hope this post helped you and i‘m looking forward to your feedback.



Source: Ortwinpinke: Install Adobe Flash Player 11 on Windows 2000

More infos on BlackWingCats software blog:
Flash Player 11 (1)(JAP)
Flash Player 11 (2)(JAP)

Adobe Support Forum Thread:
11.1.102.62 and Win2K install - SetDllDirectoryW not supported
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Adobe Flash Player 11

PostPosted by justjohnny » Wed Apr 04, 2012 4:15 am

Adobe Flash Player 11 can be fixed internally by Adobe if the bug receives enough votes.

http://forums.adobe.com/message/4246854#4246854
Quick update. Unfortunately this bug has been deferred internally at this time. I've bounced it back but couldn't persuade our review board to reconsider. At this point, the only way this will be addressed is via 3rd party wrappers (see above) or an overwhelming show of support on the public bug.


https://bugbase.adobe.com/index.cfm?eve ... id=3120661


Thanks,

Chris


PLEASE vote here:
https://bugbase.adobe.com/index.cfm?eve ... id=3120661
(A free account at Adobe will need to be created first)
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Fri Apr 13, 2012 12:30 am

justjohnny wrote:Adobe Flash Player 11 can be fixed internally by Adobe if the bug receives enough votes.

http://forums.adobe.com/message/4246854#4246854
Quick update. Unfortunately this bug has been deferred internally at this time. I've bounced it back but couldn't persuade our review board to reconsider. At this point, the only way this will be addressed is via 3rd party wrappers (see above) or an overwhelming show of support on the public bug.


https://bugbase.adobe.com/index.cfm?eve ... id=3120661


Thanks,

Chris


PLEASE vote here:
https://bugbase.adobe.com/index.cfm?eve ... id=3120661
(A free account at Adobe will need to be created first)

^^ I have already voted. Please register and vote today so we can get this fixed. The problem isn't with Flash, it is with the installer.
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Wed Apr 18, 2012 4:17 am

Latest Adobe Flash 11 release: version 11.2.202.233.

install_flash_player_ax_32bit.exe (3.93MB)

Trying to run it gives this error:
install_flash_player_ax_32bit.exe - Entry Point Not Found
The procedure entry point SelDllDirectoryW could not be located in the dynamic link library KERNEL32.dll.


Opening it in Dependency Walker straight away gives an error without even profiling it.

DW files:
install_flash_player_ax_32bit20120418.dwi (573.92KB)
install_flash_player_ax_32bit20120418_profiled.dwi (577.09KB)
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Wed Apr 18, 2012 4:19 am

Flash itself isn't the problem, its just the installer.

What could be done in the code to fix the problem? What alternative procedures could the programmers use so that it works natively on win2k?
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by OldBoy2k » Sat May 05, 2012 3:46 pm

ppgrainbow wrote:
SetDllDirectoryW is also found in FlashUtill11f_ActiveX.exe and FlashUtill11f_Plugin.exe files. The other files do not have that dependency.

Last Versions of Software for Windows 2000

and in the installer INSTALL_FLASH_PLAYER_AX_32BIT.EXE itself. The API removes the current active path of a library search path and i'm afraid i don't know a equal replacement on Windows 2000. Just use the wrapper Kernel to fix the export.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Adobe Flash Player 11

PostPosted by OldBoy2k » Fri Jul 06, 2012 3:21 pm

Important Info for all CPUs without SSE2 instruction sets:

Problem: System freezes (installed Flash Player v11.x)
Info: The last working version without SSE2 optimization is v10.x. For Windows 2000 v10.1.102.64 (official).Still updated 10.3.xxx requires wrapper Kernel for installation.

Installation of Flash Player v10.3.183.20
Missing Exports:
Kernel32.dll - SetDllDirectoryW
(also required for Flash Player Uninstaller)

Fix:
1) for KERNEL32.DLL you will need the wrapper pack:
click here to download Wrapper pack
copy together with the renamed Win2k system KERNEL32_ORG.DLL to the Flash Player and Uninstaller setup directory.
2) download Adobe Flash Player Uninstaller:
Uninstall Flash Player on Windows
uninstall previous Flash Player version.
3) download v10.3.183.20 (or latest 10.3.xxx build)
Archived Flash Player versions
4) install Flash Player.
5) the FlashUtil10ze_Plugin.exe (v10.3.183.20) in C:\WINNT\System32\Macromed\Flash also requires the wrapper Kernel.Either replace it with FlashUtil10l_Plugin.exe from v10.1.102.64 (rename to FlashUtil10ze_Plugin.exe and replace it) or disable AutoUpdate.

To disable all AutoUpdate:
1. Create or open the mms.cfg file in a text editor.
2. Add the following auto-update setting:
Code: Select all
AutoUpdateDisable=1

3. Save the mms.cfg file with UTF-8 encoding in the correct system location for the user's operating system.
usually
Code: Select all
C:\WINNT\System32\Macromed\Flash

4. Close and restart Flash Player or the browser in which Flash Player is running for the new setting to take effect.
Source: Adobe Flash Player Help: IT Administration - Configure auto-update notification

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Adobe Flash Player 11

PostPosted by JH2k » Sat Aug 04, 2012 3:33 pm

I was trying the versions 11.3.300.268 and 11.3.300.270 (latest 12-08-04) and they don't work inside the browser. Can be installed with wrappers help but when they run along the browser, they show up a GetNativeSystemInfo, what is strange because they are in the wrappers as well :-?

(I have a SSE2 processor, so that is not the problem)

Anyone tested them?


The DWI also shows as the flash dll can't be found :-?
http://hotfile.com/dl/165564051/a0c7acd/opera.dwi.html
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: Adobe Flash Player 11

PostPosted by OldBoy2k » Sat Aug 04, 2012 4:10 pm

Hey,

no problem :wink: Look at the library tree in Dependency Walker. You can see that all missing exports are listed under "f:\utiles\opera1160\OPERA.DLL". Copy the Wrapper files to this directory. You need Kernel,WS2.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Adobe Flash Player 11

PostPosted by JH2k » Sat Aug 04, 2012 11:26 pm

Uhmmm, I see, I had the wrappers in the macromed\flash directory under system32. As they are needed for uninstallation purposes, I thought flash dll would take them from there... but what it has to take the wrappers is the main app, in this case Opera.

Tested and working.

Ok, understood a new hint with wrappers :) Accompany the main exe with wrappers :)
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: Adobe Flash Player 11

PostPosted by justjohnny » Sun Feb 24, 2013 3:48 am

Flash Player 11.6.602.168
You can download the full install files for both Internet Explorer & Other Browsers from here:
http://get.adobe.com/flashplayer/otherversions/

Flash Player 11 for Internet Explorer filename:
install_flash_player_ax.exe(15.1MB)

Flash Player 11 for Other Browsers filename:
install_flash_player.exe(15.7MB)

Running both of them produce this error:
Image
The procedure entry point SetDllDirectoryW could not be located in the dynamic link library KERNEL32.dll.


As soon as I opened it up in DW I got this error:
Image

DW files:
Flash Player 11.6.602.168 for Internet Explorer_install_flash_player_ax20130224.dwi (578.71KB)
Flash Player 11.6.602.168 for Internet Explorer_install_flash_player_ax20130224profiled.dwi (583.02KB)
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Sun Feb 24, 2013 4:13 am

I was looking at Flash Player on a WinXP machine with different update settings and how it changed the mms.cfg file.

mms.cfg file location:
%SystemRoot%\system32\Macromed\Flash

Update Settings:
  • Allow Adobe to install updates (recommended)

    mms.cfg contents:
    Code: Select all
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1

  • Notify me to install updates

    mms.cfg contents:
    Code: Select all
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=0

  • Never check for updates (not recommended)

    mms.cfg contents:
    Code: Select all
    AutoUpdateDisable=1
    SilentAutoUpdateEnable=0
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Sun Feb 24, 2013 5:57 am

Occurences of SetDllDirectoryW in install_flash_player_ax.exe:
  • Address: .text004058BC
    Function: _WinMain@16
    Instruction: call ds:SetDllDirectoryW
  • Address: .idata0041A164
    Function:
    Instruction: extrn SetDllDirectoryW:dword
    Comments:
    ; CODE XREF: WinMain(x,x,x,x)+13↑p
    ; DATA XREF: WinMain(x,x,x,x)+13↑r
  • Address: .rdata0041E7CE
    Function:
    Instruction: db 'SetDllDirectoryW',0

Pseudocode:
SetDllDirectoryW(&WindowName); // int ( stdcall *)(const WCHAR *)
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Sun Feb 24, 2013 6:40 am

@OldCigarette
@BlackWingCat

Given the assembly code above, is SetDllDirectoryW being called with either:
  • directory
  • empty string ("")
  • NULL
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am

Re: Adobe Flash Player 11

PostPosted by justjohnny » Sun Feb 24, 2013 10:45 am

I found out using CFF Explorer that the Adobe Flash Player 11 installer is compiled with:
Microsoft Visual C++ 8

From Wikipedia:
Visual C++ 2005 (known also as Visual C++ 8.0)

I had a free version of Microsoft Visual C++ 2005 Express Edition installed onto a WinXP machine. I also had the Microsoft Platform SDK for Windows Server 2003 installed onto the same WinXP machine.

It took me awhile, but I managed to put together this test program:
Code: Select all
#define _WIN32_WINNT 0x0502   // Change this to the appropriate value to target other versions of Windows.

#include <iostream>
#include <string>
#include <stdio.h>
#include <tchar.h>
#include <Windows.h>
#include <WinBase.h>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
   wcout << L"Start." << endl;
   wcout << L"NULL" << endl;
   SetDllDirectoryW(NULL);
   wcout << L"Empty Unicode String" << endl;
   SetDllDirectoryW(L"");
   wcout << L"A custom path" << endl;
   SetDllDirectoryW(L"C:\\testdlldir");
   wcout << L"End." << endl;
   return 0;
}
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am


Return to Backporting Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron