Windows Installer uncovered?

2000-11-11 Thread Taral

This looks very shady: (from wine --debugmsg +relay instmsia.exe)

Call kernel32.495: LoadLibraryA(245223c8 "OLE32") ret=244710af fs=0277
Ret  kernel32.495: LoadLibraryA() retval=4079d000 ret=244710af fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407d6db7,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval=0001 ret=244711ad fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407e7506,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval= ret=244711ad fs=0277
Call kernel32.548: OutputDebugStringA(24522d64 "MSI: ReadProcessMemory failed on 
OLE32.DLL\n") ret=244711bc fs=0277
Ret  kernel32.548: OutputDebugStringA() retval=40e76f44 ret=244711bc fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407dcd82,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval=0001 ret=244711ad fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407d6f0f,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval=0001 ret=244711ad fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407d6d5b,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval=0001 ret=244711ad fs=0277
Call kernel32.306: GetCurrentProcess() ret=2447118c fs=0277
Ret  kernel32.306: GetCurrentProcess() retval= ret=2447118c fs=0277
Call kernel32.579: ReadProcessMemory(,407dd99f,2453dbd8,0035,40e76384) 
ret=244711ad fs=0277
Ret  kernel32.579: ReadProcessMemory() retval=0001 ret=244711ad fs=0277

Note the little OutputDebugStringA... that ReadProcessMemory call it's
talking about doesn't fail with native ole32.dll.

Can anyone recommend a fix (besides using the native ole32.dll)?

-- 
Taral [EMAIL PROTECTED]
Please use PGP/GPG to send me mail.
"Never ascribe to malice what can as easily be put down to stupidity."

 PGP signature


Re: Windows Installer

2000-11-10 Thread Taral

On Fri, 10 Nov 2000, Uwe Bonnes wrote:

 Taral writes:
  There was a very vague reference to Windows Installer problems on the
  newsgroup, but nothing concrete. As far as I can tell, msi.dll does NOT
  like one of the wine dlls.
  
  Since this is probably going to become a FAQ, can someone provide an
  authoritative answer to why msi.dll fails like this? I can provide my
  own (partial) analysis based on the contents of msi.dll.
 
 You are very vague. I think nobody can answer unless you have a
 concrete bug report...

Sorry about that, I thought it was clear. Running instmsi.exe from a
microsoft-free system results in an error: "This installation package
could not be opened.  Contact the application vendor to verify that this
is a valid Windows Installer package."

NOTE: I just discovered that replacing ole32.dll with native version fixes
the problem. I will look into it further.

Taral





Windows Installer

2000-11-09 Thread Taral

There was a very vague reference to Windows Installer problems on the
newsgroup, but nothing concrete. As far as I can tell, msi.dll does NOT
like one of the wine dlls.

Since this is probably going to become a FAQ, can someone provide an
authoritative answer to why msi.dll fails like this? I can provide my
own (partial) analysis based on the contents of msi.dll.

-- 
Taral [EMAIL PROTECTED]
Please use PGP/GPG to send me mail.
"Never ascribe to malice what can as easily be put down to stupidity."

 PGP signature