Skip to content

Following the "Create a Windows Service installer" my installation failed #34348

@DiogenesBR

Description

@DiogenesBR

I tried to follow the tutorial for creating a Windows Service Installer but it fails when executing I think it's because the sc.exe create ".NET Joke Service" command has to be run in a console as Administrator, but I'm not sure, the error message don't give details.

I Tried run the command ".\App.WindowsService.exe /Install" as administrator and worked fine.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 100180

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-fundamentals/svcokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions