https://bugs.winehq.org/show_bug.cgi?id=41315
Bug ID: 41315 Summary: Windows 10 DISM don't launch Product: Wine Version: 1.9.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: lerieur@protonmail.com Distribution: ---
Error: err:module:find_forwarded_export function not found for forward 'advapi32.EventWriteTransfer' used by L"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM\api-ms-win-downlevel-advapi32-l1-1-1.dll". If you are using builtin L"api-ms-win-downlevel-advapi32-l1-1-1.dll", try using the native one instead.
Steps to reproduce: - visit https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-de... and download version for Windows 10 1607 - in terminal: $ export WINEARCH=win32 WINEPREFIX=$HOME/.wine32 $ winetricks -q dotnet452 wininet $ winecfg # set Windows version to 10 $ wine adksetup.exe /features OptionId.DeploymentTools $ cd $WINEPREFIX/drive_c/Program\ Files/Windows\ Kits/10/Assessment\ and\ Deployment\ Kit/Deployment\ Tools/x86/DISM $ wine dism.exe
https://bugs.winehq.org/show_bug.cgi?id=41315
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|wine-bugs@winehq.org |austinenglish@gmail.com Status|UNCONFIRMED |NEW
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 55649 --> https://bugs.winehq.org/attachment.cgi?id=55649 patch
Please test
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #2 from lerieur@protonmail.com --- Created attachment 55666 --> https://bugs.winehq.org/attachment.cgi?id=55666 wine dism.exe (without eventwritetransfer patch)
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #3 from lerieur@protonmail.com --- Created attachment 55667 --> https://bugs.winehq.org/attachment.cgi?id=55667 wine dism.exe (with eventwritetransfer patch)
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to lerieur from comment #3)
Created attachment 55667 [details] wine dism.exe (with eventwritetransfer patch)
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #5 from lerieur@protonmail.com --- However it's still not working. Thought that fixing this error might fix the other one: "Failed to find the resources for this executable". But it's not the case.
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #6 from lerieur@protonmail.com --- Created attachment 55670 --> https://bugs.winehq.org/attachment.cgi?id=55670 List of files in $WINEPREFIX/drive_c/Program Files/Windows Kits/10/Assessment and Deployment Kit/Deployment Tools/x86/DISM
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #7 from lerieur@protonmail.com --- Created attachment 55671 --> https://bugs.winehq.org/attachment.cgi?id=55671 wine imagex.exe
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #8 from lerieur@protonmail.com --- Created attachment 55672 --> https://bugs.winehq.org/attachment.cgi?id=55672 wine pkgmgr.exe
https://bugs.winehq.org/show_bug.cgi?id=41315
lerieur@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55670|0 |1 is obsolete| |
--- Comment #9 from lerieur@protonmail.com --- Created attachment 55673 --> https://bugs.winehq.org/attachment.cgi?id=55673 List of files in $WINEPREFIX/drive_c/Program Files/Windows Kits/10/Assessment and Deployment Kit/Deployment Tools/x86/DISM
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #10 from Austin English austinenglish@gmail.com --- (In reply to lerieur from comment #5)
However it's still not working. Thought that fixing this error might fix the other one: "Failed to find the resources for this executable". But it's not the case.
That would be a new/different bug.
https://bugs.winehq.org/show_bug.cgi?id=41315
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Summary|Windows 10 DISM don't |Windows 10 DISM doesn't |launch |launch, needs | |advapi32.EventWriteTransfer
--- Comment #11 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/126568
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #12 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #10)
(In reply to lerieur from comment #5)
However it's still not working. Thought that fixing this error might fix the other one: "Failed to find the resources for this executable". But it's not the case.
That would be a new/different bug.
To be clear, the next bug is: err:module:import_dll Library api-ms-win-core-libraryloader-l1-2-2.dll (which is needed by L"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM\pkgmgr.exe") not found
You should fix this on your system: ERROR: ld.so: object '/usr/lib/libjpeg.so.62' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
https://bugs.winehq.org/show_bug.cgi?id=41315
--- Comment #13 from lerieur@protonmail.com ---
To be clear, the next bug is: err:module:import_dll Library api-ms-win-core-libraryloader-l1-2-2.dll (which is needed by L"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM\pkgmgr.exe") not found
Ok thanks, I filed the other bug here: https://bugs.winehq.org/show_bug.cgi?id=41336
You should fix this on your system: ERROR: ld.so: object '/usr/lib/libjpeg.so.62' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Even with LD_PRELOAD=/usr/lib32/libjpeg.so.62 or LD_PRELOAD='/usr/lib//libjpeg.so.62 /usr/lib32/libjpeg.so.62', this problem don't disappear. Instead, I got this message: ERROR: ld.so: object '/usr/lib32/libjpeg.so.62' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. I'm using Arch Linux, and it seems to be a common problem.
https://bugs.winehq.org/show_bug.cgi?id=41315
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #14 from fjfrackiewicz@gmail.com --- Looks like it's fixed by this commit: http://source.winehq.org/git/wine.git/commit/e6e8ed47e6d6d245e4bbda13691eb71...
https://bugs.winehq.org/show_bug.cgi?id=41315
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e6e8ed47e6d6d245e4bbda13691 | |eb714cf95a675 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Austin English austinenglish@gmail.com --- (In reply to fjfrackiewicz from comment #14)
Looks like it's fixed by this commit: http://source.winehq.org/git/wine.git/commit/ e6e8ed47e6d6d245e4bbda13691eb714cf95a675
https://bugs.winehq.org/show_bug.cgi?id=41315
lerieur@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41377
https://bugs.winehq.org/show_bug.cgi?id=41315
lerieur@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|41377 |
https://bugs.winehq.org/show_bug.cgi?id=41315
lerieur@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41377
https://bugs.winehq.org/show_bug.cgi?id=41315
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.20.