[Bug 46039] 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)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 23 15:50:08 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=46039

Anastasius Focht <focht at 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 at 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 at 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-and-dependencies

--- 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.



More information about the wine-bugs mailing list