Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servicepath can not be set // any documentation? #38

Closed
Jenscaasen opened this issue Nov 14, 2020 · 3 comments
Closed

Servicepath can not be set // any documentation? #38

Jenscaasen opened this issue Nov 14, 2020 · 3 comments

Comments

@Jenscaasen
Copy link

Hi,
neigther the constructor nor the "Install" method of WindowsServiceUtil provide a way to set the exe file path. There is the "ServiceExe" property, but its read only.

Is this a bug? How do you install a service?

@fluffynuts
Copy link
Owner

Hi @Jenscaasen

The path to the service exe can be passed through one of the constructors: see

public void ShouldBeAbleToInstallServiceAsManualStartViaApi()

Mostly, tests in this repo should help to serve as documentation, though I know that's a bit of a cop-out. PB has kind of grown quite a lot, so documenting all of it exhaustively feels like a bit of a daunting venture. I'm always open to doc PRs though (:

@fluffynuts
Copy link
Owner

@Jenscaasen does this answer your question?

@fluffynuts
Copy link
Owner

@Jenscaasen closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants