I think James Hawkins' recent patches were a good thing :-) With just a little more work, we should be able to close http://bugs.winehq.org/show_bug.cgi?id=3178 for wine-0.9.13. Using the recent changes, I was able to install mdac 2.7 just now! Here were the required steps:
1) grab Mike McCormack's tree
2) apply this mystery kludge patch:
--- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -203,7 +203,7 @@ NTSTATUS WINAPI NtQueryInformationToken( switch (tokeninfoclass) { case TokenGroups: - len = sizeof(TOKEN_GROUPS); + len = sizeof(TOKEN_GROUPS) + 400; /* WAG */ break; case TokenOwner: len = sizeof(TOKEN_OWNER) + sizeof(SID);
(Without this, the app says "Sorry, you need to be administrator to install this", at least on my machine.)
3) Fake ie6 installation by adding a registry key:
# Fake IE per workaround in http://bugs.winehq.org/show_bug.cgi?id=3453 cat >> $HOME/.wine/system.reg <<"_EOF_"
[Software\Microsoft\Internet Explorer] "Version"="6.0.2900.2180" _EOF_
4) Download and install mdac 2.7
5) Profit!
I haven't actually tried any apps that *use* mdac yet, so I don't know if the installation actually works... - Dan
-- Wine for Windows ISVs: http://kegel.com/wine/isv
On Sun, 30 Apr 2006 20:00:32 -0700, Dan Kegel wrote:
- Fake ie6 installation by adding a registry key:
I sent a patch to add this some time ago but Alexandre wasn't keen, and now I don't remember why. Our IE implementation is a lot more complete these days, would it make sense to start lying about it yet?
thanks -mike
Mike Hearn wrote:
On Sun, 30 Apr 2006 20:00:32 -0700, Dan Kegel wrote:
- Fake ie6 installation by adding a registry key:
I sent a patch to add this some time ago but Alexandre wasn't keen, and now I don't remember why. Our IE implementation is a lot more complete these days, would it make sense to start lying about it yet?
I think when Jacek has finished off moving the Mozilla interface into mshtml we should be able to advertise IE as being installed.
Mike