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

[Request dependency] MFC71.DLL #107

Open
1 of 4 tasks
mariohevia opened this issue Jun 20, 2022 · 4 comments
Open
1 of 4 tasks

[Request dependency] MFC71.DLL #107

mariohevia opened this issue Jun 20, 2022 · 4 comments
Assignees

Comments

@mariohevia
Copy link

mariohevia commented Jun 20, 2022

Dependency name: MFC71.DLL

Official link to the download page (not direct download) https://www.microsoft.com/en-us/download/details.aspx?id=21440

Is this dependency compatible with Wine?

  • Yes
  • Yes, but need tweaks
  • No
  • I have not tested

Useful links

Explains what MFC71.DLL isL
https://www.lifewire.com/how-to-fix-mfc71-dll-not-found-or-missing-errors-2623641

They can be links to guides for its implementation or testing or other. Each reference can be useful to maintainers to implement the dependency.

@mariohevia mariohevia changed the title [Request dependency] [Request dependency] MFC71.DLL Jun 20, 2022
@keenanweaver
Copy link
Contributor

Manifests based on the Winetricks method. Unfortunately, neither archive_extract nor cab_extract supports the file format. Unless there's another file that contains these DLLs, a new function will need to be created. Winetricks uses a 7zip function, apparently: https://github.com/Winetricks/winetricks/blob/d5bc8a08fe6ed338e4d8d9490d425f1dbea137db/src/winetricks#L644

Name: mfc71
Description: Visual C++ 2003 mfc71 library; part of vcrun2003
Provider: Microsoft
License:
License_url:
Dependencies: []
Steps:
- action: archive_extract
  file_name: BZEditW32_1.6.5.exe
  url: https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe
  file_checksum: 15c3d0a4acaae1c3013242bca43a5a86

- action: copy_dll
  url: BZEditW32_1.6.5.exe/
  file_name: mfc71.dll
  dest: win32
Name: vcrun2003
Description: Visual C++ 2003 libraries (mfc71,msvcp71,msvcr71)
Provider: Microsoft
License:
License_url:
Dependencies:
  - mfc71
Steps:
- action: archive_extract
  file_name: BZEditW32_1.6.5.exe
  url: https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe
  file_checksum: 15c3d0a4acaae1c3013242bca43a5a86

- action: copy_dll
  url: temp/BZEditW32_1.6.5.exe/
  file_name: msvcp71.dll
  dest: win32

- action: copy_dll
  url: temp/BZEditW32_1.6.5.exe/
  file_name: msvcr71.dll
  dest: win32

@mirkobrombin
Copy link
Member

p7zip is a Bottles dependency and archive_extract uses it to extract 7z archives (example here)

@keenanweaver
Copy link
Contributor

Seems to hang when using archive_extract in this manner:

- action: archive_extract
  file_name: BZEditW32_1.6.5.exe
  url: https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe
  file_checksum: 15c3d0a4acaae1c3013242bca43a5a86
12:22:09 (INFO) Installing dependency [mfc71] in bottle [Test]. 
BZEditW32_1.6.5.exe (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (862.0KiB/861.6KiB - 700.8KiB)

patool: Extracting /home/keenan/.var/app/com.usebottles.bottles/data/bottles/temp/BZEditW32_1.6.5.exe ...

bzedit

Downloading p7zip and running it manually, seemingly extracts fine with the command 7z x BZEditW32_1.6.5.exe -o/home/keenan/.var/app/com.usebottles.bottles/data/bottles/temp/BZEditW32_1.6.5_manual

bzedit2

@mirkobrombin
Copy link
Member

It may not be multithreaded

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

No branches or pull requests

3 participants