Issue 73 in webp: win32 setup fails. HRESULT -2147418113

103 views
Skip to first unread message

we...@googlecode.com

unread,
May 12, 2011, 5:40:43 AM5/12/11
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 73 by tibo...@gmail.com: win32 setup fails. HRESULT -2147418113
http://code.google.com/p/webp/issues/detail?id=73

What steps will reproduce the problem?
1.Installing WebpCodecSetup.exe (win32)
2.
3.

What is the expected output? What do you see instead?
successful setup; instead error popup-> Module ..\WebpWICCodec.dll failed
to register. HRESULT -2147418113. Contact your support personel.

What version of the product are you using? On what operating system?
Webp Codec for Windows 0.15; win XP sp3

Please provide any additional information below.

we...@googlecode.com

unread,
May 12, 2011, 12:38:29 PM5/12/11
to webp-d...@webmproject.org

Comment #1 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

You run the installer with Administrator privileges? If so, I will provide
you an installer that will provide more debug information.

we...@googlecode.com

unread,
May 15, 2011, 1:14:53 PM5/15/11
to webp-d...@webmproject.org

Comment #2 on issue 73 by tibo...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Sorry, I did not mention that detail. Yes, of course i am running the
installer with Administrator privileges.

we...@googlecode.com

unread,
May 27, 2011, 3:51:37 PM5/27/11
to webp-d...@webmproject.org

Comment #3 on issue 73 by ar.e...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Same problem, with administrator privileges.

Win XP Pro v. 2002 SP 3, AMD Athlon 64 X2 Dual Core Processor 3800+, 2.01
GHz, RAM: 960 MB

we...@googlecode.com

unread,
Aug 1, 2011, 4:46:18 PM8/1/11
to webp-d...@webmproject.org

Comment #4 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Sorry for the late response. I have build debug DLLs that can write logs to
a custom directory. Could you:
1. Download and unpack the attached archive.
2. Create a C:\Temp directory where everyone can write (AFAIK this should
be the default. If you change the *.reg files below, you can name it
differently)
3. Add the webp-debug-path.reg to the registry (by double-clicking it)
4. If you are running on a 64-bit system, add webp-debug-path-32-on-64.reg
as well.
5. Run a command prompt as an administrator.
6. In the directory where you unpacked the files, run:
regsvr32 WebpWICCodec32.DLL
7. If you are running on 64-bit system, run also:
regsvr32 WebpWICCodec64.DLL

If they failed, the directory C:\Temp. It should contain files
webp-codec-debug-*.txt. Could you send them - they may give a clue what's
wrong.

Attachments:
webp-codec-0.15-debug.zip 381 KB

we...@googlecode.com

unread,
Aug 2, 2011, 2:42:08 PM8/2/11
to webp-d...@webmproject.org

Comment #5 on issue 73 by ar.e...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Trying to install it on C:\Programas\Imagen\Webp (we change the default
directories on all PCs with Windows, many malware are bad programmed and
fail).

When register it returns (in Spanish):
“Error de DllRegisterServer en WebpWICCodec32.DLL.
Devolvió un código: 0x8000ffff”

Attaching
C:\Programas\Imagen\Webp\Debug\webp-codec-debug-1312310301-00000000.txt.

Attachments:
webp-codec-debug-1312310301-00000000.txt 38 bytes

we...@googlecode.com

unread,
Aug 2, 2011, 4:43:52 PM8/2/11
to webp-d...@webmproject.org

Comment #6 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Thanks for the test. The result is strange. One possible explanation is
that it could not locate the export in advpack.dll. Do you have by chance
Visual Studio or Windows SDK installed? If you have, could you run "link
/dump /export C:\Windows\system32\advpack.dll" and attach the output?

I will also create a version of the DLL that will include more debugging
messages during registration.

we...@googlecode.com

unread,
Aug 2, 2011, 7:50:52 PM8/2/11
to webp-d...@webmproject.org

Comment #7 on issue 73 by ar.e...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

I don't have link, I try with nm (dev-cpp) and get:
nm: \WINDOWS.0\system32\advpack.dll: no symbols

we...@googlecode.com

unread,
Aug 2, 2011, 8:16:33 PM8/2/11
to webp-d...@webmproject.org

Comment #8 on issue 73 by ar.e...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

C:\masm32\bin>link /dump /export \WINDOWS.0\system32\advpack.dll
Microsoft (R) COFF Binary File Dumper Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : warning LNK4044: unrecognized option "export"; ignored

Dump of file \WINDOWS.0\system32\advpack.dll

File Type: DLL

Summary

E000 .data
2000 .reloc
3000 .rsrc
15000 .text

we...@googlecode.com

unread,
Aug 3, 2011, 3:35:28 AM8/3/11
to webp-d...@webmproject.org

Comment #9 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Sorry, should have been "/exports".

we...@googlecode.com

unread,
Aug 3, 2011, 5:27:16 PM8/3/11
to webp-d...@webmproject.org

Comment #10 on issue 73 by ar.e...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

