firezone / firezone

Enterprise-ready zero-trust access platform built on WireGuard®.
https://www.firezone.dev
Apache License 2.0
6.78k stars 284 forks source link

ux(headless-client/windows): VCRUNTIME140.dll not found #5889

Open ReactorScram opened 3 months ago

ReactorScram commented 3 months ago

Next steps

As a workaround, install https://aka.ms/vs/17/release/vc_redist.x64.exe (from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version)

Statically bundling the CRT is tricky. Tauri somehow does it, but I can't figure out how to replicate that yet.

Describe the bug

Got this error on my Windows test VM

To Reproduce

Try to run the Headless Client on a fresh VM

Expected behavior

Expected the Headless Client to "Just Work" the same way the IPC service and GUI Client do.

Screenshots / Logs

image

Platform (please complete the following information)

Additional context

Add any other context about the problem here.

ReactorScram commented 2 months ago

Saw this on a debug build of the GUI client d399e65246a7 just now, too, in the Windows Server VM

Edit: Oh it's because I didn't use Tauri's bundler. Whoops.