cckec / winetricks

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

dotnet30 install fails #263

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installing dotnet35 on a clean wineprefix 32bit using winetricks 20120819
2. it fails even if I run echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope 
before the installation

What is the expected output? What do you see instead?
I could install dotnet35 before but now the installation fails at 
netframework3. I'm seeing a window with information that loading of installer 
elements failed and in terminal:

dotnet30 install completed, but installed file 
/media/Dane/.wine-Giana//dosdevices/c:/windows/Microsoft.NET/Framework/v3.0/Micr
osoft .NET Framework 3.0/logo.bmp not found

There is also rundll32.exe window with error message:

Please set registry key 
HKLM\Software\Microsoft\.NETFramework\InstallRoot to point to the .NET 
Framework install location

What version of the product are you using? On what operating system?
Wine 1.5.11 compiled with gcc4.5 (for Bug 22053) and Wine 1.5.8 from Ubuntu PPA
Ubuntu 12.04.1 64bit (Proposed enabled)
Kernel 3.5.0-11-generic (from xorg-edgers PPA)

Please provide any additional information below.
winetricks -q dotnet35

Current wine does not have wine bug 30845, so not applying workaround
------------------------------------------------------
Obchodzenie błędu w wine 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe /q 
/c:install.exe /q
fixme:advapi:DecryptFileA "C:\\users\\mateusz\\Temp\\IXP000.TMP\\" 00000000
p11-kit: couldn't load module: 
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: nie można otworzyć 
pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
p11-kit: couldn't load module: 
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: nie można otworzyć 
pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
fixme:advapi:LsaOpenPolicy ((null),0x33f31c,0x00000001,0x33f344) stub
fixme:advapi:LsaClose (0xcafe) stub
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe /q 
/c:install.exe /q' returned status 26.  Aborting.

It seems that this workaround is unnecessary with Wine 1.5.8 and onward.

Original issue reported on code.google.com by stachows...@gmail.com on 25 Aug 2012 at 12:30

GoogleCodeExporter commented 8 years ago
Does https://winetricks.googlecode.com/svn-history/r883/trunk/src/winetricks
work any better?

Original comment by daniel.r...@gmail.com on 25 Aug 2012 at 2:49

GoogleCodeExporter commented 8 years ago
Unfortunately it doesn't work either.

dotnet30 install completed, but installed file 
/media/Dane/.wine-Giana//dosdevices/c:/windows/Microsoft.NET/Framework/v3.0/Micr
osoft .NET Framework 3.0/logo.bmp not found

Original comment by stachows...@gmail.com on 25 Aug 2012 at 4:09

