[Bug 45150] SIGMA Photo Pro 6.6.0 (.NET 4.7 app) won' t run due to broken .NET Framework 4.7 installation in 64-bit WINEPREFIX ( MSVCR120_CLR0400.dll not found)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 7 09:04:00 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://www.sigma-global.co
                   |                            |m/common/download/cameras/s
                   |                            |igma-photo-pro/data/SPP_6.6
                   |                            |.0_setup.exe
            Summary|SIGMA Photo Pro 6.6.0 ::    |SIGMA Photo Pro 6.6.0 (.NET
                   |MSVCR120_CLR0400.dll not    |4.7 app) won't run due to
                   |found                       |broken .NET Framework 4.7
                   |                            |installation in 64-bit
                   |                            |WINEPREFIX
                   |                            |(MSVCR120_CLR0400.dll not
                   |                            |found)
                 CC|                            |focht at gmx.net
         Resolution|---                         |INVALID
           Keywords|                            |dotnet, download, win64
           Hardware|x86                         |x86-64
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

you have a broken 64-bit WINEPREFIX with regards to .NET Frameworks
installation since you didn't follow the standard practice/guideline for .NET
installers (which works around several known issues/limitations/.NET
dependencies).

--- snip ---
$ wine .wine/drive_c/Program\ Files/SIGMA/SIGMA\ Photo\ Pro\
6/SIGMA_PhotoPro6.exe 
--- snip ---

General advice (unrelated to the installation issues in this ticket):

Don't run applications outside of the installation directory!
The working directory should always be the app install directory.

--- snip ---
wine: Call from 0x7b43d72c to unimplemented function
mscoree.dll.CorIsLatestSvc, aborting
wine: Unimplemented function mscoree.dll.CorIsLatestSvc called at address
0x7bc50023:0x7b43d72c (thread 0019), starting debugger...
--- snip ---

That's bug 31688 resulting in broken WINEPREFIX.

--- snip ---
001c:err:module:import_dll Library MSVCR120_CLR0400.dll (which is needed by
L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found
001c:err:module:attach_dlls Importing dlls for
L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe" failed,
status c0000135
000f:err:service:process_send_command service protocol error - failed to write
pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service
L"clr_optimization_v4.0.30319_64" failed to start: 1053
--- snip ---

Same class as bug 44869 (which is also a dupe), resulting in broken 64-bit
WINEPREFIX.

--- snip ---
Stacktrace:

 at <unknown> <0xffffffff>
  at (wrapper managed-to-native)
System.Drawing.SafeNativeMethods/Gdip.GdipLoadImageFromStream
(System.Drawing.UnsafeNativeMethods/IStream,intptr&) [0x00013] in
<6ce7e8716436463fa575e9bf4a63a33c>:0
  at System.Drawing.Image.InitializeFromStream (System.IO.Stream) [0x0000c] in
<6ce7e8716436463fa575e9bf4a63a33c>:0
  at System.Drawing.Image..ctor
(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
[0x0003a] in <6ce7e8716436463fa575e9bf4a63a33c>:0
  at System.Drawing.Bitmap..ctor
(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
[0x00000] in <6ce7e8716436463fa575e9bf4a63a33c>:0
  at (wrapper runtime-invoke)
<Module>.runtime_invoke_void__this___object_StreamingContext
(object,intptr,intptr,intptr) [0x00059] in <6ce7e8716436463fa575e9bf4a63a33c>:0
  at <unknown> <0xffffffff>
--- snip ---

You either decide for Wine-Mono (most of the time the worse choice) or MS .NET
Framework. You cannot have both -> uninstall Wine-Mono properly if you go for
MS .NET.

Current 'winetricks' supports up to .NET Framework 4.6

* use a clean (new!) 64-bit WINEPREFIX (this .NET app only supports 64-bit)
* run 'winetricks -q dotnet46' (make sure you use recent version of the script)
* run .NET Framework 4.7 installer on top (through app installer)

After that the app installs and runs for me.
Although I see other (known) issues when running it.

Be aware this is Bugzilla and not end user support forum, for further questions
related to installation issues (prerequisites, winetricks, broken prefixes),
please refer to WineHQ user forums -> https://forum.winehq.org/

$ du -sh SPP_6.6.0_setup.exe 
139M    SPP_6.6.0_setup.exe

$ sha1sum SPP_6.6.0_setup.exe 
e319f10582e209ac29e32f5459bb39ce7a787b00  SPP_6.6.0_setup.exe

$ wine --version
wine-3.7-77-g540c48b911

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