[Bug 21872] Webload fails to install dll properly (Version.dll VerInstallFile 8.3 short vs. existing long file name)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 30 17:15:03 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=21872

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://www.radview.com/try-
                   |                            |webload.aspx
                 CC|                            |focht at gmx.net
            Summary|Webload crashes             |Webload fails to install
                   |                            |dll properly (Version.dll
                   |                            |VerInstallFile 8.3 short
                   |                            |vs. existing long file
                   |                            |name)
     Ever Confirmed|0                           |1

--- Comment #9 from Anastasius Focht <focht at gmx.net> 2012-01-30 17:15:03 CST ---
Hello,

needs 'winetricks -q mfc42 mfc40' in clean WINEPREFIX.

There is nothing about missing SNMP libraries yet.
I get the same error as Austin about missing dll:

--- snip ---
err:module:import_dll Library RWUXThemeS60.dll (which is needed by
L"C:\\Program Files\\RadView\\WebLOAD\\bin\\og1100as.dll") not found
...
--- snip ---

Trace log:

--- snip ---
0024:Call KERNEL32.CreateFileA(0032e52c "C:\\Program
Files\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll",80000000,00000001,00000000,00000003,00000080,00000000)
ret=100140c9
0024:Ret  KERNEL32.CreateFileA() retval=ffffffff ret=100140c9 
...
0024:Call KERNEL32.MoveFileA(0032d29c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\~GLH0316.TMP",0032d39c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll") ret=10014fed
0024:Ret  KERNEL32.MoveFileA() retval=00000001 ret=10014fed
0024:Call KERNEL32.DeleteFileA(0032de1c "C:\\Program
Files\\RadView\\WebLOAD\\bin\\~GLH0315.TMP") ret=10006f8a
0024:Ret  KERNEL32.DeleteFileA() retval=00000001 ret=10006f8a 
...
0024:Call KERNEL32.FindFirstFileA(0032d2ac "C:\\Program
Files\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll",0032d158) ret=10013fe8
0024:Ret  KERNEL32.FindFirstFileA() retval=0074d3f0 ret=10013fe8 
...
0024:Call KERNEL32.CreateFileA(0032e52c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll",80000000,00000001,00000000,00000003,00000080,00000000)
ret=100140c9
0024:Ret  KERNEL32.CreateFileA() retval=0000000c ret=100140c9
...
0024:Call KERNEL32.FindFirstFileA(0032cf8c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll",0032ca30) ret=10013fe8
0024:Ret  KERNEL32.FindFirstFileA() retval=0074d3f0 ret=10013fe8 
...
0024:Call KERNEL32.CreateFileA(0032cf8c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUX~OPY.DLL",80000000,00000001,00000000,00000003,00000080,00000000)
ret=100140c9
0024:Ret  KERNEL32.CreateFileA() retval=0000000c ret=100140c9 
...
0024:Call KERNEL32.lstrlenA(0032d08c "File Copy: C:\\Program
Files\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll | 02-06-2011 | 17:04:34 |
1.0.8.0 | 81920 | 69e4ecf3\r\n") ret=1000c524
0024:Ret  KERNEL32.lstrlenA() retval=00000077 ret=1000c524
...
0024:Call KERNEL32.GetFileAttributesA(0032e52c "C:\\Program
Files\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll") ret=10014394
0024:Ret  KERNEL32.GetFileAttributesA() retval=00000020 ret=10014394
...
0024:Call version.VerInstallFileA(00000002,0032de41 "~GLH0718.TMP",0032d3bc
"RWUX~OPY.DLL",0032da1c "C:\\Program Files\\RadView\\WebLOAD\\bin",00591d30
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin",00591c18
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin",00591e48,0032d4c4) ret=10014fd3
0024:Call KERNEL32.LZOpenFileA(0032cd68 "C:\\Program
Files\\RadView\\WebLOAD\\bin\\~GLH0718.TMP",0032cce0,00000000) ret=7effc0c1
0024:Ret  KERNEL32.LZOpenFileA() retval=0000000c ret=7effc0c1
0024:Call KERNEL32.GetFileAttributesA(0032ce6c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUX~OPY.DLL") ret=7effc136
0024:Ret  KERNEL32.GetFileAttributesA() retval=00000020 ret=7effc136
0024:Call KERNEL32.GetTempFileNameA(00591d30
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin",7effd4b8 "ver",00000000,0032ce6c)
ret=7effc215
0024:Ret  KERNEL32.GetTempFileNameA() retval=0000aaaa ret=7effc215 
0024:Call KERNEL32.OpenFile(0032ce6c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\veraaaa.tmp",0032cce0,00001000)
ret=7effc272
0024:Ret  KERNEL32.OpenFile() retval=0000009c ret=7effc272 
...
0024:Call KERNEL32.DeleteFileA(0032cf70
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUX~OPY.DLL") ret=7effc5fd
0024:Ret  KERNEL32.DeleteFileA() retval=00000001 ret=7effc5fd
0024:Call KERNEL32.MoveFileA(0032ce6c
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\veraaaa.tmp",0032cf70
"C:\\PROG~FBU\\RadView\\WebLOAD\\bin\\RWUX~OPY.DLL") ret=7effc70f
0024:Ret  KERNEL32.MoveFileA() retval=00000001 ret=7effc70f
0024:Call KERNEL32.LZClose(0000000c) ret=7effc750
0024:Ret  KERNEL32.LZClose() retval=00000000 ret=7effc750
0024:Ret  version.VerInstallFileA() retval=00000000 ret=10014fd3 
...
0024:Call KERNEL32.FindFirstFileA(0032d2ac "C:\\Program
Files\\RadView\\WebLOAD\\bin\\RWUXThemeS60.dll",0032d158) ret=10013fe8
0024:Ret  KERNEL32.FindFirstFileA() retval=ffffffff ret=10013fe8 
--- snip ---

The app log file:

--- snip ---
File Copy: C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll | 02-06-2011 |
17:04:34 | 1.0.8.0 | 81920 | 69e4ecf3
...
File Overwrite: C:\Program Files\RadView\WebLOAD\bin\og1100as.dll | 02-06-2011
| 17:05:06 | | 1822720 | 9a8c37ff
File Copy: C:\Program Files\RadView\WebLOAD\bin\ot1000as.dll | 02-06-2011 |
17:05:02 | 10.0.0.0 | 2486272 | f72fa0b
File Overwrite: C:\Program Files\RadView\WebLOAD\bin\RWUXThemeS60.dll | | | |
81920 | 69e4ecf3
...
--- snip ---

The file was first created (moved) with long name "RWUXThemeS60.dll" in "bin"
folder.
Later VerInstallFileA() recreated the file with its short 8.3 name
"RWUX~OPY.DLL" in "bin" folder (same binary content).
The short version is probably used by installer for Win9X compat.
It's the only file with that anomaly.

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms647462%28v=vs.85%29.aspx

Maybe VerInstallFile() isn't supposed to recreate with 8.3 name if long version
exists or vise-versa?

There is a VerInstallFile() compatibility problem mentioned here (application
shim): http://technet.microsoft.com/en-us/library/cc722047%28WS.10%29.aspx

--- quote ---
CorrectVerInstallFile

You receive an error message stating "The application or DLL  %SYSTEMDRIVE% :\
%WINDIR% \system32\ole2.dll is not a valid Windows image" when you attempt to
install an application.

Corrects a problem that occurs in Windows XP Professional when calling the
VerInstallFile function, due to a destination file existing in a destination
directory with an 8.3 file name rather than a long file name.

This compatibility fix searches the destination directory for either the long
file name or the 8.3 file name to determine whether to overwrite the
destination file.
--- quote ---

$ sha1sum WebLOAD\ Professional-8.6.0.040.en.exe 
04bbd9a6901524d8590d10c880ae566f2e08ba1b  WebLOAD Professional-8.6.0.040.en.exe

$ wine --version
wine-1.4-rc1-34-g01947e0

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list