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

can't install vcrun2010. #2107

Open
lunlune opened this issue Aug 16, 2023 · 6 comments
Open

can't install vcrun2010. #2107

lunlune opened this issue Aug 16, 2023 · 6 comments

Comments

@lunlune
Copy link

lunlune commented Aug 16, 2023

i'm on nobara linux 38, using wine 8.13 (staging). no matter what i do, if i install vcrun2010, it always fails with the x86 installer, giving me an error 1.

[giuls@mo00nbase ~]$ winetricks -q --force
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: 489ea854e64f67d4c9c2a1757a772d2f403df99d04aaf349ea2a196d4df0a3b6 with wine-8.13 (Staging) and WINEARCH=win64
Executing w_do_call vcrun2010
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------

Executing load_vcrun2010 
grep: warning: stray \ before /
Using native,builtin override for following DLLs: msvcp100 msvcr100 vcomp100 atl100
Executing wine C:\windows\syswow64\regedit.exe /S C:\windows\Temp\override-dll.reg
Executing wine64 C:\windows\regedit.exe /S C:\windows\Temp\override-dll.reg
Executing cd /home/giuls/.cache/winetricks/vcrun2010
Executing wine vcredist_x86.exe /q
0158:fixme:clusapi:GetNodeClusterState ((null),0042EC44) stub!
0158:fixme:advapi:DecryptFileA ("y:\\3731d6437a3e9354b6ef75d240dc5831\\", 00000000): stub
0164:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
0164:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0164:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0164:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0164:fixme:security:GetWindowsAccountDomainSid (0051F4A8 010E8C7C 0051F4A4): semi-stub
0164:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0168:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0168:fixme:ole:NdrCorrelationInitialize (02A0CA74, 02A0C560, 1024, 0x0): semi-stub
0168:fixme:ole:NdrCorrelationFree (02A0CA74): stub
0168:fixme:security:GetWindowsAccountDomainSid (02A0CBE4 01106F54 02A0CBE0): semi-stub
0168:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0168:fixme:wer:WerReportCreate build report information from scratch for 0252E828
0168:fixme:wer:WerReportAddDump (0252E828, 0000009C, 00000000, 2, 02A0C598, 00000000, 0) :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 0, (null), L"Microsoft Visual C++ 2010  x86 Redistributable Setup") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 1, (null), L"10.0.30319") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 2, (null), L"10.0.30319.1") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 3, (null), L"3") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 4, (null), L" ") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 5, (null), L"None_UI_Silent_Crash") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 6, (null), L"0xc0000005") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 7, (null), L"0") :stub
0168:fixme:wer:WerReportSetParameter (0252E828, 8, (null), L" ") :stub
0168:fixme:wer:WerReportAddFile (0252E828, L"C:\\users\\giuls\\Temp\\Setup_20230816_203936280.html", 5, 0x0) :stub
0168:fixme:wer:WerReportAddFile (0252E828, L"C:\\users\\giuls\\Temp\\Microsoft Visual C++ 2010  x86 Redistributable Setup_20230816_203936373.html", 5, 0x0) :stub
0168:fixme:wer:WerReportSubmit (0252E828, 1, 0x14, 02A0C5A4) :stub
------------------------------------------------------
warning: Note: command wine vcredist_x86.exe /q returned status 1. Aborting.
@austin987
Copy link
Contributor

grep: warning: stray \ before /

Something went wrong somewhere (maybe that should be an error..).

Are you by chance using firejail or a wine wrapper?

Can you get a log with winetricks -v?

@Chiitoo
Copy link
Collaborator

Chiitoo commented Aug 17, 2023

grep: warning: stray \ before /

I think this might be due to a change in 'grep' somewhat recently (possibly 3.8 [1]?). I've seen it a bunch in other places.

In particular this one seems to stem from line 1408 [2]:

if echo "${_W_packagename}" | grep -q -e '\/-' -e '^-'; then
  1. https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html
  2. https://github.com/Winetricks/winetricks/blob/master/src/winetricks#L1408

@lunlune
Copy link
Author

lunlune commented Aug 17, 2023

so, i did resolve the issue with switching on endeavouros. but this is odd.

@austin987
Copy link
Contributor

I can reproduce this in a Fedora 39 VM. I'll try to take a look in the next few days.

@austin987
Copy link
Contributor

I can reproduce this in a Fedora 39 VM. I'll try to take a look in the next few days.

Sorry, my mistake. I can reproduce the grep issue, not the install failure. That is mysterious.

@scroll44
Copy link

scroll44 commented Apr 6, 2024

Good evening,

I read on the internet that vc_redist.x86.exe (vcrun family) requires wine32 to run.

I tried to install wine, wine32 and wine64 which were not installed on my computer. Wine and Wine64 are in conflict.

So I installed wine and wine32.

Well, vcrun2019 installed without any problem.

A solution for you, I think ...

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

No branches or pull requests

4 participants