Program won't run with message "OS not supported"

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
EerieEric
Newbie
Newbie
Posts: 3
Joined: Sat Jul 22, 2023 2:02 pm

Program won't run with message "OS not supported"

Post by EerieEric »

Hello everyone!
I am sorry to bother everyone, but I have tried solving this problem for days now and cannot find a solution. Thank you very much for reading this.

I got most of my standard windows programs to run on Wine, but I have no luck with this one: Alldup, a duplicate file finder. It can be found for free on the developers' website: https://www.alldup.info/en_download_alldup.php

The program installs fine, but crashes on start with an error message: "OS not supported". Wine is set as Windows 10.
However, when I set my Windows version to Windows 8 or older, a whole different set of error messages appear: "vbccr17 Run-time error '0'", "vbccr17 Run-time error '429': ActiveX component can't create object", "Alldup Run-time error '440': Automation error". I do not know whether those are relevant to this issue.

I run Wine 8.12 staging on OpenSuse Tumbleweed.
I have previously installed .Net 4.8 via Winetricks and for this program, vbrun6. It needs msvbvm60.dll, mfc42.dll and mfc42u.dll.
The problem does not change whether or not I try DLL overrides.
A few years ago, a user managed to get Alldup to run, but I could not reproduce this success: https://appdb.winehq.org/objectManager. ... &iId=34442

Thank you very much for your help!


The terminal output when set to Windows 10 is as follows:

002c:fixme:winediag:LdrInitializeThunk wine-staging 8.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0114:fixme:ole:OaBuildVersion Version value not known yet. Please investigate it !


The terminal output when set to Windows 8 is as follows:

0134:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
0134:fixme:win:DisableProcessWindowsGhosting : stub
0134:fixme:atl:AtlAxWinInit version 0300 semi-stub
0134:fixme:file:NtLockFile I/O completion on lock not implemented yet
0134:err:listview:LISTVIEW_WindowProc unknown msg 10a3, wp 0, lp a8f304
0134:err:listview:LISTVIEW_WindowProc unknown msg 10a2, wp 0, lp a8f304
0134:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 0, lp 0
0134:fixme:ole:OLEFontImpl_QueryInterface () : asking for unsupported interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
0134:fixme:ole:OLEFontImpl_IPersistPropertyBag_InitNew (01013BC8), stub!
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 774, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:ole:OLEFontImpl_QueryInterface () : asking for unsupported interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
0134:fixme:ole:OLEFontImpl_IPersistPropertyBag_InitNew (01015368), stub!
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 774, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:err:listview:LISTVIEW_WindowProc unknown msg 10a3, wp 0, lp a8f2d4
0134:err:listview:LISTVIEW_WindowProc unknown msg 10a2, wp 0, lp a8f2d4
0134:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 0, lp 0
0134:fixme:ole:OLEFontImpl_QueryInterface () : asking for unsupported interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
0134:fixme:ole:OLEFontImpl_IPersistPropertyBag_InitNew (01015668), stub!
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 902, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A953C, 774, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F128, partially implemented.
0134:fixme:olepicture:OleLoadPictureEx 017A9D1C, 2246, 1, {7bf80980-bf32-101a-8bbb-00aa00300cab}, 0, 0, 0, 00A8F5D0, partially implemented.
0134:err:ole:com_get_class_object class {d5de8d20-5bb8-11d1-a1e3-00a0c90f2731} not registered
0134:err:ole:create_server class {d5de8d20-5bb8-11d1-a1e3-00a0c90f2731} not registered
0134:err:ole:com_get_class_object no class object {d5de8d20-5bb8-11d1-a1e3-00a0c90f2731} could be created for context 0x5
0134:fixme:olepicture:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
0134:fixme:olepicture:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
0134:fixme:olepicture:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
0134:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0134:fixme:variant:get_date_format ignoring flags 10
0134:fixme:variant:get_date_format ignoring flags 10
0134:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004002 for dll L"C:\\windows\\system32\\wbem\\wbemdisp.dll"
0134:err:ole:create_server class {172bddf8-ceea-11d1-8b05-00600806d9b6} not registered
0134:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported
0134:err:ole:com_get_class_object no class object {172bddf8-ceea-11d1-8b05-00600806d9b6} could be created for context 0x15
0134:fixme:wbemdisp:WinMGMTS_ParseDisplayName ignoring security settings
0134:err:ole:com_get_class_object class {fcfb3d23-a0fa-1068-a738-08002b3371b5} not registered
0134:err:ole:create_server class {fcfb3d23-a0fa-1068-a738-08002b3371b5} not registered
0134:err:ole:com_get_class_object no class object {fcfb3d23-a0fa-1068-a738-08002b3371b5} could be created for context 0x5
0134:err:ole:com_get_class_object class {fcfb3d23-a0fa-1068-a738-08002b3371b5} not registered
0134:err:ole:create_server class {fcfb3d23-a0fa-1068-a738-08002b3371b5} not registered
0134:err:ole:com_get_class_object no class object {fcfb3d23-a0fa-1068-a738-08002b3371b5} could be created for context 0x5
qwertymnb
Level 4
Level 4
Posts: 237
Joined: Sun Jan 17, 2016 4:36 pm

