http://bugs.winehq.org/show_bug.cgi?id=58527
Bug ID: 58527 Summary: autocad electrical 2026 error in wxwidgets Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: grandrodri3@gmail.com Distribution: ---
Created attachment 79001 --> http://bugs.winehq.org/attachment.cgi?id=79001 autocad architecture error in wxwidgets
Hey, hello guys, how are you?
Well, I'm adding a new application to the Wine database. This is an AutoCAD application developed by Autodesk, specifically for electrical plans (specifically, electrical panel installations in homes). So, I'm reporting the error the installer gives me to see if anything can be done. The error I'm getting, by the way, was loaded with the following DLLs installed:
vcrun2012 vcrun2022 dotnetcore3 dotnet8
I get an error in the DLLs for the Windows implementation of wxwidgets. I've tried installing wxwidgets from their official website, but nothing. AutoCAD doesn't go beyond the terminal (that is, the installer doesn't display).
official download website: https://www.autodesk.com/es/products/autocad/included-toolsets/autocad-elect...
I'll pass what I get in the terminal.
Could you please check it?
Best regards.
http://bugs.winehq.org/show_bug.cgi?id=58527
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Does this work on Windows?
installing wxwidgets from their official website
Did it install successfully?
http://bugs.winehq.org/show_bug.cgi?id=58527
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Ken Sharp from comment #1)
Does this work on Windows?
installing wxwidgets from their official website
Did it install successfully?
It doesn't really matter, if application bundles its own version. I suspect some sxs resolution problem.
http://bugs.winehq.org/show_bug.cgi?id=58527
--- Comment #3 from BENDER35 grandrodri3@gmail.com --- (In reply to Ken Sharp from comment #1)
Does this work on Windows?
installing wxwidgets from their official website
Did it install successfully?
Hi, Ken
I installed wxwidgets from its official website (the wxwidgets website) and nothing. I started the AutoCAD Electrical installer and nothing. It gives the same wxwidgets error I posted.
Regards
http://bugs.winehq.org/show_bug.cgi?id=58527
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Does Autocad Electrical actually bundle wxwidgets with its installer?
http://bugs.winehq.org/show_bug.cgi?id=58527
F H francisco278herrera@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francisco278herrera@gmail.c | |om
--- Comment #5 from F H francisco278herrera@gmail.com --- (In reply to Ken Sharp from comment #4)
Does Autocad Electrical actually bundle wxwidgets with its installer?
yes
http://bugs.winehq.org/show_bug.cgi?id=58527
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |xerox.xerox2000x@gmail.com URL| |https://www.autodesk.com/es | |/products/autocad/included- | |toolsets/autocad-electrical Ever confirmed|0 |1
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Setting to confirmed.
At the end of this comment is a very sad hack that makes the application start for me.
AFAICT the problem is in lookup_assembly. It says in a comment there:
/* Lookup in <dir>\name.dll * <dir>\name.manifest * <dir>\name\name.dll * <dir>\name\name.manifest * * First 'appdir' is used as <dir>, if that failed * it tries application manifest file path. */
The problem is that the requested manifests are not in <dir>\name\name.manifest, but in <dir>"ODIS"\name\name.manifest.
This "ODIS" directory is defined as some kind of private path in Setup.exe.config: <configuration> <windows> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="ODIS"/> </assemblyBinding> </windows> </configuration>
So my guess is wine is lacking support for such privatepath?
Note: Instead of a the stupid hack below, which just inserts "ODIS" in the path, you can also extract the files with 7z, and then move the odis.bs.w* directories out of the "ODIS" directory to where Setup.exe is. Than the installer starts as well.
Sad hack:
diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c index 99b44a70275..586c0af9ea1 100644 --- a/dlls/ntdll/actctx.c +++ b/dlls/ntdll/actctx.c @@ -3380,8 +3380,9 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl, *p = 0; status = open_manifest_file( acl, ai, lang, directory, buffer, total ); if (status != STATUS_SXS_ASSEMBLY_NOT_FOUND) goto done; - - swprintf( p, total - (p - buffer), L"%s\", ai->name ); + WCHAR d[255] = L""; + swprintf( p, total - (p - buffer), L"%s\", wcscat(wcscat(d,L"ODIS\"),ai->name) ); + FIXME( "looking for name=%s \n", debugstr_w(buffer)); status = open_manifest_file( acl, ai, lang, directory, buffer, total ); }
http://bugs.winehq.org/show_bug.cgi?id=58527
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Haha,
Seems all of these was already found in another bugreport: 56648
So resolving this one as duplicate for now
*** This bug has been marked as a duplicate of bug 56648 ***