C:\masm32\bin>link /dump /exports \WINDOWS.0\system32\advpack.dll


Microsoft (R) COFF Binary File Dumper Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Dump of file \WINDOWS.0\system32\advpack.dll

File Type: DLL

Section contains the following exports for ADVPACK.dll

0 characteristics
4802349B time date stamp Sun Apr 13 13:28:11 2008
0.00 version
1 ordinal base
32 number of functions
32 number of names

ordinal hint RVA name

1 0 00011CF2 AddDelBackupEntry
2 1 00003D7B AdvInstallFile
3 2 0000BD2E CloseINFEngine
4 3 00007D08 DelNode
5 4 00007F4C DelNodeRunDLL32
6 5 00004C41 DllMain
7 6 0000AC92 DoInfInstall
8 7 0000D207 ExecuteCab
9 8 0000F3E1 ExtractFiles
10 9 00011CD4 FileSaveMarkNotExist
11 A 00012E94 FileSaveRestore
12 B 0000DDE7 FileSaveRestoreOnINF
13 C 000067A5 GetVersionFromFile
14 D 000056AC GetVersionFromFileEx
15 E 0000B631 IsNTAdmin
16 F 0000AD4A LaunchINFSection
17 10 0000E6A9 LaunchINFSectionEx
18 11 00007FB4 NeedReboot
19 12 00007F96 NeedRebootInit
20 13 0000BC58 OpenINFEngine
21 14 0000C778 RebootCheckOnInstall
22 15 000049CE RegInstall
23 16 00010E24 RegRestoreAll
24 17 0001088B RegSaveRestore
25 18 0000DC2C RegSaveRestoreOnINF
26 19 00007FDC RegisterOCX
27 1A 0000B011 RunSetupCommand
28 1B 0000C85F SetPerUserSecValues
29 1C 0000A295 TranslateInfString
30 1D 0000BC0B TranslateInfStringEx
31 1E 0000CD8A UserInstStubWrapper
32 1F 0000E254 UserUnInstStubWrapper

we...@googlecode.com

unread,
Aug 4, 2011, 4:00:45 PM8/4/11
to webp-d...@webmproject.org

Comment #11 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Thanks, I think I now understand the problem. You have MSIE6? That would
explain why your advpack.dll exports much less functions (most importantly,
without RegInstallW) that the one on mine XP SP3 and I didn't notice the
problem.

I have prepared a DLL using the ANSI call RegInstall that is present in
your system (what doesn't seem to matter as the Unicode RegInstallW seems
to do a conversion to ANSI internally, thus is equivalent). Could you try
if it works for you?

Attachments:
WebpWICCodec.dll 577 KB

we...@googlecode.com

unread,
Aug 5, 2011, 7:41:38 AM8/5/11
to webp-d...@webmproject.org

Comment #12 on issue 73 by tibo...@gmail.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Hi,

My experience can confirm your conclusion too. I set up MSIE8 then tried to
set up Webp Codec for Windows 0.15 again. No error message, Success!

But success regards only the setup, no Thumbnail View in the explorer, no
view in *Windows* Picture and *Fax viewer.*


Thanx for your investigation

PS.:
WebpWICCodec.dll 577 KB attachment: Sorry I'm not advanced enough to use a
dll.

we...@googlecode.com

unread,
Aug 12, 2011, 9:45:28 AM8/12/11
to webp-d...@webmproject.org

Comment #13 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Note that the functionality of the codec on Windows XP is limited - see
http://code.google.com/p/webp/issues/detail?id=76 .

Does anyone have IE6 to test the new DLL? If not, I will try to uninstall
IE8 from one of my machines to check this helps.

we...@googlecode.com

unread,
Aug 22, 2011, 7:41:12 PM8/22/11
to webp-d...@webmproject.org

Comment #14 on issue 73 by jz...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

The latest DLL registers correctly under 32-bit xp/sp3 with ie6 -- ie[78]
were never installed.

we...@googlecode.com

unread,
Aug 23, 2011, 5:25:50 PM8/23/11
to webp-d...@webmproject.org

Comment #15 on issue 73 by mikol...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Thanks! Could you do one more test with the DLL attached - I've found that
RegInstall works correctly as Unicode is the *.inf file is Unicode. But I'd
prefer to check if this doesn't break XP+IE6 again.

Attachments:
WebpWICCodec.dll 581 KB

we...@googlecode.com

unread,
Aug 31, 2011, 9:55:19 PM8/31/11
to webp-d...@webmproject.org

Comment #16 on issue 73 by jz...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

Sorry, I didn't see a mail for this update...
The latest DLL registers fine as well.

we...@googlecode.com

unread,
Oct 28, 2011, 9:59:16 PM10/28/11
to webp-d...@webmproject.org
Updates:
Status: Fixed

Comment #17 on issue 73 by jz...@google.com: win32 setup fails. HRESULT
-2147418113
http://code.google.com/p/webp/issues/detail?id=73

This is fixed with the 0.1.3 installer.

Reply all
Reply to author
Forward
0 new messages