mariusvam / winetricks

Automatically exported from code.google.com/p/winetricks
3 stars 0 forks source link

winetricks vcrun2010 fails #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. winetricks vcrun2010

What is the expected output? What do you see instead?
I see

sha1sum mismatch!  Rename 
/home/lizhenbo/.cache/winetricks/vcrun2010/vcredist_x86.exe and try again.

What version of the product are you using? On what operating system?
WINETRICKS_VERSION=20140817

Please provide any additional information below.
I tried 
wget 
http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6
E/vcredist_x86.exe
And the sha1sum for it is c2473727700d6fc035cd547ad6597eaca2f94d28

In the script, I tried to edit this line:
    w_download http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe 372d9c1670343d3fb252209ba210d4dc4d67d358

After replacing the old sha1sum with 
'c2473727700d6fc035cd547ad6597eaca2f94d28', it says:
wine: Bad EXE format for Y:\vcrun2010\vcredist_x86.exe.

Original issue reported on code.google.com by litimetal on 1 Oct 2014 at 2:48

GoogleCodeExporter commented 9 years ago
Check your internet connection, it works fine for me on two machines:
[austin@localhost ~]$ rm -rf ~/.wine ~/.cache/winetricks/vcrun2010/ && 
winetricks -q vcrun2010
Executing w_do_call vcrun2010
Executing load_vcrun2010
Executing mkdir -p /home/austin/.cache/winetricks/vcrun2010
Downloading 
http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6
E/vcredist_x86.exe to /home/austin/.cache/winetricks/vcrun2010
--2014-10-07 10:42:13--  
http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6
E/vcredist_x86.exe
Resolving download.microsoft.com (download.microsoft.com)... 184.50.238.19, 
184.50.238.10, 2600:1404:d::6011:cb22, ...
Connecting to download.microsoft.com 
(download.microsoft.com)|184.50.238.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5073240 (4.8M) [application/octet-stream]
Saving to: ‘vcredist_x86.exe’

100%[===========================================================================
=============>] 5,073,240    750KB/s   in 5.8s   

2014-10-07 10:42:19 (854 KB/s) - ‘vcredist_x86.exe’ saved [5073240/5073240]

Current wine does not have wine bug 23427, so not applying workaround
Using native,builtin override for following DLLs: msvcp100 msvcr100 vcomp100 
atl100
Executing winetricks_early_wine regedit /S 
C:\windows\Temp\_vcrun2010\override-dll.reg
Executing wine vcredist_x86.exe /q
fixme:clusapi:GetNodeClusterState ((null),0x32eb74) stub!
fixme:advapi:DecryptFileA ("y:\\84dff856a420eb4320f50f2330\\", 00000000): stub
fixme:advapi:RegisterTraceGuidsW (0x6cd15f38, 0x6cd20180, 
{e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33fd10, (null), (null), 
0x6cd20188): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:SetThreadStackGuarantee (0x33fb58): stub
fixme:advapi:LsaOpenPolicy ((null),0x33f448,0x00000001,0x33f434) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:advapi:LsaOpenPolicy ((null),0x33f298,0x00000001,0x33f284) stub
fixme:advapi:LsaClose (0xcafe) stub

Original comment by austinenglish@gmail.com on 7 Oct 2014 at 3:43