---
title: "Which class in .NET is used to install a Windows service?"  
description: "Which class in .NET is used to install a Windows service?"  
author: "Sumit Kesarwani"  
published: 2014-08-26  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/2032/which-class-in-dot-net-is-used-to-install-a-windows-service  
category: "wcf"  
tags: ["wcf"]  
reading_time: 1 minute  

---

# Which class in .NET is used to install a Windows service?

The ServiceInstaller class, also known as the project installer class, is used to install a Windows service.

## Answers

### Answer by Sumit Kesarwani

The ServiceInstaller class, also known as the project installer class, is used to install a Windows service.


---

Original Source: https://www.mindstick.com/interview/2032/which-class-in-dot-net-is-used-to-install-a-windows-service

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
