Cannot install .net

Questions about Wine on Linux
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Cannot install .net

Post by danidani »

Hi everybody.
I starting to have some troubles with Adobe digital editions since I updated wine, so i decided to cancel everything and reinstall all from the begin.
It was OK to reinstall wine, winehq and winetricks, they works, I can install programs with wine, but I cannot install .net that is necessary to use Adobe digital editions. I tried to install it on terminal and i had:
"warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
[...]
Executing load_dotnet40
------------------------------------------------------
warning: This package (dotnet40) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
--------------------------------
[...]
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0024:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:process:SetProcessDEPPolicy (3): stub
0024:fixme:clusapi:OpenCluster ((null)) stub!
0024:fixme:clusapi:ClusterOpenEnum (DEADBEEF, 4) stub!
0024:fixme:clusapi:ClusterEnum (DEADBEEF, 0, 0031F920, 00E67850, 261) stub!
0024:fixme:clusapi:ClusterCloseEnum (DEADBEEF) stub!
0024:fixme:clusapi:CloseCluster (DEADBEEF) stub!
An error was encountered.

Call failed. ------------------------------------------------------
warning: exit status 5 - user selected 'Cancel' "

So the problem is: I use a 64 bit? But It doesn't make sense, it worked until 2 months ago and I did not change computer.
So please could you explain me where is the problem?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

What version of Wine and Winetricks do you use?
Does the installation work if you use the "quiet" option?

Code: Select all

winetricks -q dotnet40
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

wine version is 6.0.1
winetricks version is 20210206-next (the last)
when i do winetricks -q dotnet40
the answer is what i wrote in the first post
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

Did you install other programs or did you use some winetricks in your wineprefix? In other words, does the installation work in a clean prefix?

Code: Select all

WINEPREFIX=~/dotnet-test winetricks -q dotnet40
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

I did not use a wine prefix because I don't konw which is the correct prefix to dot net. I tried to install it in 2 ways: first I downloaded the dotnet.exe and I tried a normal installation from my home page, second I tried with winetricks on terminal, using the code of the previous posts.
If I do

Code: Select all

WINEPREFIX=~/dotnet-test winetricks -q dotnet40
I have

Code: Select all

 [....]
0180:err:ole:CoReleaseMarshalData StdMarshal ReleaseMarshalData failed with error 0x8001011d
02cc:fixme:heap:RtlSetHeapInformation 0000000001C00000 0 0000000001BEED60 4 stub
02bc:fixme:loadperf:LoadPerfCounterTextStringsW (L"C:\\windows\\system32\\lodctr.exe C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\_DataOracleClientPerfCounters_shared12_neutral.ini", 0): stub
02fc:fixme:loadperf:LoadPerfCounterTextStringsW (L"C:\\windows\\syswow64\\lodctr.exe C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\_DataOracleClientPerfCounters_shared12_neutral.ini", 0): stub
0364:fixme:heap:RtlSetHeapInformation 0000000001C00000 0 00000000019DED60 4 stub
011c:fixme:advapi:LsaOpenPolicy ((null),0031F368,0x00000001,0031F35C) stub
011c:fixme:security:GetWindowsAccountDomainSid (0031F2E8 019D321C 0031F2E4): semi-stub
011c:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
011c:fixme:advapi:LsaClose (0000CAFE) stub
011c:fixme:ntdll:EtwUnregisterTraceGuids deadbeef: stub
Using native override for following DLLs: mscoree
Executing wine regedit /S C:\windows\Temp\override-dll.reg
0354:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0354:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
035c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
035c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Executing wine64 regedit /S C:\windows\Temp\override-dll.reg
0324:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0324:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0378:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0378:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0340:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0340:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03ec:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03ec:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Operazione completata con successo
012c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
012c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
04ac:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
04ac:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Operazione completata con successo
02b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
02b8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Operazione completata con successo
Executing wine winecfg -v win7
0244:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0244:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
03e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0360:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0360:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/dani/dotnet-test terminate  
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

It looks like the installation of the .Net Framework was successful.
I did not use a wine prefix because I don't konw which is the correct prefix to dot net.
There is no right or wrong prefix. It seems there is a problem in the default prefix (~/.wine) that prevents .Net from getting installed.

Probably you will be able to install Adobe Digital Editions in the new prefix with:

Code: Select all

WINEPREFIX=~/dotnet-test winetricks -q adobe_diged4
# or
WINEPREFIX=~/dotnet-test wine ADE_4.5_Installer.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

The second command says this:

Code: Select all

dani@dani-Inspiron-5721 ~ $ WINEPREFIX=~/dotnet-test wine ADE_4.5_Installer.exe
0068:err:ntdll:RtlpWaitForCriticalSection section 000000007BC69540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0068, blocked by 0074, retrying (60 sec)
003c:err:service:process_send_command receiving command result timed out
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 1053
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0088:fixme:service:service_control_dispatcher failed to open service L""
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1052
00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:err:module:process_init L"C:\\windows\\system32\\ADE_4.5_Installer.exe" not found
dani@dani-Inspiron-5721 ~ $ MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete

User avatar
malonn
Level 2
Level 2
Posts: 27
Joined: Tue Oct 05, 2021 12:10 pm

Re: Cannot install .net

Post by malonn »

I got dotnet452 to install in a prefix by entering

Code: Select all

WINEPREFIX=$HOME/<prefix> WINE=/bin/wine64 winetricks dotnet452
in the terminal. The app I use that requires it works fine.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

Code: Select all

0024:err:module:process_init L"C:\\windows\\system32\\ADE_4.5_Installer.exe" not found
Make sure you are in the folder where the installation file is, or use the full path name.
For example, if the installer is named "ADE_Installer.exe" and is in your "Downloads" folder use:

Code: Select all

cd ~/Downloads
WINEPREFIX=~/dotnet-test wine ADE_Installer.exe
# or
WINEPREFIX=~/dotnet-test wine ~/Downloads/ADE_Installer.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »



Make sure you are in the folder where the installation file is, or use the full path name.
Sorry, I did a mistake in that.
Now ADE is installed!
But.....
It doesn't work.
I click on that but nothing happen.
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

I checked it: I think it's installed because it appears n programs on my Mint menu, if I try to open a book file with right click in the options there is "open it with Adobe digital editions"
BUT i noted that it is not present in .wine directory.
I think I really have a problem with wine prefix and path...
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

ADE is installed in ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5/
In the shortcuts created by Wine, the wineprefix is automatically set correctly.
You can view these shortcuts in ~/.local/share/applications and open the wine-extension-<***>.desktop file in your favorite text editor.
I click on that but nothing happen.
What/ where did you click on?
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

What/ where did you click on?
I'm sorry, I'm not so able with terminal so, as I wrote, I clicked on the application in Mint menu.
Menu-Wine-ADE
But I wait for several minutes and nothing happen.
ADE is installed in ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5/
I'm afraid that I don't see this path on my computer.
~/.local/share/applications and open the wine-extension-<***>.desktop
yes, I see it, but if I click on it it doesn't start.

Also: I already have the file "ADE_installer.exe" on my downloads folder, If I open it (I try many things to resolve) , it repeats me that I don't have .net, so I cannot install ADE!
Attachments
Schermata del 2021-10-09 16-11-16.png
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

So if I understand correctly then you managed to install ADE with:
WINEPREFIX=~/dotnet-test wine ADE_Installer.exe

Then there should be a ~/dotnet-test/drive_c folder. Search the underlying folders for the DigitalEditions.exe file.
Once you have found the folder that contains this file, try starting the program with:

Code: Select all

WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

So if I understand correctly then you managed to install ADE with:
WINEPREFIX=~/dotnet-test wine ADE_Installer.exe
Correct.
Then there should be a ~/dotnet-test/drive_c folder.
Yes. there is!
Search the underlying folders for the DigitalEditions.exe file.
It's in /dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital editions
I cannot open it in terminal because it can't move in a directory who had "(" but I tried to open it directly and nothing happened.
But why it's in "Program Files x86" and not in "Program Files"?
Is this the problem?
Can I move it?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

I cannot open it in terminal because it can't move in a directory who had "(" but I tried to open it directly and nothing happened.
Put the entire path in quotes, or use the backslash.

Code: Select all

