how to fix wine not being able to install vcrun2019 with this error: "not supported on this system"?

Solution 1:

$ 7z l vc_redist.x64.exe  |grep "CPU ="
CPU = x86

https://superuser.com/a/981980/157532

there is no fix, it is a 32 bits installer for a 64 bits thing..., and til now I am unable to run 32bits windows apps on wine on ubuntu20.04.

the contents can be extracted with 7z x ... on the 32bits installer, but now I need to know what to do with that concerning registry stuff... Btw, 7z x can also be used with .msi files!

I extracted another 64bits application from the weird 32bits installer, and the application is running fine!

And to extract vc_redist.x64.exe usable contents, you have to:

mkdir tmp
cabextract -d tmp vc_redist.x64.exe
cd tmp
cabextract *