自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

C#Windows服務(wù)程序安裝淺析

開發(fā) 后端
C#Windows服務(wù)程序安裝的步驟是什么呢?C#Windows服務(wù)程序安裝的具體操作又是什么呢?本文就向你介紹C#Windows服務(wù)程序安裝的具體內(nèi)容。

C#Windows服務(wù)程序安裝是如何的呢?讓我們開始吧:

C#Windows服務(wù)程序安裝1、

在服務(wù)程序的是設(shè)計窗體中,點擊右鍵“添加安裝程序”,添加服務(wù)安裝程序。否則,安裝時會出現(xiàn)如下

錯誤:

正在安裝程序集“C:\Program\xx.exe”。

受影響的參數(shù)是:

  1. logtoconsole =   
  2. assemblypath = C:\Program\xx\xx.exe  
  3. logfile = C:\Program\xx.InstallLog 

沒有 RunInstallerAttribute.Yes 的公共安裝程序。在 C:\Program\xx.exe 程序集中可能可以找到

“Yes”屬性。

正在提交程序集“C:\Program\xx.exe”。

受影響的參數(shù)是:

  1. logtoconsole =   
  2. assemblypath = C:\Program\xx.exe  
  3. logfile = C:\Program\xx.InstallLog 

沒有 RunInstallerAttribute.Yes 的公共安裝程序。在 C:\Program\xx.exe 程序集中可能可以找到

“Yes”屬性。

C#Windows服務(wù)程序安裝2、

將serviceProcessInstaller1->Accout屬性,設(shè)為:LocalSystem(默認是User)。

否則將會出現(xiàn)如下錯誤:

windows服務(wù)安裝時,出錯:System.ComponentModel.Win32Exception: 帳戶名無效或不存在,或者密碼對

于指定的帳戶

C#Windows服務(wù)程序安裝3、

安裝:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe  FilePath\xx.exe

卸載:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe -u FilePath\xx.exe

C#Windows服務(wù)程序安裝的具體實現(xiàn)就向你介紹到這里,希望對你了解和學習C#Windows服務(wù)程序安裝有所幫助。

【編輯推薦】

  1. C#Windows服務(wù)程序的快速開發(fā)
  2. C#WINDOWS服務(wù)交互的實現(xiàn)
  3. C#Windows服務(wù)程序編寫淺析
  4. C#Windows服務(wù)程序開發(fā)軟件功能需求
  5. C#Windows服務(wù)程序開發(fā)之Windows服務(wù)淺析
責任編輯:仲衡 來源: 百度空間
相關(guān)推薦

2009-08-14 14:25:09

Windows服務(wù)程序

2009-08-14 15:06:08

Windows服務(wù)程序

2009-08-14 15:19:38

Windows服務(wù)程序Windows服務(wù)

2009-08-14 14:17:16

C#Windows服務(wù)

2009-08-14 16:48:39

C#Windows服務(wù)

2009-08-14 16:13:25

C#windows服務(wù)

2009-08-14 13:41:13

C#Windows服務(wù)

2009-08-14 15:54:50

Windows服務(wù)程序C#Windows服務(wù)

2009-08-14 14:45:03

C#Windows服務(wù)

2009-08-14 16:24:00

Windows服務(wù)程序

2009-08-14 10:50:09

Windows服務(wù)介紹

2009-08-14 14:53:55

WINDOWS服務(wù)交互

2009-08-14 11:15:19

文件監(jiān)視C#Windows服務(wù)

2009-08-14 11:00:16

C#創(chuàng)建Windows

2009-08-14 18:04:59

C#Windows應(yīng)用

2009-08-14 17:27:30

C#Windows應(yīng)用

2009-08-14 17:36:20

C#Windows應(yīng)用

2009-08-14 16:41:22

C#啟動Windows

2009-08-14 10:42:16

Timer控件的使用C#windows服務(wù)

2009-08-14 17:55:52

C#Windows應(yīng)用
點贊
收藏

51CTO技術(shù)棧公眾號