照网上的教程安装都提示有错误,于是自己做了一个总结,就安装成功了: sc create [servicename] binPath= [exe文件所在目录] binPath等号后一定保留一个空格!!! 祝成功!