winetricks icon indicating copy to clipboard operation
winetricks copied to clipboard

can't install vcrun2010.

Open lunlune opened this issue 2 years ago • 6 comments

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.

lunlune avatar Aug 16 '23 18:08 lunlune

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?

austin987 avatar Aug 17 '23 07:08 austin987

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

Chiitoo avatar Aug 17 '23 09:08 Chiitoo

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

lunlune avatar Aug 17 '23 11:08 lunlune

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

austin987 avatar Jan 04 '24 07:01 austin987

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.

austin987 avatar Jan 04 '24 07:01 austin987

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 ...

scroll44 avatar Apr 06 '24 19:04 scroll44