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.
You run the installer with Administrator privileges? If so, I will provide
you an installer that will provide more debug information.
Sorry, I did not mention that detail. Yes, of course i am running the
installer with Administrator privileges.
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
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
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.
I don't have link, I try with nm (dev-cpp) and get:
nm: \WINDOWS.0\system32\advpack.dll: no symbols
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
Sorry, should have been "/exports".
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
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
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.
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.
The latest DLL registers correctly under 32-bit xp/sp3 with ie6 -- ie[78]
were never installed.
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
Sorry, I didn't see a mail for this update...
The latest DLL registers fine as well.
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.