Skip to content

[Bug]: vcredist2022 fails to install with any runner on 67.5 #4920

Closed

Description

@Sarisan

Describe the bug

After update I can't install vcredist2022 to any new prefix

To Reproduce

  1. Create new bottle
  2. Go to dependencies
  3. Install vcredist2022

Package

Flatpak from Flathub

Distribution

Debian GNU/Linux 13.7

Debugging Information

Official Package: true
Version: '67.5'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
    Vulkan: true
Kernel:
    Type: Linux
    Version: 7.3.0-spark5
Disk:
    Total: 8241332224
    Free: 8241156096
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 10.7GiB
Bottles_envs: null

Troubleshooting Logs

14:00:15 (INFO) Installing dependency [vcredist2022] in bottle [Proton]. 
14:00:15 (WARNING) File [vcredist2022_x86.exe] already exists in temp, skipping. 
14:00:15 (INFO) Launching an executable… 
14:00:15 (INFO) Fonts directory modified manually, running wineboot to update fonts registry. 
14:00:15 (INFO) Using Wine Runtime tool -- send_status(-u) 
14:00:15 (INFO) Executing command: /home/sarisan/.var/app/com.usebottles.bottles/data/bottles/runners/ge-proton11-11/files/bin/wine wineboot -u /nogui 
ntsync: up and running.
MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored.
MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored.
MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored.
14:00:18 (INFO) Session started: id=7 bottle=Proton program=vcredist2022_x86.exe 
14:00:18 (INFO) Using Wine Starter -- run 
14:00:18 (INFO) Using EasyAntiCheat runtime 
14:00:18 (INFO) Using BattlEye runtime 
14:00:18 (INFO) Executing command: /home/sarisan/.var/app/com.usebottles.bottles/data/bottles/runners/ge-proton11-11/files/bin/wine start /wait /unix /home/sarisan/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe /quiet /norestart 
ntsync: up and running.
0114:err:start:fatal_error FormatMessage failed
14:00:21 (ERROR) Command exited with status 1.

Additional context

I tried downloading and installing VC_redist.x64.exe, got same format error

