lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

Two questions about Windows deployment and operation

Open huangsijun17 opened this issue 6 months ago • 2 comments

  1. Can it be registered as a Windows service to achieve automatic startup at boot?
  2. Can the exe and dynamic library files be separated so that users can add the path where the exe is located to the PATH environment variable.

huangsijun17 avatar Jul 08 '25 04:07 huangsijun17

As a workaround to the Windows Service thing: You can add a "Task" (Start Menu -> Task Scheduler) to run Lan Mouse on login. It seems to work fine for me, but probably isn't ideal since it opens a terminal window, and doesn't have the bells and whistles that a proper service is meant to have.

Vassili-Dev avatar Jul 08 '25 16:07 Vassili-Dev

For the first question: There is no service yet, but it is something I'm planning to add at some point.

And for the second part: I believe adding the location to PATH should still work fine? I'm not quite sure what you are trying to achieve but DLLs are searched in specific locations: https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order

feschber avatar Oct 14 '25 15:10 feschber