mirror of
https://github.com/reactos/reactos.git
synced 2024-10-10 19:27:40 +00:00
d7b2077ed8
- made more and more easily extensible: * commands automatically loaded from plugins dlls * declarative and automatic command parameter parsing * common code moved to base classes - other fixes svn path=/trunk/; revision=33344
29 lines
729 B
C#
29 lines
729 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.ServiceProcess;
|
|
using System.Configuration.Install;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TechBot
|
|
{
|
|
[RunInstaller(true)]
|
|
public class ProjectInstaller : Installer
|
|
{
|
|
public ProjectInstaller()
|
|
{
|
|
ServiceProcessInstaller spi = null;
|
|
ServiceInstaller si = null;
|
|
|
|
spi = new ServiceProcessInstaller();
|
|
spi.Account = ServiceAccount.LocalSystem;
|
|
|
|
si = new ServiceInstaller();
|
|
si.ServiceName = "TechBot";
|
|
si.StartType = ServiceStartMode.Automatic;
|
|
|
|
Installers.AddRange(new Installer[] { spi, si });
|
|
}
|
|
}
|
|
}
|