GoogleCodeExporter commented 8 years ago
Confirming this issue on:
- winetricks 20120819 (obtained from 
http://winetricks.googlecode.com/svn/trunk/src/winetricks few hours ago)
- wine 1.5.10
- Sabayon (rolling distro at latest version) x86_64
- kernel 3.5.0

Original comment by Andriy.T...@gmail.com on 30 Aug 2012 at 8:29

GoogleCodeExporter commented 8 years ago
A regression test would be helpful
( http://wiki.winehq.org/RegressionTesting )
if you have a known good past version to start from.

Original comment by daniel.r...@gmail.com on 30 Aug 2012 at 8:47

GoogleCodeExporter commented 8 years ago
I successfully installed dotnet35sp1 (which I believe includes dotnet30) on 
following configuration:
- winetricks 20120819 (obtained from 
http://winetricks.googlecode.com/svn/trunk/src/winetricks on Aug 20, 2012)
- wine 1.5.9
- Sabayon (rolling distro at latest version) x86_64
- kernel 3.5.0

Changes after which the problem started:
- wine 1.5.9 > 1.5.10
- winetricks @ Aug 20 > now

Again, my comment is invalid if dotnet35sp1 does not include dotnet30!

Original comment by Andriy.T...@gmail.com on 30 Aug 2012 at 9:09

GoogleCodeExporter commented 8 years ago
confirmed with gentoo x86_64
wine-1.5.12
winetricks-999999

Original comment by aladjev....@gmail.com on 10 Sep 2012 at 8:30

GoogleCodeExporter commented 8 years ago
Is there an actual Wine bug open for the failure? It isn't clear where the 
failure is.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=9828

Original comment by ImWellCu...@gmail.com on 7 Nov 2012 at 2:14

GoogleCodeExporter commented 8 years ago
Installation of .net 3.0 succeeded on following configuration:
- wine 1.5.16
- winetricks 20120912 (obtained from svn an hour ago)
- sabayon x86_64

Original comment by Andriy.T...@gmail.com on 18 Nov 2012 at 2:34

GoogleCodeExporter commented 8 years ago
I've updated my winetricks today but the installation of dotnet35 still fails. 
This time it stops at dotnet20sp1.

dotnet20sp1 install completed, but installed file 
/media/Dane/.wine-NET//dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32
/indexb.dat not found

The dotnet30 installation succeeded but this doesn't change the fact that 
dotnet35 fails.

- wine 1.5.17 (32 bit Wineprefix)
- winetricks from svn downloaded today
- Ubuntu 12.10 x86_64

Original comment by stachows...@gmail.com on 18 Nov 2012 at 9:18

GoogleCodeExporter commented 8 years ago
You can check to see if winetricks is falsely reporting failure
by running 'winetricks dotnet_verifier', then doing
'wine netfx_setupverifier.exe'

If .net 2.0 sp1 validates ok, then it's a winetricks bug.

Original comment by daniel.r...@gmail.com on 18 Nov 2012 at 9:25

GoogleCodeExporter commented 8 years ago
I just tested dotnet35 installation. winetricks successfully installed it on 
following configuration:
- wine 1.5.16
- winetricks 20120912 (obtained from svn an hour ago)
- sabayon x86_64
There were no problems with installing dotnet20sp1 in the middle of dotnet35 
installation.
The only difference between my and author of comment #9 setups are wine version 
(mine is a bit older) and distro.
Running 'winetricks dotnet_verifier' always fails with "sha1sum mismatch!  
Rename 
/home/winer/.cache/winetricks/dotnet_verifier/netfx_5F00_setupverifier_5F00_new.
zip and try again."
But this tool http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx 
says that all .net frameworks (2.0 sp1, 3.0 sp1 and 3.5) are fine.

Original comment by Andriy.T...@gmail.com on 19 Nov 2012 at 1:26

GoogleCodeExporter commented 8 years ago
I've tested it again today and this time everything installed without problems. 
The .Net verifier succeeded with dotnet 2.0 sp1, 3.0 sp1 and 3.5.

I had the same problem as Andriy with "winetricks dotnet_verifier" but 
extracting that downloaded archive manually worked and then I could run the 
program.

Original comment by stachows...@gmail.com on 19 Nov 2012 at 8:28

GoogleCodeExporter commented 8 years ago
Neither dotnet20sp1 nor dotnet30 work with Wine 1.5.26 and winetricks 20120912.

Verifier cannot find the installations but winetricks claims files are missing 
anyway.

Original comment by ImWellCu...@gmail.com on 24 Mar 2013 at 1:53

GoogleCodeExporter commented 8 years ago
This works fine in 1.6-rc4 and current winetricks. Please retest.

Original comment by austinenglish@gmail.com on 29 Jun 2013 at 1:52

GoogleCodeExporter commented 8 years ago
Failure is identical in wine-1.6-rc4-99-g94c7806 and Winetricks 20130624.

The Verifier still doesn't detect 3.0.

Original comment by ImWellCu...@gmail.com on 11 Jul 2013 at 3:18

GoogleCodeExporter commented 8 years ago
20130624?  Pshaw, that's prehistoric :-)
Please try again with 20130707.

Original comment by daniel.r...@gmail.com on 11 Jul 2013 at 3:26

GoogleCodeExporter commented 8 years ago
20130624 is the latest that came down with the .deb, presumably from the Wine 
PPA.

No change in 20130707.

Original comment by ImWellCu...@gmail.com on 11 Jul 2013 at 3:41

GoogleCodeExporter commented 8 years ago
wine 1.6-rc5 and winetricks today still dotnet35 fail to install

Original comment by u.magi...@gmail.com on 13 Jul 2013 at 3:10

GoogleCodeExporter commented 8 years ago
[user@~]$ WINEARCH=win32 WINEPREFIX=~/.win32 winetricks dotnet35sp1
Executing w_do_call dotnet35sp1
Executing load_dotnet35sp1
------------------------------------------------------
dotnet35sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
------------------------------------------------------
dotnet30sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30
dotnet30 already installed, skipping
Executing w_do_call dotnet20sp1
dotnet20sp1 already installed, skipping
ADD - HKLM\Software\Microsoft\Net Framework Setup\NDP\v3.0 Version 0 REG_SZ 3.0 
1
The operation completed successfully
ADD - HKLM\Software\Microsoft-\Net Framework Setup\NDP\v3.0 SP 0 REG_DWORD 0001 
1
The operation completed successfully
Executing wine msiexec /i XPSEP XP and Server 2003 32 bit.msi
------------------------------------------------------
Note: command 'wine msiexec /i XPSEP XP and Server 2003 32 bit.msi' returned 
status 2.  Aborting.
------------------------------------------------------

Checking the directory /home/user/.cache/winetricks/dotnet30sp1/ i found a msi 
called "XPSEP%20XP%20and%20Server%202003%2032%20bit.msi" and i thought, "maybe 
i can just.. run it with all the %20 instead of spaces?".. and yea, after that 
running:

    WINEARCH=win32 WINEPREFIX=~/.win32 winetricks dotnet35sp1

It works..
But i do have to install dotnet35sp1 before _anything else_ for some reason..

But yea, i think i've reported this to the maintainer: "You opted in, so 
reporting 'dotnet35sp1 dotnet20sp2 w_workaround_wine_bug-22521 ' to the 
winetricks maintainer so he knows which winetricks verbs get used and which 
don't.  Use --optout to disable future reports."

Original comment by Anton.Do...@gmail.com on 14 Jul 2013 at 2:51

GoogleCodeExporter commented 8 years ago
err:msi:ITERATE_Actions Execution halted, action 
L"DD_CA_InstallXwsRegExe_X86.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603

I think I may be seeing a Wine bug.

http://bugs.winehq.org/show_bug.cgi?id=34057

Original comment by ImWellCu...@gmail.com on 14 Jul 2013 at 8:15

GoogleCodeExporter commented 8 years ago

Confirming that replacing the line:
    w_try $WINE msiexec /i "XPSEP XP and Server 2003 32 bit.msi" ${W_OPT_UNATTENDED:+/qb}
with:
    w_try $WINE msiexec /i "XPSEP%20XP%20and%20Server%202003%2032%20bit.msi" ${W_OPT_UNATTENDED:+/qb}

in winetricks, allows me to get through the dotnet30 stage part of dotnet35sp1.

( Using wine-1.6-rc4, and a version of winetricks I grabbed from the repo 
around last weekend ).

Thanks a lot for posting this workaround, Anton.

I'm not too familiar with issue submission on winetricks, should this be posted 
as a separate issue?  I don't think it's related to the original error reported 
in this issue.

Original comment by dress...@gmail.com on 21 Jul 2013 at 4:45

GoogleCodeExporter commented 8 years ago
For the XPSEP issue, that should be fixed by r1038.

Sorry about that, I had the file cached under both filenames, so when I tested, 
I didn't see the issue before committing.

Original comment by austinenglish@gmail.com on 30 Jul 2013 at 12:44

GoogleCodeExporter commented 8 years ago
Works fine here now.

$ winetricks --version ; wine-git --version
20130707

wine-1.7.0

Original comment by ImWellCu...@gmail.com on 4 Aug 2013 at 10:25

GoogleCodeExporter commented 8 years ago

Original comment by daniel.r...@gmail.com on 25 Aug 2013 at 3:03

GoogleCodeExporter commented 8 years ago
This is certainly not fixed for me.  First the XPSEP patch in r1038, message 22 
has not been applied in winetricks version 20130707 then the install of 
dotnet3.5 fails in a couple of places.  I applied that patch by hand.

The first failure is in some auxiliary program,  which fails if you try to 
register it to view some sort of file type which escapes me right now.  

The second failure is that now dotnet3.5 does not recognize any of the prior 
dotnet installs.  The errors it reports are,

[08/27/13,15:50:10] Microsoft .NET Framework 2.0a: [2] Error: Installation 
failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[08/27/13,15:50:18] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a 
is not installed.
[08/27/13,16:14:39] Microsoft .NET Framework 3.0a: [2] Error: Installation 
failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[08/27/13,16:14:42] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a 
is not installed.
[08/27/13,16:18:45] Microsoft .NET Framework 3.0a: [2] Error: Installation 
failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[08/27/13,16:18:47] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a 
is not installed.

Of course both dotnet 2.0 and 3.0 (non a) versions are installed and verified 
in my 32 bit wine prefix.

I'm running wine 1.6 on linux mint 15.  For me the status is not fixed.  Did 
microsoft change their dotnet3.5 installer?

Original comment by mattc...@earthlink.net on 27 Aug 2013 at 8:37

GoogleCodeExporter commented 8 years ago
We haven't done a release since then, I think.

Can you try from trunk on a clean WINEARCH=WIN32 wineprefix, just in case?

http://winetricks.googlecode.com/svn/trunk/src/winetricks

Original comment by daniel.r...@gmail.com on 27 Aug 2013 at 8:48

GoogleCodeExporter commented 8 years ago
OK retried on a clean wine prefix and it actually worked,  I think.  I haven't 
verified it yet.  I'll try that later.

The primary difference between this time and last time was that I chose not to 
register that MS XMS essentials program.  If you register it, it breaks things 
I guess.

FYI for those interested here is what I did:

 wine --version
wine-1.6

WINEPREFIX='/home/matthew/wine32' WINEARCH='win32' wine 'wineboot'
wine: created the configuration directory '/home/matthew/wine32'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee8d0, overlapped 0x10ee8dc): stub
wine: configuration in '/home/matthew/wine32' has been updated.

winetricks --version
20130707

WINEPREFIX=~/wine32 winetricks dotnet35
.... lots of stuff.....

It worked this time!

Original comment by mattc...@earthlink.net on 27 Aug 2013 at 9:50

GoogleCodeExporter commented 8 years ago
Hi, I had this issue on a wine 1.73, when trying to install .net 3.5, it would 
first try to install .net 3.0 SP1, which would fail.

Based on Anton's initial comments, I went into ~/.cache/winetricks/dotnet30 and 
renamed XPSEP%20XP%20and%20Server%202003%2032%20bit.msi to XPSEP\ XP\ and\ 
Server\ 2003\ 32\ bit.msi, and I no longer had problems with installing via 
winetricks.

Original comment by wodenc...@gmail.com on 5 Oct 2013 at 12:23

GoogleCodeExporter commented 8 years ago
I would be glad to finally install .net 3.5, however there is no 
~/.cache/winetricks whatsoever. I have installed wine and bottler on my MacBook 
Pro (OSX 10.8.5), and looking in my local current user directory (or any other 
in /Users/Home for that matter).
What am I doing wrong here?

Original comment by paul.bra...@gmail.com on 27 Oct 2013 at 1:20

GoogleCodeExporter commented 8 years ago
Try
  http://winetricks.googlecode.com/svn/trunk/src/winetricks
instead of your old copy of winetricks.

( And fyi, the cache may be kept elsewhere on macosx, i.e. $HOME/Library/Caches 
)

Original comment by daniel.r...@gmail.com on 27 Oct 2013 at 4:44

GoogleCodeExporter commented 8 years ago
Also encountered this problem.
Found the following output in the winetricks terminal:
err:eventlog:ReportEventW L"System.ArgumentException: Item has already been 
added. Key in dictionary: 'http_proxy'  Key being added: 'http_proxy'\r\n   at 
System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)\r\n 
  at System.Collections.Hashtable.Add(Object key, Object value)\r\n   at 
System.Collections.Sp"..

..so I promptly unset all environment variables relative to HTTP and proxy.
The install worked, but I'm unsure about the overall 'health' of the resulting 
installation.

Original comment by Negre...@gmail.com on 10 Oct 2014 at 3:34

GoogleCodeExporter commented 8 years ago
That's a separate issue (and more likely a wine bug), though hard to say 
without more info.

winetricks doesn't set HTTP_PROXY

Original comment by austinenglish@gmail.com on 10 Oct 2014 at 8:39