Activity

  1. mirfalltnixein commented on Nov 2, 2026

    @mirfalltnixein
    Contributor

    I couldn't reproduce this on 67.5 (Flathub) with GE-Proton11-1 or GE-Proton11-11: new bottles (including a 64-bit Gaming one with ntsync and the EAC runtime) install vcredist2022 fine, and start /wait /unix …/vcredist2022_x86.exe /quiet /norestart launches the installer normally.

    err:start:fatal_error FormatMessage failed means Wine's start.exe couldn't open the file at all, so the installer never ran. A few things that would help narrow it down:

    1. Does any other program fail the same way in that bottle (e.g. Run Executable… with any .exe), or only installers?
    2. The output of ls -l ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/dosdevices/, and whether Preferences → Disable Z: drive (or similar) is turned on.
    3. Is it a 64-bit or 32-bit bottle, and was it created with the Gaming or Application environment?
    4. Does it still fail after deleting the cached file ~/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe so it gets downloaded again?
  2. Sarisan commented on Nov 3, 2026

    @Sarisan
    Author
    1. Does any other program fail the same way in that bottle (e.g. Run Executable… with any .exe), or only installers?

    Only vcredist installers, any version, not just 2022

    1. The output of ls -l ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/dosdevices/, and whether Preferences → Disable Z: drive (or similar) is turned on.
    lrwxrwxrwx 1 sarisan sarisan 10 Nov  3 17:49 c: -> ../drive_c
    lrwxrwxrwx 1 sarisan sarisan  1 Nov  3 17:49 z: -> /
    

    I didn't touch any settings, I'm testing it on freshly installed Bottles with com.usebottles.bottles renamed before first start

    Image
    1. Is it a 64-bit or 32-bit bottle, and was it created with the Gaming or Application environment?

    Custom 64-bit, Gaming fails too

    1. Does it still fail after deleting the cached file ~/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe so it gets downloaded again?

    Yes

  3. mirfalltnixein commented on Nov 3, 2026

    @mirfalltnixein
    Contributor

    Thanks! With those settings it still installs fine here (GE-Proton11-11, fresh 64-bit bottle, Z: present), so something on your system makes it fail. FormatMessage failed means Wine's start couldn't launch the installer and then couldn't even print why, so the real error is hidden. Could you run these and paste the output?

    flatpak run --command=sh com.usebottles.bottles -c 'echo "LANG=$LANG"; WINEPREFIX=$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton $HOME/.var/app/com.usebottles.bottles/data/bottles/runners/ge-proton11-11/files/bin/wine $HOME/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe /quiet /norestart; echo "rc=$?"'
    

    This runs the installer directly instead of through start, so Wine should print the actual error. If it installs fine this way, please also try it with start /wait /unix added after bin/wine, which is how Bottles runs it.

  4. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author
    ➜  ~ flatpak run --command=sh com.usebottles.bottles -c 'echo "LANG=$LANG"; WINEPREFIX=$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton $HOME/.var/app/com.usebottles.bottles/data/bottles/runners/ge-proton11-11/files/bin/wine $HOME/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe /quiet /norestart; echo "rc=$?"'
    LANG=en_US.UTF-8
    ntsync: up and running.
    002c:fixme:winediag:loader_init wine-staging 11.0 is a testing version containing experimental patches.
    002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
    00ac:fixme:xinput:pdo_pnp code 0xc, not implemented!
    00ac:fixme:xinput:pdo_pnp code 0xc, not implemented!
    00ac:fixme:wineusb:query_id Unhandled ID query type 0x5.
    00ac:fixme:wineusb:query_id Unhandled ID query type 0x5.
    00ac:fixme:wineusb:query_id Unhandled ID query type 0x5.
    00ac:fixme:wineusb:query_id Unhandled ID query type 0x5.
    00ac:fixme:wineusb:query_id Unhandled ID query type 0x5.
    0024:fixme:winediag:loader_init wine-staging 11.0 is a testing version containing experimental patches.
    0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
    Application could not be started, or no application associated with the specified file.
    ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed
    rc=1
    0118:fixme:winediag:loader_init wine-staging 11.0 is a testing version containing experimental patches.
    0118:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
    
  5. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author

    Downgrading to 67.4 solves it if it helps to find the root of the issue

  6. mirfalltnixein commented on Nov 4, 2026

    @mirfalltnixein
    Contributor

    Thanks. I compared that with what Wine prints here (GE-Proton11-11): a path that doesn't exist gives failed to open, and a fake .exe (a text file) gives the same Application could not be started line as yours, followed by File not found. So my guess is that your file is there but Wine can't load it. That's only a guess, because your last line is different and I don't know which error is behind FormatMessage failed.

    About 67.4: up to that version Bottles didn't check the installer's exit code, and 67.5 does. So 67.4 might be failing the same way without showing it. I haven't tested that. Could you check two things?

    1. On 67.5, the size and md5 of the cached installer. The copy I just downloaded from the URL in the dependency manifest is 13953392 bytes, md5 99f52708b06b9c695a8d64a44740bf08:
    ls -l ~/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe
    md5sum ~/.var/app/com.usebottles.bottles/data/bottles/temp/vcredist2022_x86.exe
    
    1. On 67.4, after vcredist2022 "installs", the output of the commands below. Wine's own msvcp140.dll prints 1 here, so a 0 would suggest the installer replaced it, but I couldn't test that with Microsoft's DLL:
    ls -l ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    grep -ac 'Wine builtin DLL' ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    
  7. mirkobrombin commented on Nov 4, 2026

    @mirkobrombin
    Member

    Thanks, the downgrade comparison helps. I fixed the 67.5 font-refresh launch path in the latest cpak. Please retry with a fresh bottle. If the redist still fails, please share the cached installer file size and checksum, and confirm whether the same runner was used for the working 67.4 test.

  8. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author

    13953392, 99f52708b06b9c695a8d64a44740bf08

    ➜  ~ ls -l ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    grep -ac 'Wine builtin DLL' ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    ls: cannot access '/home/sarisan/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll': No such file or directory
    grep: /home/sarisan/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll: No such file or directory
    

    I also tried replacing path with system32

    ➜  ~ ls -l ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll 
    grep -ac 'Wine builtin DLL' ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll 
    -rw-r--r-- 1 sarisan sarisan 1840612 Nov  4 20:28 /home/sarisan/.var/app/com.usebottles.bottles/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll
    1
    
  9. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author
    ➜  ~ ls -l ~/.var/app/com.usebottles.bottles.Devel/data/bottles/temp/vcredist2022_x86.exe                           
    md5sum ~/.var/app/com.usebottles.bottles.Devel/data/bottles/temp/vcredist2022_x86.exe                                                
    -rw-r--r-- 1 sarisan sarisan 13953392 Nov  4 20:39 /home/sarisan/.var/app/com.usebottles.bottles.Devel/data/bottles/temp/vcredist2022_x86.exe
    99f52708b06b9c695a8d64a44740bf08  /home/sarisan/.var/app/com.usebottles.bottles.Devel/data/bottles/temp/vcredist2022_x86.exe
    ➜  ~ ls -l ~/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    grep -ac 'Wine builtin DLL' ~/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll
    ls: cannot access '/home/sarisan/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll': No such file or directory
    grep: /home/sarisan/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/syswow64/msvcp140.dll: No such file or directory
    ➜  ~ ls -l ~/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll
    grep -ac 'Wine builtin DLL' ~/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll
    -rw-r--r-- 1 sarisan sarisan 1840612 Nov  4 20:39 /home/sarisan/.var/app/com.usebottles.bottles.Devel/data/bottles/bottles/Proton/drive_c/windows/system32/msvcp140.dll
    1
    
  10. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author

    So I suppose it never actually worked? Well since all my dependent of it software worked fine it doesn't matter anymore

  11. mirkobrombin commented on Nov 4, 2026

    @mirkobrombin
    Member

    Thanks, the checksum matches and that DLL is still Wine's copy, so the old version marking the dependency as installed was misleading. I am keeping this open for the installer failure; the apps working with Wine's DLL does not explain why the redist cannot start.

  12. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author

    The full list of all runtimes I have installed if it helps any way

    Name                                            Application ID                                                Version                            Branch                Installation
    bottles translations                            com.usebottles.bottles.Locale                                                                    stable                system
    Proton-GE (community build)                     com.valvesoftware.Steam.CompatibilityTool.Proton-GE           11.12                              stable                system
    Freedesktop Platform                            org.freedesktop.Platform                                      freedesktop-sdk-25.08.19           25.08                 system
    Freedesktop Platform                            org.freedesktop.Platform                                      freedesktop-sdk-26.08.4            26.08                 system
    i386                                            org.freedesktop.Platform.Compat.i386                                                             25.08                 system
    Mesa                                            org.freedesktop.Platform.GL.default                           26.2.5                             25.08                 system
    Mesa (Extra)                                    org.freedesktop.Platform.GL.default                           26.2.5                             25.08-extra           system
    Mesa                                            org.freedesktop.Platform.GL.default                           26.2.5                             26.08                 system
    Mesa (Extra)                                    org.freedesktop.Platform.GL.default                           26.2.5                             26.08-extra           system
    Mesa                                            org.freedesktop.Platform.GL32.default                         26.2.5                             25.08                 system
    Mesa (Extra)                                    org.freedesktop.Platform.GL32.default                         26.2.5                             25.08-extra           system
    freedesktop platform translations               org.freedesktop.Platform.Locale                                                                  25.08                 system
    freedesktop platform translations               org.freedesktop.Platform.Locale                                                                  26.08                 system
    Intel VAAPI driver                              org.freedesktop.Platform.VAAPI.Intel                                                             25.08                 system
    Intel VAAPI driver                              org.freedesktop.Platform.VAAPI.Intel                                                             26.08                 system
    i386                                            org.freedesktop.Platform.VAAPI.Intel.i386                                                        25.08                 system
    gamescope                                       org.freedesktop.Platform.VulkanLayer.gamescope                3.16.31                            25.08                 system
    gamescope                                       org.freedesktop.Platform.VulkanLayer.gamescope                3.17.0                             26.08                 system
    Codecs Extra Extension                          org.freedesktop.Platform.codecs-extra                                                            25.08-extra           system
    Codecs Extra Extension                          org.freedesktop.Platform.codecs-extra                                                            26.08-extra           system
    i386                                            org.freedesktop.Platform.codecs_extra.i386                                                       25.08-extra           system
    Decibels translations                           org.gnome.Decibels.Locale                                                                        stable                system
    GNOME Application Platform version 49           org.gnome.Platform                                                                               49                    system
    GNOME Application Platform version 50           org.gnome.Platform                                                                               50                    system
    GNOME Application Platform version 51           org.gnome.Platform                                                                               51                    system
    gnome platform translations                     org.gnome.Platform.Locale                                                                        49                    system
    gnome platform translations                     org.gnome.Platform.Locale                                                                        50                    system
    gnome platform translations                     org.gnome.Platform.Locale                                                                        51                    system
    Adwaita theme                                   org.kde.KStyle.Adwaita                                                                           6.10                  system
    KDE Application Platform                        org.kde.Platform                                                                                 6.10                  system
    kde platform translations                       org.kde.Platform.Locale                                                                          6.10                  system
    gecko                                           org.winehq.Wine.gecko                                                                            stable-25.08          system
    mono                                            org.winehq.Wine.mono                                                                             stable-25.08          system
    
  13. Sarisan commented on Nov 4, 2026

    @Sarisan
    Author

    Resolved
    In case if anybody encounters this running custom kernels too
    Sarisan/linux-snowclad@cfd4a5a

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions