[Bug 46039] New: Paint.NET doesn't install
https://bugs.winehq.org/show_bug.cgi?id=46039 Bug ID: 46039 Summary: Paint.NET doesn't install Product: Wine Version: 3.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs(a)winehq.org Reporter: hildogjr(a)gmail.com Distribution: --- Paint.NET 4.1 https://www.getpaint.net/ doesn't install in Wine 3.18, possible problem with Framework.NET that the software installer try to install during the main installation. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Paint.NET doesn't install |Paint.NET 4.1 (.NET 4.7 | |app) installer tries to run | |MS .NET Framework 4.7 | |installer (Wine-Mono only | |advertises as .NET 4.5) Ever confirmed|0 |1 Keywords| |download, Installer CC| |focht(a)gmx.net URL| |https://www.dotpdn.com/file | |s/paint.net.4.1.2.install.z | |ip Component|comdlg32 |mscoree --- Comment #1 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, the failure is expected. The installer checks the registry using the MS recommended way for .NET Frameworks installation. Wine-Mono advertises itself as .NET Framework 4.5 in registry hence the installer will try to run MS .NET Framework 4.7 installer. This can't work by design as long as Wine-Mono is installed in WINEPREFIX. You can of course always work around by using 'winetricks' which has recipes for various MS .NET Frameworks, including proper uninstallation of Wine-Mono. --- snip --- [HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v4\Full] "Install"=dword:00000001 "Release"=dword:0005c615 "TargetVersion"="4.0.0" "Version"="4.5.50709" --- snip --- Release: 0x5C615 -> 378389 = .NET Framework 4.5 --- snip --- 002d:Call advapi32.RegGetValueW(80000002,004181d8 L"Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full",00418618 L"Release",00000010,0033de9c,0033dec4,0033dea0) ret=004019fe 002d:Ret advapi32.RegGetValueW() retval=00000000 ret=004019fe ... 002d:Call advapi32.RegGetValueW(80000002,001575e8 L"Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full\\1033",00418618 L"Release",00000010,0033de74,0033de9c,0033de78) ret=004019fe 002d:Ret advapi32.RegGetValueW() retval=00000002 ret=004019fe ... 002d:Call KERNEL32.OutputDebugStringA(0033cef4 " bIsNetfxInstalled = false") ret=00401c70 ... 002d:Call KERNEL32.GetFileAttributesW(004182e4 L".\\NDP472-KB4054531-Web.exe") ret=00401339 002d:Ret KERNEL32.GetFileAttributesW() retval=00000020 ret=00401339 002d:Call KERNEL32.OutputDebugStringA(0033cef4 " bIsNetfxInstallerPresent = true") ret=00401c70 --- snip --- App installer has a hard-coded check for: Release: 0x707FE -> 460798 = .NET Framework 4.7.0 as minimum https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-a... --- quote --- 4.7.2 - 461814 (Windows 10 October 2018 Update) 4.7.2 - 461808 (Windows 10 April 2018 Update and Windows Server, version 1803) 4.7.2 - 461814 (all other OS versions) 4.7.1 - 461308 (Windows 10 Creators Update and Windows Server, version 1709) 4.7.1 - 461310 (all other OS versions) 4.7.0 - 460798 (Windows 10 Creators Update) 4.7.0 - 460805 (all other OS versions) ... --- quote --- NOTE: The Wine-Mono installer version scheme doesn't correspond with MS .NET Frameworks scheme. This is a common misconception of users. http://dl.winehq.org/wine/wine-mono/4.7.3/ -> has nothing to do with MS .NET 4.7 compatibility. $ sha1sum paint.net.4.1.2.install.zip dddd877a50536edce48408186782916127a055f3 paint.net.4.1.2.install.zip $ du -sh paint.net.4.1.2.install.zip 7.5M paint.net.4.1.2.install.zip $ wine --version wine-3.18-151-ge52a20f5bf Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #2 from Hildo Guillardi Júnior <hildogjr(a)gmail.com> --- Created attachment 62993 --> https://bugs.winehq.org/attachment.cgi?id=62993 Error in installtion validation I could install manually the Framework.NET 4.7.2 from https://support.microsoft.com/en-us/help/4054530/microsoft-net-framework-4-7... that is the requirement for Paint.NET 4.1.5, so I could bypass the installation by the Paint.net setup file but I got the attached error at the end. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #3 from Hildo Guillardi Júnior <hildogjr(a)gmail.com> --- Created attachment 62994 --> https://bugs.winehq.org/attachment.cgi?id=62994 Error on coped installeation I even try to copy the installed software for my vitual Windows machine and paste at Linux (Ubuntu 16.04) and got the attached error when tried to execute Paint.NET. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 huntantr <huntantr(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |huntantr(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.dotpdn.com/file |https://web.archive.org/web |s/paint.net.4.1.2.install.z |/20190116215837/https://www |ip |.dotpdn.com/files/paint.net | |.4.1.2.install.zip -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #4 from Hildo Guillardi Júnior <hildogjr(a)gmail.com> --- Error still on Paint.NET 4.2.15 Wine 6.2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #5 from Esme Povirk <madewokherd(a)gmail.com> --- Currently I get this exception: [000000000000012c:] EXCEPTION handling: System.InvalidProgramException: Invalid IL code in <Module>:ATL.AtlLoadSystemLibraryUsingFullPath (char modopt(System.Runtime.CompilerServices.IsConst)*): IL_006d: add An error in an add instruction means it can't be a stack size issue. IL_0064: ldloc.1 IL_0065: ldc.i4.1 IL_0066: sub IL_0067: conv.u8 IL_0068: ldc.i4.2 IL_0069: conv.i8 IL_006a: mul IL_006b: ldloca.s 3 IL_006d: add This is a 64-bit int added to a managed pointer, on 64-bit. Looks like a case we missed that should be accepted. After working around that, it seems to fail due to Direct3D features that are not implemented. There's also a call to tr_library_CreateLinearTransition from uianimation in there, but it seems to get past that. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #6 from Esme Povirk <madewokherd(a)gmail.com> --- Sorry, I meant Direct2D features, not Direct3D. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #7 from Esme Povirk <madewokherd(a)gmail.com> --- Fix for the IL issue committed to Wine Mono develop branch: https://github.com/madewokherd/mono/commit/99f989f7ff8c0c30824df603e3cfa5936... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|mscoree |d2d --- Comment #8 from Esme Povirk <madewokherd(a)gmail.com> --- With updated wine-mono it seems to fail on unimplemented Direct2D features, changing component. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #9 from Anastasius Focht <focht(a)gmx.net> --- Hello Esme, while it's certainly welcome to fix as many Wine-Mono interoperability bugs as possible we should avoid recycling the same issue over and over again. Turning bugs into meta-bugs "Make app x to work with Wine" defeats the one-bug-report-per-problem paradigm. It has been three times already. The original summary from 2018 is no longer applicable here. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 C. Leu <kle(a)bluewin.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kle(a)bluewin.ch --- Comment #10 from C. Leu <kle(a)bluewin.ch> --- Hi all Short question, - we have 2024 and Wine Mono 9.1.0. Is the original mentioned bug "Wine-Mono only advertises .NET 4.5" still valid? If the .NET version support was in newer Wine Mono builds increased then this topic should be resolved. I wasn't able to find any information about the .NET support in current Wine Mono releases. And regarding the other Paint.NET 4.x problem. I can confirm the issue regarding the "unimplemented Direct2D" feature. And I think this is the other primary problem why newer Paint.NET 4.x and 5.x builds are not working on Wine. Whatever, maybe I will look again into this matter when I find the time. Now, that the last Paint.NET 3.5.11 release is finally working (almost perfectly) in Wine 9.8 and Wine Mono 9.1.0 (see bug 55513 for more details). ;-) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #11 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- So is this bug fixed? i.e. the installer works? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #12 from C. Leu <kle(a)bluewin.ch> --- A new addition. The original mentioned installer crash because of a ".NET 4.5 limitation" in Mono seems no longer present. However, the installer still crashes almost instantly because of an "unimplemented Direct2D" feature. For more details see the added log file of Paint.NET 4.0.8. Probably I will open a new bug report targeting that specific Direct2D bug in Paint.NET 4.x based releases. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #13 from C. Leu <kle(a)bluewin.ch> --- Created attachment 76439 --> https://bugs.winehq.org/attachment.cgi?id=76439 Paint.NET 4.0.8 log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5e86cc0a8f37295072b03b1c13a | |a205ff3e6f3e4 Resolution|--- |FIXED Status|NEW |RESOLVED Component|d2d |mscoree --- Comment #14 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, as mentioned multiple times: please stop recycling tickets for different problems. One problem per bug report. Is that concept to hard to grasp? The original problem the ticket was about was fixed with commit https://source.winehq.org/git/wine.git/commit/5e86cc0a8f37295072b03b1c13aa20... ("mscoree: Update Wine Mono to 4.8.0."). Part of Wine 4.3 release. Thanks Esme. Output with Wine 4.3 / Wine-Mono 4.8.0 (working): --- snip --- $ WINEDEBUG=+debugstr,+msgbox wine ./paint.net.4.1.4.install.exe 0055:warn:debugstr:OutputDebugStringA "--- paint.net SetupShim starting, lpCmdLine='/suppressReboot', nCmdShow=10" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "CoInitialize(NULL) returned 0" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "Checking OS requirement" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsWin7SP1 = true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsWin8 = false" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsWin81 = false" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsWin10 = false" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsWin10_1607 = false" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bResult = true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "EnsureOSRequirement() returned 0" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "Called EnsureTrustedInstallerIsEnabledAsync()" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "Checking .NET requirement" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsNetfxInstalled = true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsSupportedNetfxInstalled = true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA " bIsNetfxInstallerPresent = true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "PreInstallPrompt() returned true" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "InstallNetfx() returned 0" 0055:warn:debugstr:OutputDebugStringA "\r\n" 0055:warn:debugstr:OutputDebugStringA "Launching paint.net installer. bRebootRequired=false" 0055:warn:debugstr:OutputDebugStringA "\r\n" --- snip --- Output with Wine 4.0-rc6 / Wine-Mono 4.7.5 (one Wine-Mono release before, not working): --- snip --- $ WINEDEBUG=+debugstr,+msgbox wine ./paint.net.4.1.4.install.exe 0134:warn:debugstr:OutputDebugStringA "--- paint.net SetupShim starting, lpCmdLine='/suppressReboot', nCmdShow=10" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA "CoInitialize(NULL) returned 0" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA "Checking OS requirement" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsWin7SP1 = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsWin8 = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsWin81 = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsWin10 = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsWin10_1607 = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bResult = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA "EnsureOSRequirement() returned 0" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA "Called EnsureTrustedInstallerIsEnabledAsync()" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA "Checking .NET requirement" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsNetfxInstalled = false" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsSupportedNetfxInstalled = false" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:warn:debugstr:OutputDebugStringA " bIsNetfxInstallerPresent = true" 0134:warn:debugstr:OutputDebugStringA "\r\n" 0134:trace:msgbox:MSGBOX_OnInit L"The following will be installed:\n\n\2022 .NET Framework 4.7.2\n\2022 paint.net\n" --- snip --- Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 --- Comment #15 from C. Leu <kle(a)bluewin.ch> --- Yes the original problem is solved so this bug report can be closed. Note, bug 56662 can be seen as a following-up regarding the Direct2D issue in Paint.NET 4.x builds. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46039 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.10. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla