//目前此方法只在WindowsXP测试通过,在Windows2003服务器上不能应用 //本文主要介绍对用c#.net生成的Windows服务程序进行安装,共采用了两种方法,其中一种方法为调用 //installutil.exe进行安装,同时生成了 Process 类 的使用实例 //writer:furenjun 2006.4.28 using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropServices; using System.Diagnostics; using System.Reflection; using System.Collections.Specialized; using System.Text; namespace installWindowsService
using System; using System.Threading; namespace printNum