How do i create an InstallShield LE project to install a windows service?

后端 未结 11 972
耶瑟儿~
耶瑟儿~ 2020-11-27 09:18

I downloaded Visual Studio 2012 yesterday when it was released on MSDN. I have noticed that a few of the project types that we had in 2010 are gone or different. The bigges

11条回答
  •  遥遥无期
    2020-11-27 10:23

    While using the installer class checkbox may work for some instances, you may experience the following error:

    Error 1001.The specified service already exists

    Here is an excerpt from this link on how to resolve this issue:

    For Error: Error 1001.The specified service already exists

    This error will occur if the component installing a .NET Service is incorrectly configured with ".NET Installer Class" set to Yes. The method to install a .NET Service is to use Component\Advanced Settings\Services view, not the ".NET Installer Class" setting. Making definitions in the Component\Advanced Settings\Services view creates entries in the Windows Installer ServiceControl and ServiceInstall Tables. These entries are used by the Windows Installer "InstallServices" action to install the Service.

提交回复
热议问题