https://bugs.winehq.org/show_bug.cgi?id=56648
Bug ID: 56648 Summary: Autodesk DWG TrueView fails at installation Product: Wine Version: 9.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: szatkus@gmail.com Distribution: ---
Installation fails with the fixme: "Could not find dependent assembly odis.bs.win (1.0.0)"
Turns out the installer creates a new folder (%TEMP%/7z0F0512E4) with another installer that apparently is invoked next. The program removes it automatically after crashing, but it could be retrieved by placing `while(1);` next to the fixme or by using a Windows machine.
There's the Setup.exe file that has the following manifest in its resources:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level='asInvoker' uiAccess='false' /> </requestedPrivileges> </security> </trustInfo> <dependency> <dependentAssembly> <assemblyIdentity type='win32' name='odis.bs.win' version='1.0.0.0' processorArchitecture='*' language='*' /> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type='win32' name='odis.bs.wx' version='1.0.0.0' processorArchitecture='*' language='*' /> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' /> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' /> </dependentAssembly> </dependency> </assembly>
From what I gathered this manifest is used to resolve some required dlls files, but it ultimately fails.
The odis.bs.win is resolved by the following algorithm (a comment from the wine code):
/* 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 file it's looking for is in ODIS/odis.bs.win/odis.bs.win.manifest, not in odis.bs.win/odis.bs.win.manifest (name="odis.bs.win"). Where from does Windows get the ODIS part? Well, there's also a file called "Setup.exe.config" with the following content:
<configuration> <windows> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="ODIS"/> </assemblyBinding> </windows> </configuration>
It looks that the program should resolve through <dir>/<privatePath>. I added a few prints here and there, and it seems that Setup.exe.config is not loaded by wine at any point.
Moving odis.bs.win and odis.bs.wx to the upper folder fixes the problem, although the installation still fails after a while.
https://bugs.winehq.org/show_bug.cgi?id=56648
szatkus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Autodesk DWG TrueView fails |Autodesk DWG TrueView fails |at installation |during installation
https://bugs.winehq.org/show_bug.cgi?id=56648
--- Comment #1 from szatkus@gmail.com --- Also, the application is free and could be downloaded here https://www.autodesk.com/products/dwg-trueview/overview
https://bugs.winehq.org/show_bug.cgi?id=56648
szatkus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.autodesk.com/pr | |oducts/dwg-trueview/overvie | |w
https://bugs.winehq.org/show_bug.cgi?id=56648
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=56648
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
https://bugs.winehq.org/show_bug.cgi?id=56648
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown
http://bugs.winehq.org/show_bug.cgi?id=56648
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |grandrodri3@gmail.com
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 58527 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=56648
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francisco278herrera@gmail.c | |om
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 57744 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=56648
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 79126 --> http://bugs.winehq.org/attachment.cgi?id=79126 Draft: attempt to support privatepaths in lookup_assembly
Attached an attempt with a draft to work around this bug. Mainly meant for testing for now, as various parts need improvement.