Discussion:
WINEDLLOVERRIDES for all dlls?
James Hawkins
2004-09-29 03:09:47 UTC
Permalink
Hi,

I'm working on getting ie6 sp1 to install without using any native
dlls. The install is fine until about 78% of the way through
installing the files, the installer loads a native advapi32 that it
downloaded to a temp directory and then the install seems to pause as
this message is continuously printed:

fixme:thunk:CommonUnimpStub generic stub: ?

I used WINEDLLOVERRIDES="advapi32=b" WINEDEBUG=+loaddll, and it still
shows the downloaded native advapi32.dll being loaded. Does
WINEDLLOVERRIDES only take dll's that are in the windows\system
directory into account? I have a feeling that the install would go
smoother if the builtin advapi32 was loaded instead of the native one.
I'm guessing that the installer is calling LoadLibary("path to native
advapi32")...that's just a guess though.
--
James Hawkins
Steven Edwards
2004-09-29 03:23:05 UTC
Permalink
Post by James Hawkins
I'm working on getting ie6 sp1 to install without using any native
dlls. The install is fine until about 78% of the way through
installing the files, the installer loads a native advapi32 that it
downloaded to a temp directory and then the install seems to pause as
fixme:thunk:CommonUnimpStub generic stub: ?
I used WINEDLLOVERRIDES="advapi32=b" WINEDEBUG=+loaddll, and it still
shows the downloaded native advapi32.dll being loaded. Does
WINEDLLOVERRIDES only take dll's that are in the windows\system
directory into account? I have a feeling that the install would go
smoother if the builtin advapi32 was loaded instead of the native one.
I'm guessing that the installer is calling LoadLibary("path to native
advapi32")...that's just a guess though.
What Windows version are you reporting? I sometimes test IE and it seems
to be broken with win98 atm.

Thanks
Steven
Mike Hearn
2004-09-29 08:37:49 UTC
Permalink
Post by James Hawkins
I used WINEDLLOVERRIDES="advapi32=b" WINEDEBUG=+loaddll, and it still
shows the downloaded native advapi32.dll being loaded.
You need WINEDLLOVERRIDES="*advapi32=b"

Yes I know that isn't what I said before. I suck :)
James Hawkins
2004-09-29 13:28:46 UTC
Permalink
Post by Mike Hearn
Yes I know that isn't what I said before. I suck :)
It's ok don't worry about it... thanks for the tip Mike.


On Wed, 29 Sep 2004 09:37:49 +0100, Mike Hearn
Post by Mike Hearn
Post by James Hawkins
I used WINEDLLOVERRIDES="advapi32=b" WINEDEBUG=+loaddll, and it still
shows the downloaded native advapi32.dll being loaded.
You need WINEDLLOVERRIDES="*advapi32=b"
Yes I know that isn't what I said before. I suck :)
--
James Hawkins
James Hawkins
2004-09-29 16:55:40 UTC
Permalink
Post by James Hawkins
Post by Mike Hearn
Yes I know that isn't what I said before. I suck :)
It's ok don't worry about it... thanks for the tip Mike.
On Wed, 29 Sep 2004 09:37:49 +0100, Mike Hearn
Post by Mike Hearn
Post by James Hawkins
I used WINEDLLOVERRIDES="advapi32=b" WINEDEBUG=+loaddll, and it still
shows the downloaded native advapi32.dll being loaded.
You need WINEDLLOVERRIDES="*advapi32=b"
Yes I know that isn't what I said before. I suck :)
--
James Hawkins
I used WINEDLLOVERRIDES="*advapi32=b" and the installer got a little
further. Not perfect, but better.

Back when I used no dll overrides (because I thought advapi32=b would
work for all instances of an advapi32.dll) I got this error:

err:vxd:VMM_VxDCall Using the native Win95 advapi32.dll is no longer supported.
err:vxd:VMM_VxDCall Please configure advapi32 to builtin.

If we don't want any user using a native advapi32.dll no matter what
the circumstances, shouldn't the default override for advapi32 be
*advapi32=b (no matter whether it's in a config file or the registry
or whatever)? If the user is not using a config file, where are the
default overrides stored btw?
--
James Hawkins
Mike Hearn
2004-09-30 14:28:33 UTC
Permalink
Post by James Hawkins
If we don't want any user using a native advapi32.dll no matter what
the circumstances, shouldn't the default override for advapi32 be
*advapi32=b (no matter whether it's in a config file or the registry
or whatever)? If the user is not using a config file, where are the
default overrides stored btw?
Correct. There is a hardcoded list somewhere in the source. I forget
where, I discovered it once. See if you can find it, and when you do,
patch it to force advapi32 to be builtin.

thanks -mike
Alexandre Julliard
2004-09-30 17:16:26 UTC
Permalink
Post by James Hawkins
err:vxd:VMM_VxDCall Using the native Win95 advapi32.dll is no longer supported.
err:vxd:VMM_VxDCall Please configure advapi32 to builtin.
If we don't want any user using a native advapi32.dll no matter what
the circumstances, shouldn't the default override for advapi32 be
*advapi32=b (no matter whether it's in a config file or the registry
or whatever)?
The Win95 advapi32 cannot work, but the NT one can.
--
Alexandre Julliard
***@winehq.org
James Hawkins
2004-09-30 17:20:06 UTC
Permalink
Post by Alexandre Julliard
The Win95 advapi32 cannot work, but the NT one can.
Is there ever a time when we would want to use the native NT advapi32?
I just sent a patch to make sure only the builtin advapi32 gets
loaded, so that probably won't be committed if this is the case.

On Thu, 30 Sep 2004 10:16:26 -0700, Alexandre Julliard
Post by Alexandre Julliard
Post by James Hawkins
err:vxd:VMM_VxDCall Using the native Win95 advapi32.dll is no longer supported.
err:vxd:VMM_VxDCall Please configure advapi32 to builtin.
If we don't want any user using a native advapi32.dll no matter what
the circumstances, shouldn't the default override for advapi32 be
*advapi32=b (no matter whether it's in a config file or the registry
or whatever)?
The Win95 advapi32 cannot work, but the NT one can.
--
Alexandre Julliard
--
James Hawkins
Alexandre Julliard
2004-09-30 18:49:21 UTC
Permalink
Post by James Hawkins
Post by Alexandre Julliard
The Win95 advapi32 cannot work, but the NT one can.
Is there ever a time when we would want to use the native NT advapi32?
There might be, yes.
Post by James Hawkins
I just sent a patch to make sure only the builtin advapi32 gets
loaded, so that probably won't be committed if this is the case.
No, unlike with kernel etc. there's no reason that native advapi32
cannot work, so it must not be added to that list.
--
Alexandre Julliard
***@winehq.org
Loading...