cd "${HOME}/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital editions"
# or
cd dotnet-test/drive_c/Program\ Files\ \(x86\)/Adobe/Adobe\ Digital\ editions
But why it's in "Program Files x86" and not in "Program Files"?
32-bit programs are installed in "Program Files (x86)" in Windows. Why Microsoft came up with this, I don't know either.
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

32-bit programs are installed in "Program Files (x86)" in Windows. Why Microsoft came up with this, I don't know either.
Wow, I didn't know!

Code: Select all

dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ WINEPREFIX=~/dotnet-test wine DigitalEditions.exe

0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0078:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0078:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0080:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0080:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00c4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00c4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0080:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0080:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0024:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 7932A40C, 797293B0, 79764880) stub.
0024:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 7932A40C, 797292F0, 79729998) stub.
0024:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 7932A40C, 79764890, 79764888) stub.
0024:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 7932A40C, 797648C0, 797292E8) stub.
0024:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 79140000) stub
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
00cc:err:ole:CoGetContextToken apartment not initialised
0024:fixme:path:parse_url failed to parse L"PresentationFramework"
0024:fixme:path:parse_url failed to parse L"WindowsBase"
0024:fixme:path:parse_url failed to parse L"System.Xaml"
0024:fixme:path:parse_url failed to parse L"PresentationCore"
0024:fixme:path:parse_url failed to parse L"System"
0024:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 550B9CC9, 5516E048, 55175990) stub.
0024:fixme:advapi:LsaOpenPolicy ((null),0031E51C,0x00000800,0031E4F4) stub
0024:fixme:advapi:LsaClose (0000CAFE) stub
0024:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0024:fixme:nls:get_dummy_preferred_ui_language (0x0 0031D98C 00000000 0031D988) returning a dummy value (current locale)
0024:fixme:nls:get_dummy_preferred_ui_language (0x0 0031D98C 00EFC920 0031D988) returning a dummy value (current locale)
0024:fixme:path:parse_url failed to parse L"UIAutomationTypes"
0024:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 010A09E2, 00000000, 0031E68C) stub.
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0024:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0024:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000402,00000000,0x0001,0x00000000,0031DF38,00000000): stub
0024:err:eventlog:ReportEventW L"Application: DigitalEditions.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.ComponentModel.Win32Exception\nStack:\n   at MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32, System.String, System.String, Int"...
0024:fixme:advapi:DeregisterEventSource (CAFE4242) stub

Unhandled Exception: 0024:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 010A0B92, 00000000, 01431720) stub.
0024:fixme:path:parse_url failed to parse L"mscorlib.resources"
0024:fixme:path:parse_url failed to parse L"mscorlib.resources"
System.ComponentModel.Win32Exception: Successo
   at MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszCl
assName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int3
2 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam
)
   at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, I
nt32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrap
perHook[] hooks)
   at System.Windows.Application.EnsureHwndSource()
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at DE.App.Main()
wine: Unhandled exception 0xe0434352 in thread 24 at address 7B00FD36 (thread 0024), starting debugger...
Can't attach process 0020: error 5
dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ 
dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ 0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0104:err:winediag:nodrv_CreateWindow The explorer process failed to start.
???
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

This is the reason your program is not working:

Code: Select all

err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
The only question is why no driver can be found.
Have you run a "sudo wine" command once?
try:

Code: Select all

sudo chown -R $USER:$USER ~/dotnet-test
cd "${HOME}/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital editions 4.5"
WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
Does "notepad" even work in this prefix?

Code: Select all

WINEPREFIX=~/dotnet-test wine notepad
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

Notepad works!
Also Tomboy, that I installed to try wine, works.
But When I do the command that you told me....

Code: Select all

dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0078:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0078:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0080:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0080:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 7932A40C, 797293B0, 79764880) stub.
0024:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 7932A40C, 797292F0, 79729998) stub.
0024:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 7932A40C, 79764890, 79764888) stub.
0024:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 7932A40C, 797648C0, 797292E8) stub.
0024:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 79140000) stub
0100:err:ole:CoGetContextToken apartment not initialised
0024:fixme:path:parse_url failed to parse L"PresentationFramework"
0024:fixme:path:parse_url failed to parse L"WindowsBase"
0024:fixme:path:parse_url failed to parse L"System.Xaml"
0024:fixme:path:parse_url failed to parse L"PresentationCore"
0024:fixme:path:parse_url failed to parse L"System"
0024:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 550B9CC9, 5516E048, 55175990) stub.
0024:fixme:advapi:LsaOpenPolicy ((null),0031E51C,0x00000800,0031E4F4) stub
0024:fixme:advapi:LsaClose (0000CAFE) stub
0024:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0024:fixme:nls:get_dummy_preferred_ui_language (0x0 0031D98C 00000000 0031D988) returning a dummy value (current locale)
0024:fixme:nls:get_dummy_preferred_ui_language (0x0 0031D98C 00EFD370 0031D988) returning a dummy value (current locale)
0024:fixme:path:parse_url failed to parse L"UIAutomationTypes"
0024:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 010A09E2, 00000000, 0031E68C) stub.
0104:fixme:path:parse_url failed to parse L"System.Core"
0104:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 010A0DD2, 00000000, 0144369C) stub.
0104:fixme:path:parse_url failed to parse L"mscorlib.resources"
0104:fixme:path:parse_url failed to parse L"mscorlib.resources"
0024:fixme:path:parse_url failed to parse L"DigitalEditions.resources"
0024:fixme:path:parse_url failed to parse L"DigitalEditions.resources"
0024:fixme:msg:ChangeWindowMessageFilter c034 00000001
0024:fixme:dwmapi:DwmAttachMilContent (0001004E) stub
010c:fixme:driver:GdiEntry13 stub
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  225
  Current serial number in output stream:  225
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

Fortunately the driver is now found, there is only a problem with glx.
I think you already have the glx packages installed, but just to be sure run:

Code: Select all

sudo apt install libgl1-mesa-glx:i386
What is the output if you try:

Code: Select all

MESA_GL_VERSION_OVERRIDE=4.5 WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

It tells me that libgl1-mesa-glx:i386 is already installed.

Code: Select all

dani@dani-Inspiron-5721 ~ $ MESA_GL_VERSION_OVERRIDE=4.5 WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:err:module:process_init L"C:\\windows\\system32\\DigitalEditions.exe" not found
dani@dani-Inspiron-5721 ~ $ MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete

jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

It tells me that libgl1-mesa-glx:i386 is already installed.
I was expecting that.

Code: Select all

0024:err:module:process_init L"C:\\windows\\system32\\DigitalEditions.exe" not found
You aren't in the ADE folder.

Code: Select all

cd "${HOME}/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital editions 4.5"
MESA_GL_VERSION_OVERRIDE=4.5 WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

Code: Select all

dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ MESA_GL_VERSION_OVERRIDE=4.5 WINEPREFIX=~/dotnet-test wine DigitalEditions.exe
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

[....]

Unhandled Exception: 0024:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 010A0B92, 00000000, 01431720) stub.
0024:fixme:path:parse_url failed to parse L"mscorlib.resources"
0024:fixme:path:parse_url failed to parse L"mscorlib.resources"
System.ComponentModel.Win32Exception: Successo
   at MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszCl
assName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int3
2 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam
)
   at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, I
nt32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrap
perHook[] hooks)
   at System.Windows.Application.EnsureHwndSource()
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at DE.App.Main()
wine: Unhandled exception 0xe0434352 in thread 24 at address 7B00FD36 (thread 0024), starting debugger...
Can't attach process 0020: error 5

Code: Select all

dani@dani-Inspiron-5721 ~/dotnet-test/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5 $ 0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0104:err:winediag:nodrv_CreateWindow The explorer process failed to start.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install .net

Post by jkfloris »

I'm afraid that something went wrong with the installation of the .Net Framework.
If you want you can remove the ~/dotnet-test folder.

You can try installing ADE with winetricks:

Code: Select all

WINEPREFIX=~/ADE winetricks -q adobe_diged4
cd" ${HOME}/ADE/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5"
WINEPREFIX=~/ADE wine DigitalEditions.exe
danidani
Level 2
Level 2
Posts: 27
Joined: Tue Jan 12, 2021 1:30 am

Re: Cannot install .net

Post by danidani »

I deleted the folder dotnet-test
I did the code you told me.
Now when I open a .acsm file it says to me "Windows doesn't have a program to open this file." :|
Maybe I should delete all and reinstall Wine...
Locked