Add support for installation as a system service #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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.