Wine: An error occured while downloading the file VC_redist.x64.exe

I’m trying to run an .exe through wine.

Wine wants to download VC_redist.x64.exe but it’s not working.

The system is on the latest nixos unstable, swaywm

Could you point me in the right direction?

  environment.systemPackages = with pkgs; [
    # support both 32-bit and 64-bit applications
    # wineWow64Packages.stable

    # support 32-bit only
    # wine

    # support 64-bit only
    # (wine.override { wineBuild = "wine64"; })

    # support 64-bit only
    # wine64

    # wine-staging (version with experimental features)
    # wineWow64Packages.staging

    # winetricks (all versions)
    winetricks

    # native wayland support (unstable)
    wineWow64Packages.waylandFull
  ];

❯ rm -rf ~/.wine

❯ wine Zebra_Aurora_Focus_App_v10.2.8.exe
wine: created the configuration directory '/home/myuser/.wine'
002c:fixme:actctx:parslse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0054:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:start_rpcss Failed to open RpcSs service
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0044:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
002c:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00a8:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00b4:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00b4:fixme:file:NtLockFile I/O completion on lock not implemented yet
00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00c0:fixme:file:NtLockFile I/O completion on lock not implemented yet
00c0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00c0:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00cc:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00d8:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00e4:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00c0:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00c0:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00f0:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0138:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0138:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0144:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10
002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0164:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0164:err:setupapi:do_file_copyW Unsupported style(s) 0x10
002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0164:fixme:wineusb:query_id Unhandled ID query type 0x5.
0198:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0198:fixme:ole:CoInitializeSecurity 0024EAFC, -1, 00000000, 00000000, 6, 2, 00000000, 8192, 00000000 stub
01a4:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
01a4:fixme:ole:CoInitializeSecurity 0024EAFC, -1, 00000000, 00000000, 6, 2, 00000000, 8192, 00000000 stub
01ac:fixme:crypt:I_CertUpdateStore semi-stub
01ac:fixme:secur32:get_cipher_algid unknown algorithm 23
01ac:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01ac:fixme:secur32:get_cipher_algid unknown algorithm 23
01ac:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01ac:fixme:secur32:get_cipher_algid unknown algorithm 23
01ac:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01ac:fixme:secur32:get_cipher_algid unknown algorithm 23
01ac:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01b4:fixme:secur32:get_cipher_algid unknown algorithm 23
01b4:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01bc:fixme:secur32:get_cipher_algid unknown algorithm 23
01bc:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01bc:fixme:secur32:get_cipher_algid unknown algorithm 23
01bc:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c0:fixme:secur32:get_cipher_algid unknown algorithm 23
01c0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c0:fixme:secur32:get_cipher_algid unknown algorithm 23
01c0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c0:fixme:secur32:get_cipher_algid unknown algorithm 23
01c0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c0:fixme:secur32:get_cipher_algid unknown algorithm 23
01c0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c8:fixme:secur32:get_cipher_algid unknown algorithm 23
01c8:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01c8:fixme:secur32:get_cipher_algid unknown algorithm 23
01c8:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01cc:fixme:secur32:get_cipher_algid unknown algorithm 23
01cc:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
01cc:fixme:secur32:get_cipher_algid unknown algorithm 23
01cc:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23

Have you tried installing vcrun2022 via winetricks and then restart the installer of your app?

no, I’ll check it out

ty

Tried it, but I don’t see a difference.

❯ rm -rf ~/.wine

❯ winetricks vcrun2022
Executing cd /nix/store/44yg47inyw90mw7zvwhxamrpqn0y3a1d-winetricks-20260125/bin
------------------------------------------------------
winetricks latest version check update disabled
------------------------------------------------------
------------------------------------------------------
warning: Unknown file arch of /run/current-system/sw/bin/wine.
------------------------------------------------------
------------------------------------------------------
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.
------------------------------------------------------
------------------------------------------------------
warning: WoW64 type could not be detected.
------------------------------------------------------
grep: /home/myuser/.wine/*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 39
drwxr-xr-x  7 myuser users  7 Jul 20 18:30 .
drwxr-xr-x  4 myuser users  5 Jul 20 18:30 ..
drwxr-xr-x  3 myuser users  3 Jul 20 18:30 ProgramData
drwxr-xr-x  6 myuser users  6 Jul 20 18:30 Program Files
drwxr-xr-x  6 myuser users  6 Jul 20 18:30 Program Files (x86)
drwxr-xr-x  4 myuser users  4 Jul 20 18:30 users
drwxr-xr-x 22 myuser users 33 Jul 20 18:30 windows

Registry info:
/home/myuser/.wine/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message ""
------------------------------------------------------

❯ wine Zebra_Aurora_Focus_App_v10.2.8.exe
0074:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
00b4:fixme:wineusb:query_id Unhandled ID query type 0x5.
0034:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
012c:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
012c:fixme:ole:CoInitializeSecurity 0024EAFC, -1, 00000000, 00000000, 6, 2, 00000000, 8192, 00000000 stub
0138:err:waylanddrv:wayland_process_init Wayland compositor doesn't support xdg_toplevel_icon_manager_v1 (window icons will not be supported)
0138:fixme:ole:CoInitializeSecurity 0024EAFC, -1, 00000000, 00000000, 6, 2, 00000000, 8192, 00000000 stub
0140:fixme:crypt:I_CertUpdateStore semi-stub
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0140:fixme:secur32:get_cipher_algid unknown algorithm 23
0140:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23

The installer still tries to download the VC-redist* file? Note that I have never tried your specific app. I have seen your error message and thought, installing via winetricks could help.

1 Like

Not a wine user, but what if you download the VC_redist.x64.exe file directly and then first run wine on that? I also notice it at least seems like the error you are getting is an error that “Zebra_Aurora_Focus_app - InstallShield Wizard” is throwing, not one that wine itself is throwing.

1 Like

I’m now a few screen further, but they’re all white. I first have to fix the gui, then I can continue even further.

                wineWow64Packages.staging
                winetricks

It did install

Now I’ll have to figure out how to launch it.