MDAC28 installation workaround

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
branestawm2
Newbie
Newbie
Posts: 3
Joined: Thu Nov 17, 2011 9:11 am

MDAC28 installation workaround

Post by branestawm2 »

I'm posting this so that it will show up in a search for folks having difficulty in installing mdac28.dll for a variuos applications using winetricks. I was stopped by issue #113 (Error 404 'Not Found' with winetricks installing mdac28/27/25) resulting from relocation of the setup file on the MS Downloads site, when I noticed that winetricks is a script. (Yes, well, I'm a newbie to linux!)

So I took a look at it and found that the following work-around works with a local copy of the mdac installer.

In a Linux terminal:
1. cp /usr/bin/winetricks to a safe place
2. cp /usr/bin/winetricks to an edit-able location
3. sudo chown [your user name]: [edit-able location]/winetricks
4. gedit [edit-able location]/winetricks
5. Search for load_mdac28
6. Comment out the first line of code in the subroutine beginning 'w_download mdac28 http://download.microsoft.com/download ....'
7. Save & exit gedit
8. sudo chown root:root [edit-able location]/winetricks
9. sudo cp [edit-able location]/winetricks /usr/bin/winetricks
10. mkdir /home/[your user name]/.cache/winetricks/mdac28
11. Go to MS Downloads site, search for MDAC_TYP.EXE and download it to /home/[your user name]/.cache/winetricks/mdac28/
12. winetricks mdac28

This installed mdac28 for me.

Finally, don't forget to restore your original winetricks from its safe place!

As always, use at your own risk.

Hope this helps someone :)
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

The underlying issue is that MS is changing download locations very often, this may be part of some weird security concept. MS is probably not doing this because of wine, from MS's point of view wine is still harmless, and will be for some time, because all the cool kids who want to play the newest games will stay with windows. It might still take one or two years, until wine might have a reasonable DX10/11 implementation.

There is a bug tracker for winetricks, you should report the issue there:
http://code.google.com/p/winetricks/issues/list
branestawm2
Newbie
Newbie
Posts: 3
Joined: Thu Nov 17, 2011 9:11 am

Post by branestawm2 »

Thanks for the explanation.

The bug is already reported as issue #113 for which I have voted (as in my post above)
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

MDAC28 installation workaround

Post by jjmckenzie »

On Fri, Nov 18, 2011 at 8:32 AM, branestawm2 <[email protected]> wrote:
Thanks for the explanation.

The bug is already reported as issue #113 for which I have voted (as in my post above)
Another possible explanation for this is that MDAC is deprecated on
Windows7 and no longer needs a download since WindowsXP. Thus it no
longer needs to be in 'prime download space' and thus is moved and
moved and moved.

Good idea on the 'how to download' Hopefully, you updated the
winetricks issue with the current location as well.

James
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

This works for me. Current winetricks downloads from
http://download.microsoft.com/download/ ... AC_TYP.EXE
which exists.

Be sure you're using current winetricks; 20111115 should do,
which you can get from http://winetricks.org/winetricks or svn.
branestawm2
Newbie
Newbie
Posts: 3
Joined: Thu Nov 17, 2011 9:11 am

Post by branestawm2 »

Dan, Thanks for the update!

Just shows that winetricks needs to be right up to date - my version is a couple of weeks old.

JJj, It was beyond me to work out the location on the MS website - the download was established by .aspx - so I have not been able to update the issue with the current location.
perryh

MDAC28 installation workaround

Post by perryh »

"branestawm2" <[email protected]> wrote:
It was beyond me to work out the location on the MS website -
the download was established by .aspx - so I have not been able
to update the issue with the current location.
It may be in your browser's download history, but not all browsers
make it easy to examine that.

This will find the Firefox download history file:

find ~/.mozilla -type f -name '*download*' -print

but its format (and human readability) varies among versions.

Something similar may also work for other browsers.
Locked