cckec / winetricks

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

XPSEP XP and Server 2003 32 bit.msi doesn't download properly #204

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,
When trying to install .NET 3.5(winetricks dotnet35)

I ran into a problem with downloading "XPSEP XP and Server 2003 32 bit.msi" 
winetricks failed to download it.
I was getting following error: 
sha1sum mismatch!  Rename 
/Users/user/Library/Caches/winetricks/dotnet30sp1/XPSEP XP and Server 2003 32 
bit.msi and try again.
When I checked the file, it's contents were ~500bites and contained HTML code 
with 400 Bad Request error.

When I actually used 
http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07
d/XPSEP XP and Server 2003 32 bit.msi to download file, and replace one in 
/Users/user/Library/Caches/winetricks/dotnet30sp1/ folder, with manually 
downloaded, everything worked out. 

When I checked code, this line:
    w_download http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07d/"XPSEP XP and Server 2003 32 bit.msi" 5d332ebd1025e294adafe72030fe33db707b2c82

I've noticed double quotes, gnu shell interprets everything inside " as 
command, and spaces as separators. Replacing that line with:
    w_download http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07d/'XPSEP XP and Server 2003 32 bit.msi' 5d332ebd1025e294adafe72030fe33db707b2c82

Should solve the problem.

Original issue reported on code.google.com by ignas2...@gmail.com on 30 Apr 2012 at 12:50

GoogleCodeExporter commented 8 years ago
Nope, that quote change would be a no-op.  It's backquotes that cause 
interpretation as a command.

wget 
http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07
d/"XPSEP XP and Server 2003 32 bit.msi"
works just fine here.

Probably you hit some momentary bad internet weather?

Original comment by daniel.r...@gmail.com on 18 Jul 2012 at 3:39

GoogleCodeExporter commented 8 years ago
I've run into the same problem and, well, the issue is that the URL is badly 
formed. There can't be any spaces in there if it should be considered and url. 
Correct URL is

http://download.microsoft.com/download/2/5/2/2526f55d-32bc-410f-be18-164ba67ae07
d/XPSEP%20XP%20and%20Server%202003%2032%20bit.msi

Btw this was on OSX.

Original comment by petr.mi...@gmail.com on 20 Oct 2012 at 12:01

GoogleCodeExporter commented 8 years ago
OSX should have been a clue.  curl doesn't like spaces.
Should be fixed now in latest svn.

Original comment by daniel.r...@gmail.com on 29 Jun 2013 at 4:49