Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depends: add 64bit variant #2217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhabacker
Copy link
Contributor

@rhabacker rhabacker commented May 3, 2024

This pull request adds the 64bit variant of Dependency Walker to winetricks.

w_download https://www.dependencywalker.com/depends22_x64.zip 35db68a613874a2e8c1422eb0ea7861f825fc71717d46dabf1f249ce9634b4f1
w_try_unzip "${W_TMP}" "${W_CACHE}"/depends/depends22_x64.zip
w_try cp "${W_TMP}"/depends.* "${W_WINDIR_UNIX}"
w_download_to depends "https://www.dlldownloader.com/mfc42-dll/download/f0c0df5da0fdb6305017c5dec1099a94/07c410623c40f250d422e5801cc57855/?c=bEhCdUZzZjg5T0lYWjU5a3lNU0gyUT09" f3ce67a68b650f33a6b1ff21a0bff1dba75282e4d4a0e4ba72f7c4a336fc4be5 mfc42.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use links to these sketchy DLL sites. Ideally we'd use a redistributable from microsoft.com. As a fallback, some verbs get dlls from other projects that ship the needed dll (e.g., firefox with d3dcompiler_47.dll).

I haven't tried, but maybe it's available in the win10 iso:
https://www.microsoft.com/en-us/software-download/windows10ISO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the iso image, but unfortunately did not find a corresponding file. I have

  1. downloaded the iso file for 64 bit Windows 10
  2. installed `cabextract
  3. executed the following commands
sudo mount -o loop Win10_22H2_EnglishInternational_x64v1.iso Win10_22H2_EnglishInternational_x64v1 
find Win10_22H2_EnglishInternational_x64v1 -iname '*mfc*'
<empty list>
  1. existing archives checked
find Win10_22H2_EnglishInternational_x64v1 -iname '*.cab'
Win10_22H2_EnglishInternational_x64v1/sources/sxs/Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-GB~.cab
Win10_22H2_EnglishInternational_x64v1/sources/sxs/microsoft-windows-internetexplorer-optional-package~31bf3856ad364e35~amd64~~.cab
Win10_22H2_EnglishInternational_x64v1/sources/sxs/microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab
Win10_22H2_EnglishInternational_x64v1/sources/uup/metadata/desktoptargetcompdb_neutral.xml.cab
  1. existing archives unpacked
mkdir tmp && cd tmp
find ../Win10_22H2_EnglishInternational_x64v1/ -iname '*.cab' | xargs cabextract
find -iname '*mfc*.dll'
<empty list>
  1. existing archives checked
find -iname '*.cab'
<empty list>

I currently have no idea how to get the desired file from the ISO image.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's unfortunate.

If Microsoft doesn't make it available, though, that doesn't mean we can use an unlicensed copy. I.e., this is a WONTFIX, unless a legal download is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants