winetricks fails when installing vcrun2010

Problem:
You run
winetricks vcrun2010

But get the message:

Using native,builtin override for following DLLs: msvcr100
Executing early_wine regedit c:winetrickstmpoverride-dll.reg
——————————————————
Executing wget -O msxml3.msi -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/8/8/8/888f34b7-4f54-4f06-8dac-fa29b19f33dd/msxml3.msi
–2011-03-12 23:10:19– http://download.microsoft.com/download/8/8/8/888f34b7-4f54-4f06-8dac-fa29b19f33dd/msxml3.msi
Resolving download.microsoft.com… 213.199.149.141, 213.199.149.144
Connecting to download.microsoft.com|213.199.149.141|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2011-03-12 23:10:20 ERROR 404: Not Found.

——————————————————
Note: command ‘wget -O msxml3.msi -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/8/8/8/888f34b7-4f54-4f06-8dac-fa29b19f33dd/msxml3.msi’ returned status 8. Aborting.
——————————————————
——————————————————
vcrun2010 failed
——————————————————

The VC2010 runtime redistributable setup needs to load msxml3. winetricks tries to download it from a location in the microsoft.com website where it is no longer available. Instead, search the web for the file “msxml3.msi” and edit winetricks to point to it, eg:


vi winetricks

Find the load_msxml3 function, and replace the download location:

From:

w_download msxml3 http://download.microsoft.com/download/8/8/8/888f34b7-4f54-4f06-8dac-fa29b19f33dd/msxml3.msi d4c2178dfb807e1a0267fce0fd06b8d51106d913

To:

w_download msxml3 ftp://ftp.uni-rostock.de/pub/tools/microsoft/XML/US/msxml3.msi

winetricks fails when installing vcrun2010

2 thoughts on “winetricks fails when installing vcrun2010

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s