Installation in wine fails because of dotNet

Questions about Wine on Linux
Locked
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Installation in wine fails because of dotNet

Post by Leachim »

Hi, I wanted to install http://renediem.ch/wsp/data/documents/Z ... tNET_4.zip (the setup.exe is in the fodler), but the installation aborted.

The "C:\users\mikey\Temp\VSDf5a.tmp\DotNetFX40\dotNetFx40LP_Full_x86_x64de.exe" file has been modified since it was first published.

Image

What can I do? Can I do anything at all?
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

If the link is not working, here is the website:

http://www.renediem.ch/programme/zither-noten/

The program is probably trying to download the dotNet. But the dotNet is part of wine. :?:
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Installation in wine fails because of dotNet

Post by invisible kid »

You might be able to install it via the "winetricks" script, but someone will show up with a more helpful answer(I don't remember).
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

How shall I install the software above via winetricks?
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

Here are maybe some helpful messages:

Code: Select all

[test@fedora ~]$ WINEPREFIX=~/.wine32 WINEARCH=win32 /home/test/Schreibtisch/Zither_Install_V2_84_DotNET_4/setup.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.10 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0108:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0040FCE8, 43) stub
0108:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0108:fixme:imm:ImeSetActiveContext (006C9478, 1): stub
0108:fixme:imm:ImmReleaseContext (00010064, 006C9478): stub
0084:fixme:imm:ImeSetActiveContext (007AF858, 0): stub
0084:fixme:imm:ImmReleaseContext (00010020, 007AF858): stub
0108:fixme:security:GetWindowsAccountDomainSid (0059E604 006D3EBC 0059E600): semi-stub
0108:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
010c:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
010c:fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
0108:fixme:file:NtLockFile I/O completion on lock not implemented yet
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installation in wine fails because of dotNet

Post by dimesio »

Leachim wrote: Sun Jul 10, 2022 3:23 am How shall I install the software above via winetricks?
First install winetricks. https://github.com/Winetricks/winetricks
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

Of course, I have done this, but then?
I can't find any options to install software in winetricks.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installation in wine fails because of dotNet

Post by jkfloris »

It is not really easy to install the program, but it works in the following way:

- Install the .Net 4.0 Framework and Windows Media Player 11

Code: Select all

winetricks -q dotnet40 wmp11
- Extract Zither_Install_V2_84_DotNET_4.zip inside the wineprefix

Code: Select all

7z x -o${HOME}/.wine/drive_c/zither Zither_Install_V2_84_DotNET_4.zip
In my case, there is an error in a file name. Go to ${HOME}/.wine/drive_c/zither/Application Files/Zither_2_84_0_0/ and rename ZitherOp*ration_F.rtf.deploy to ZitherOpération_F.rtf.deploy

- Start the application

Code: Select all

cd ${HOME}/.wine/drive_c/zither
wine start Zither.application
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

Super!!!
I am very happy, many thanks!!! :D :D :D
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

Sorry, there is a problem yet: I cannot print to my network printer. A pdf printer would also be ok.
@ jkfloris , can you help with this problem too?

Image

The details of the error message:

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Drawing.Printing.InvalidPrinterException: No printers are installed.
   at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
   at System.Drawing.Printing.PrinterSettings.CreateDeviceContext(PageSettings pageSettings)
   at System.Drawing.Printing.PageSettings.get_HardMarginX()
   at Zither.SubroutinenDrucken.DruckbereichLesen()
   at Zither.frmZither.mnuDrucken_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.MenuStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Zither
    Assembly Version: 1.0.8163.21708
    Win32 Version: 1.0.8163.21708
    CodeBase: file:///C:/users/mikey/AppData/Local/Apps/2.0/3ALERXNE.7NJ/XOGZCA1Z.5T6/zith..tion_0000000000000000_0002.0054_8ade47e56a764887/Zither.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AxInterop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/users/mikey/AppData/Local/Apps/2.0/3ALERXNE.7NJ/XOGZCA1Z.5T6/zith..tion_0000000000000000_0002.0054_8ade47e56a764887/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/users/mikey/AppData/Local/Apps/2.0/3ALERXNE.7NJ/XOGZCA1Z.5T6/zith..tion_0000000000000000_0002.0054_8ade47e56a764887/Interop.WMPLib.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
PdfSharp
    Assembly Version: 1.50.5147.0
    Win32 Version: 1.50.5147.0
    CodeBase: file:///C:/users/mikey/AppData/Local/Apps/2.0/3ALERXNE.7NJ/XOGZCA1Z.5T6/zith..tion_0000000000000000_0002.0054_8ade47e56a764887/PdfSharp.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. 
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

I have cups-pdf installed, and now it works.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installation in wine fails because of dotNet

Post by jkfloris »

Glad you were able to find a solution!
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

I have got a second pc and I wanted to run the application there. The system is ubuntu.
After installation of wine32 and winbind it seems to run.
But unfortunately the installation of dotnet40 & wmp11 failed then. It ends with the following errors:

Code: Select all

Preparing: C:\442b6390-7d2f-4998-9962-a417ac4739b4\netfx_Extended.mzz...
0108:err:ole:com_get_class_object class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:com_get_class_object class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:create_server class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:com_get_class_object no class object {f5078f32-c551-11d3-89b9-0000f81fe221} could be created for context 0x17
0108:err:ole:com_get_class_object class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:com_get_class_object class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:create_server class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0108:err:ole:com_get_class_object no class object {f5078f32-c551-11d3-89b9-0000f81fe221} could be created for context 0x17
wine: Unhandled exception 0xe06d7363 in thread 108 at address 7B010BE6 (thread 0108), starting debugger...
0108:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 260 148" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
------------------------------------------------------
warning: Note: command wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q returned status 99. Aborting.

@ jkfloris Can you help again?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installation in wine fails because of dotNet

Post by jkfloris »

Installing .Net can be difficult. Make sure Wine and winetricks are both up to date.
wine - Install the Winehq wine-packages
winetricks - Run sudo winetricks --self-update

Although I haven't seen exit code 99 with .Net 4 yet, it might be due to {f5078f32-c551-11d3-89b9-0000f81fe221} = msxml3 is not registered. You can try winetricks -q msxml3
Leachim
Level 2
Level 2
Posts: 13
Joined: Sat Jul 09, 2022 3:29 am

Re: Installation in wine fails because of dotNet

Post by Leachim »

jkfloris wrote: Mon Jul 18, 2022 10:35 am Installing .Net can be difficult. Make sure Wine and winetricks are both up to date.
wine - Install the Winehq wine-packages
That's it, many thanks! You are the best!
Locked