mad props to James Hawkins and the rest of the Wine team... mdac installs!

Dan Kegel dank at kegel.com
Sun Apr 30 22:00:32 CDT 2006


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



More information about the wine-devel mailing list