http://bugs.winehq.org/show_bug.cgi?id=33392
Bug #: 33392 Summary: winetricks dotnet40 install stuck on required disk space dialog Product: Wine Version: 1.4.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: info@skierpage.com Classification: Unclassified
Created attachment 44186 --> http://bugs.winehq.org/attachment.cgi?id=44186 install won't continue past this requirements dialog
tl;dr: The dotnet40 installer mis-reports the required and available space on drive C: as "64uMB".
I need to install .NET 4.0 for TurboTax Deluxe 2012.
So run winetricks dotnet40, it tells me to download gac<something> and restart, I do. After accepting the license I get the following dialog, which I'll attach as a screenshot <2> Resolve the conflicts, click Refresh to confirm the conflicts have been resolved,then click Next to continue with the installation.
⃠ Drive C: Required - 64uMB, Available - 64u MB
v These programs must be closed v These services must be stopped [nothing listed]
I was at 99% on my ext4 home drive, so I freed some space (now at Size 7.3G Used Avail 592M) and clicked [Refresh]. The dialog didn't change, so I Canceled the installation and repeated, but got the same dialog with the same incorrect space reporting. Console output shows no obvious problems:
fixme:propsheet:PROPSHEET_SetHeaderSubTitleW (0x1006e, 0, L"Please accept the license terms to continue."): stub fixme:propsheet:PROPSHEET_SetHeaderTitleW (0x1006e, 1, L"System Requirements"): stub fixme:propsheet:PROPSHEET_SetHeaderSubTitleW (0x1006e, 1, L"Setup cannot continue until the following conflicts have been resolved."): stub
This sounds like bug 27659 which went away for the reporter and so was closed.
http://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2013-04-14 15:47:30 CDT --- Hello,
--- quote --- So run winetricks dotnet40, it tells me to download gac<something> and restart, --- quote ---
you are using an outdated version of 'winetricks' script. Also Wine 1.4.1 is old and most of .NET Framework 4.0 was never functional there (WPF, WMI and the like).
Please upgrade your Wine to a recent version first, preferably Wine 1.5.2x If you don't know how to do this, ask in Winehq forums (http://forum.winehq.org/).
Follow appdb entry for .NET Frameworks how to install and work around problems: http://appdb.winehq.org/objectManager.php?sClass=application&iId=2586
(also get a newer 'winetricks' version as described in HOWTOs)
For Turbotax 2012 itself, visit: http://appdb.winehq.org/objectManager.php?sClass=version&iId=27491
Regards
http://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #2 from skierpage info@skierpage.com 2013-04-14 18:29:53 CDT --- (In reply to comment #1) Thanks for responding.
Please upgrade your Wine to a recent version first, preferably Wine 1.5.2x
OK, I'm now running wine-1.5.28
you are using an outdated version of 'winetricks' script.
I don't think so, http://winetricks.org/winetricks is still at 20120912
Anyway, when I rerun `winetricks dotnet40` I wind up at the same requirements dialog with the same incorrect " ⃠ Drive C: Required - 64uMB, Available - 64u MB".
Maybe that's not the root problem but surely there's a bug here with the wrong space numbers it displays.
http://bugs.winehq.org/show_bug.cgi?id=33392
skierpage info@skierpage.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.4.1 |1.5.28
http://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #3 from Anastasius Focht focht@gmx.net 2013-04-15 01:42:33 CDT --- Hello,
--- quote --- OK, I'm now running wine-1.5.28 --- quote ---
GOod.
--- quote --- I don't think so, http://winetricks.org/winetricks is still at 20120912 --- quote ---
Well the version tag doesn't mean much. There are various winetricks flavours with that same stamp floating around. "gacutil" was part of an old recipe - before Wine had proper fusion/assembly cache/msi support. If that gacutil part is still present in your local winetricks version please replace it by downloading from http://winetricks.org/winetricks or http://winetricks.googlecode.com/svn/trunk/src/winetricks (trunk).
Please try again with recent winetricks and a new WINEPREFIX (don't reuse existing prefixes from failed install attempts to be completely sure). Also make sure the prefix is 32-bit (WINEARCH=win32) if you're on 64-bit multilib.
Which distro do you use (version)?
If the error still persists, create a trace log as follows:
1) pre-create a new prefix using: 'WINEARCH=win32 wineboot' 2) run: 'WINEDEBUG=+tid,+seh,+relay,+msi bash winetricks dotnet40 >>log.txt 2>&1'
Ctrl+C at the point of error dialog (or wineserver -k from another console). Attach the resulting file to the bug (compress if too large).
Regards
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
no further response from OP, resolving 'abandoned'. Was likely invalid anyway.
Regards
http://bugs.winehq.org/show_bug.cgi?id=33392
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- closing abandoned/invalid/duplicate bugs
https://bugs.winehq.org/show_bug.cgi?id=33392
Patrick Littlefighter1996@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Littlefighter1996@googlemai | |l.com
--- Comment #6 from Patrick Littlefighter1996@googlemail.com --- Still occurs
https://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #7 from Patrick Littlefighter1996@googlemail.com --- (In reply to Patrick from comment #6)
Still occurs
Logfile:
https://mega.co.nz/#!fUlWkKBC!3FWPjhXXubjfqxAGte4nLbtDyB6_2nMsW6rNq2LQEPE
Because it's still bigger than 2 MB compressed (Are you really going to look through it) It's tested with
wine-1.7.33 and 20141130 - sha1sum: 7f03acb40d7fe3b6f3a1477ff936b3b17886e634
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|ABANDONED |--- Ever confirmed|0 |1
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Patrick,
can you attach the app installer log file from the last failed attempt?
Example path where it's located:
'c:\users<username>\temp\Microsoft .NET Framework 4 Setup_<date>_<time>.html'
(<date>_<time> is the local date of your last install, chose last one if multiple files present)
I've looked into the .NET installer code and it only uses 'GetDiskFreeSpaceExW' which should avoid any overflows due to large partitions/filesystems.
Can you also post the disk usage/free space of the mount point where your WINEPREFIX used for installation is located -> 'df'. Additionally information on the filesystem type and mount flags -> 'mount'.
Regards
https://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #9 from Patrick Littlefighter1996@googlemail.com --- (In reply to Anastasius Focht from comment #8)
Hello Patrick,
can you attach the app installer log file from the last failed attempt?
Example path where it's located:
'c:\users<username>\temp\Microsoft .NET Framework 4 Setup_<date>_<time>.html'
(<date>_<time> is the local date of your last install, chose last one if multiple files present)
I've looked into the .NET installer code and it only uses 'GetDiskFreeSpaceExW' which should avoid any overflows due to large partitions/filesystems.
Can you also post the disk usage/free space of the mount point where your WINEPREFIX used for installation is located -> 'df'. Additionally information on the filesystem type and mount flags -> 'mount'.
Regards
I'm sorry for disturbing >.< Checking my remaining space Solved the problem. I was a little under 800MB however the installer for ME didn't show it. This should rather be filed as a seperate bug, or maybe it's due to some workaround? However it's missing the message that there is not enough space. I even made free some space before installing but as it seemed just a little more was needed. I'm glad it isn't really a bigger problem, however if anyone else get's this problem now he'll check his remaining space twice ;) Thank you for the help, Patrick
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer Status|REOPENED |NEW URL| |http://download.microsoft.c | |om/download/9/5/A/95A9616B- | |7A37-4AF6-BC36-D6EA96C8DAAE | |/dotNetFx40_Full_x86_x64.ex | |e Component|-unknown |kernel32 Summary|winetricks dotnet40 install |.NET Framework 4.0 |stuck on required disk |installer misreports disk |space dialog |space if not enough disk | |space available 'Drive C: | |Required - 64u MB, | |Available - 64u MB' | |('FormatMessageA/W' needs | |to support I64)
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello Patrick,
--- quote --- Solved the problem. I was a little under 800MB however the installer for ME didn't show it. This should rather be filed as a seperate bug, or maybe it's due to some workaround? --- quote ---
Yes, the installer requires ~840 MB free disk space, including temporary space for unpacking. The app installer html log file shows it correctly.
I debugged the installer once again and the byte based sizes are correctly calculated and formatted.
--- snip --- 0033E1BC 00356380 "Drive:[%s] Bytes Needed:[%I64u] Bytes Available:[%I64u]" 0033E1C0 001FDC08 "C:" 0033E1C4 34988D8E ; 882412942 Bytes 0033E1C8 00000000 0033E1CC 1E9E9000 ; 202377170944 Bytes 0033E1D0 0000002F --- snip ---
-> "Drive:[C:] Bytes Needed:[882412942] Bytes Available:[202377170944]"
But the formatting for MB units doesn't seem correct.
--- snip --- 0033E20C 008575C0 "Drive %1!s!: Required - %2!s! MB, Available - %3!s! MB" 0033E210 001F96A8 0033E214 001FDC08 "64u" 0033E218 0094A078 "64u" 0033E21C A43C3EDF 0033E220 003579E4 SetupUi.003579E4 --- snip ---
--- snip --- 0031:Call user32.SetWindowTextW(00010090,00dfdde8 L"Drive C: Required - 64u MB, Available - 64u MB") ret=00368e94 --- snip ---
That's what OP also complained about.
Also reported in bug 27659
The problem is missing I64 format string support in 'kernel32.FormatMessageA/W'.
Debugger session:
--- snip --- Wine-dbg>bt Backtrace: =>0 0x7b8455f9 FormatMessageW(dwFlags=0x500, lpSource=0x35543c, dwMessageId=0, dwLanguageId=0, lpBuffer="", nSize=0, args=0x33e200) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/format_msg.c:568] in kernel32 (0x0033e1ec) 1 0x003750a0 in setupui (+0x2509f) (0x0033e204) 2 0x00368dc8 in setupui (+0x18dc7) (0x0033e250) 3 0x003691e1 in setupui (+0x191e0) (0x0033e304) ...
Wine-dbg>n 617 target = format_message( TRUE, dwFlags, from, &format_args );
Wine-dbg>p from "%1!I64u!"
--- snip ---
There is also a FIXME comment, indicating this in the sources:
http://source.winehq.org/git/wine.git/blob/810ed5c85a0bccfe35dc7d4c3c7621216...
In the end indeed a valid bug :-)
Regards
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Riskexas@gmail.com
--- Comment #11 from Anastasius Focht focht@gmx.net --- *** Bug 27659 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
https://source.winehq.org/git/wine.git/blob/f9181daa1ddc2c10d3b6ddd4610bc142...
$ wine --version wine-3.1
Regards
https://bugs.winehq.org/show_bug.cgi?id=33392
djfarrell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djfarrell@gmail.com
--- Comment #13 from djfarrell@gmail.com --- This happens to me but only when installing to an NFS share.
https://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #14 from djfarrell@gmail.com --- This happens to me but only when installing to an NFS share.
https://bugs.winehq.org/show_bug.cgi?id=33392
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- I believe this should work now. It was implemented in RtlFormatMessage(), 5bb9f86dbe6cba002b3cd3b71c73f52a97ce6a60. Later kernelbase/kernel32 were switched to it with 7b01281745e520397ccabf1ab315095070a0772d. Tests are also present, this is probably safe to close.
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |7b01281745e520397ccabf1ab31 | |5095070a0772d Resolution|--- |FIXED
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
thanks for the reminder, it's indeed fixed.
--- snip --- ... 010c:Call KERNEL32.FormatMessageW(00000500,0172d7d8,00000000,00000000,0031e5f8,00000000,0031e61c) ret=019f685a 010c:trace:nls:FormatMessageW (0x500,0172D7D8,0,0x0,0031E5F8,0,0031E61C) ... 010c:Call ntdll.RtlFormatMessage(0172d7d8,00000000,00000000,00000000,00000000,0031e61c,002005f8,00010000,0031e568) ret=7b02379d 010c:Ret ntdll.RtlFormatMessage() retval=00000000 ret=7b02379d ... 010c:Ret KERNEL32.FormatMessageW() retval=00000030 ret=019f685a ... 010c:Call user32.SetWindowTextW(0001009a,018592b8 L"Drive C: Required - 1842 MB, Available - 121 MB") ret=019e8e94 --- snip ---
* https://source.winehq.org/git/wine.git/commitdiff/7b01281745e520397ccabf1ab3... ("kernelbase: Reimplement FormatMessageA/W using RtlFormatMessage().")
* https://source.winehq.org/git/wine.git/commitdiff/5bb9f86dbe6cba002b3cd3b71c... ("ntdll: Implement RtlFormatMessage().")
Thanks Alexandre
$ wine --version wine-5.19-123-ge909986e6ea
Regards
https://bugs.winehq.org/show_bug.cgi?id=33392
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.20.
https://bugs.winehq.org/show_bug.cgi?id=33392
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/9/5/A/95A9616B- |/20100818223107/http://down |7A37-4AF6-BC36-D6EA96C8DAAE |load.microsoft.com/download |/dotNetFx40_Full_x86_x64.ex |/9/5/A/95A9616B-7A37-4AF6-B |e |C36-D6EA96C8DAAE/dotNetFx40 | |_Full_x86_x64.exe