Add support for installation as a system service #2

Open
opened 2026-04-07 00:15:40 +00:00 by luca0N · 2 comments
Owner
No description provided.
luca0N added this to the v1.0.0 project 2026-04-07 23:37:22 +00:00
Author
Owner

For system services, it would be interesting to have a different way of specifying which virtual hard disk files should be attached when the service starts, as opposed to specifying them over using command line arguments. It is possible to specify command line arguments to Windows services, but that's not very user friendly.

A different approach involves loading paths from a file (perhaps in %ProgramData%/Sticky/), from the system registry, or adding a subcommand to the CLI that changes the installed service on the fly.

For system services, it would be interesting to have a different way of specifying which virtual hard disk files should be attached when the service starts, as opposed to specifying them over using command line arguments. It is possible to specify command line arguments to Windows services, but that's not very user friendly. A different approach involves loading paths from a file (perhaps in `%ProgramData%/Sticky/`), from the system registry, or adding a subcommand to the CLI that changes the installed service on the fly.
Author
Owner

This will be implemented in such a way that it will be possible to run Sticky as a standalone program from the shell, without having to install it as a system service. This is possible by making a Win32 call to see if the system control handler can be attached.

This will be implemented in such a way that it will be possible to run Sticky as a standalone program from the shell, without having to install it as a system service. This is possible by making a Win32 call to see if the system control handler can be attached.
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
luca0N/Sticky#2
No description provided.