Re: Program won't run with message "OS not supported"

Post by qwertymnb »

Hi,

The program not starting in windows 10 mode is a bug in wine, and you might wanna consider opening a bugreport for it.

With a sad hack like I post below it starts also in windows 10 mode for me.


As for the followup run-time errors: If you cd into the programs directory (.wine/drive_c/Program Files (x86)/AllDup
) and then do:

wine regsvr32.exe dep/*.OCX

the errors seem to be gone and the program starts fine for me. I didn't test any functionality, so dunno if you might need more native dlls via winetricks. I only used native msvbvm60.dll

Maybe registering the ocx files failed during install, but I don't know why, that needs more investigation


Hack to start in windows10 mode:

diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c
index 278eeb82fd5..be37ab90b9b 100644
--- a/dlls/shcore/main.c
+++ b/dlls/shcore/main.c
@@ -2388,7 +2388,7 @@ LONG WINAPI SHQueryInfoKeyW(HKEY hkey, DWORD *subkeys, DWORD *subkey_max, DWORD
* IsOS [SHCORE.@]
*/
BOOL WINAPI IsOS(DWORD feature)
-{
+{ return 1;
DWORD platform, majorv, minorv;
OSVERSIONINFOA osvi;
EerieEric
Newbie
Newbie
Posts: 3
Joined: Sat Jul 22, 2023 2:02 pm

Re: Program won't run with message "OS not supported"

Post by EerieEric »

Hello!
Thank you so much for your quick reply. I will gladly submit a bug report, however I have never done so before. According to the Bugzilla guide, I should report a bug when I did not use dlls from Windows (point one on the list). Does using the Winetricks installer count against that?

Unfortunately, I have no experience coding or hacking existing code, and am barely adequate at not destroying my system every two weeks. I am sorry, but because of that I do not dare modify files on my system - even if I am sure your code works.


The solution you proposed ("wine regsvr32.exe dep/*.OCX") worked well: Now the program starts and can be configured, but when initiating a search it shows a pop up informing me of an error. I can still continue running the program and get to the results screen, but on the main list, the names and paths of the duplicate files are not visible. When clicking on different areas, I get more and different pop ups. It looks like what the user in the AppDB entry described. I fear this might be as close to working as is possible. But somehow, I can select and delete files, so basically it works - I just need some confidence in my ability to select files blindly.

Also, the program does not appear in the task manager (window list) on the KDE taskbar.

Thank you again for your time and effort!
qwertymnb
Level 4
Level 4
Posts: 237
Joined: Sun Jan 17, 2016 4:36 pm

Re: Program won't run with message "OS not supported"

Post by qwertymnb »

Hi,

I opened aforementioned bugreport myself so no need to do it anymore.

About the follow-up errors:

The program really needs mfc42 so make sure you do winetricks mfc42.
Also make sure you register the other ocx files as well: "wine regsvr32.exe dep/*.ocx"
(mind the lowercase *.ocx instead of the capital *.OCX in my previous post)

Further you might wanna try playing with winetricks to work around bugs; the fixme's in the console might point to what verbs you could try;

I did winetricks wmp11 and mdac28 and I was able to do a search and get a list of files. Other winetricks verbs I didn't try , but might help (according to printed fixme's) are msxml6 and/or msxml3 and ie8 and riched20. Try out what gives best results on a wineprefix that you can throw away, before you install it in your "real" wineprfix

Regards
EerieEric
Newbie
Newbie
Posts: 3
Joined: Sat Jul 22, 2023 2:02 pm

Re: Program won't run with message "OS not supported"

Post by EerieEric »

Hi!
Thanks again for your help and for reporting the bug.

I followed your instructions and now almost all lists and text boxes work flawlessly (only minor leftovers). It's perhaps a little slow to react to input, but that is perfectly fine. I can use the program for everything now. I want to mention however that it still crashes on exiting (which is no big deal).

Only thing I failed to do was installing mdac28 (I use a 64bit prefix and mdac28 is only available in 32bit) and ie8 (no response after staring install). Since AllDup works fine without, I will use it for now and play around with more dlls later. I hope nothing else pops up that I did not try yet.

Thank you so much for your help and time. I wish you the best. You're awesome!
Locked