[GH-ISSUE #309] Two questions about Windows deployment and operation #159

Open
opened 2026-05-05 22:12:03 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @huangsijun17 on GitHub (Jul 8, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/309

  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.
Originally created by @huangsijun17 on GitHub (Jul 8, 2025). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/309 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.
Author
Owner

@Vassili-Dev commented on GitHub (Jul 8, 2025):

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.

<!-- gh-comment-id:3049615004 --> @Vassili-Dev commented on GitHub (Jul 8, 2025): 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.
Author
Owner

@feschber commented on GitHub (Oct 14, 2025):

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

<!-- gh-comment-id:3402446075 --> @feschber commented on GitHub (Oct 14, 2025): 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
Author
Owner

@delath commented on GitHub (Dec 24, 2025):

It would be cool to be able to minimize the gui on windows so we can stop and start it whenever we want!

<!-- gh-comment-id:3690353992 --> @delath commented on GitHub (Dec 24, 2025): It would be cool to be able to minimize the gui on windows so we can stop and start it whenever we want!
Author
Owner

@feschber commented on GitHub (Feb 7, 2026):

#373

<!-- gh-comment-id:3864414455 --> @feschber commented on GitHub (Feb 7, 2026): #373
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#159
No description provided.