mariusvam / winetricks

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

winetricks ignores WINEARCH=win32 variable. #340

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the wineprefix and its architechture to "win32" on a 64 computer with a 
32 bit wine. 
2. run winetricks
3. install dotnet40. 

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

I expect to download the 32 bit installer of dotnet40, it downloads the 64 bit 
instead. 

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

Debian 7.1 and winetricks 20130707

Please provide any additional information below.

This is the output of my Terminal: 

env | grep WINE
WINEARCH=win32
WINEPREFIX=/home/joseluis64deb/.local/share/wineprefixes/acad2012
┌─[joseluis64deb]↔[debian64]»[~]
└─$→ bash winetricks -q dotnet40 corefonts
Executing w_do_call dotnet40
Executing load_dotnet40
------------------------------------------------------
dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
------------------------------------------------------
Checksum for 
/home/joseluis64deb/.cache/winetricks/dotnet40/dotNetFx40_Full_x86_x64.exe did 
not match, retrying download
------------------------------------------------------
Downloading 
http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAA
E/dotNetFx40_Full_x86_x64.exe to /home/joseluis64deb/.cache/winetricks/dotnet40
--2013-08-09 22:28:12--  
http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAA
E/dotNetFx40_Full_x86_x64.exe
Resolviendo download.microsoft.com (download.microsoft.com)... 23.59.190.122, 
23.59.190.136
Conectando con download.microsoft.com 
(download.microsoft.com)[23.59.190.122]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 50449456 (48M) [application/octet-stream]
Grabando a: “dotNetFx40_Full_x86_x64.exe”

¿How could it be a successfull instalation of dotnet40 when wine does not 
support 64 bit wineprefixes and I have a 32 bit version on wine? this time 
winetricks sucks.  

Original issue reported on code.google.com by TheUn...@gmail.com on 10 Aug 2013 at 3:30

GoogleCodeExporter commented 9 years ago
That exe has both 32-bit and 64-bit installers.

Original comment by austinenglish@gmail.com on 13 Aug 2013 at 12:39

GoogleCodeExporter commented 9 years ago
Yep, I cheked it for myself... the executable has both 32 bit and 64 bit 
binaries... my mistake. 

It is just matter to put the WINEARCH=win32 variable to use the 32 bit 
binaries. 

Thank you for your reponse. 

Original comment by TheUn...@gmail.com on 13 Aug 2013 at 12:59