zoukankan      html  css  js  c++  java
  • 怎么安装WINDOWS服务

    怎么安装WINDOWS服务

    安装Winfows服务首先要添加安装程序,添加安装程序步骤如下:

    1、将Windows服务程序切换到设计视图, 右击设计视图选择“添加安装程序”

    2、切换到刚被添加的ProjectInstaller的设计视图

    一般设置如下:

    设置serviceInstaller1组件的属性:

    1) ServiceName = 服务名称

    2) StartType = Automatic ,即自动

    设置serviceProcessInstaller1组件的属性 

    1) Account = LocalSystem,账户一般设置为本地系统

    3、生成解决方案

    安装服务:

    方法一、使用DOS命令安装window服务

    1、在服务所在的文件夹下的bindebug文件夹下找到.exe文件(例如WindowsService1.exe)

    将此文件拷贝到你想安装的文件夹中。

    2、进入DOS界面

    (VS2008-->Visual Studio Tools-->Visual Studio 2008 命令提示)来进入DOS,直接用cmd可能有些命令找不到;

    3、输入

  • 相关阅读:
    部署prerender服务器
    Bzoj4727--Poi2017Turysta
    Bzoj4818--Sdoi2017序列计数
    Heoi2014系列题解
    scoi2017酱油记
    Burnside引理与Pólya定理
    2017省选前北京集训总结
    奥妙重重的随机发生器
    ???--???Insection is not allowed
    反演
  • 原文地址:https://www.cnblogs.com/sunny3158/p/14598763.html
Copyright © 2011-2022 走看看