dua-cli icon indicating copy to clipboard operation
dua-cli copied to clipboard

dua does not start on windows server 2022

Open fekir opened this issue 1 year ago • 3 comments

Normally executing dua.exe starts analyzing the current folder.

On windows server 2022 (without "Desktop Experience", thus without "explorer.exe"), it seems that the binary does not start.

dua.exe --help and dua.exe --version do not print anything.

On Windows 10 (non-server) dua works correctly.

tested version is current release: dua 2.29.0

fekir avatar Jun 30 '24 10:06 fekir

image

I've analyzed the dependencies with dependency walker.

It seems that dua depends on vcruntime140.dll which is missing.

Would it be possible to make a portable executable that does not depend on such dll?

fekir avatar Jul 10 '24 18:07 fekir

That would certainly be possible given someone investing the time it takes to set it up, including a respective CI build.

Byron avatar Jul 11 '24 05:07 Byron

It seems other projects applied successfully whats written here

https://github.com/rust-lang/rust/issues/100874

Unfortunately I do not have a rust environment right now, so I'm not able to test it.

fekir avatar Jul 11 '24 06:07 fekir