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

If your project is .NET, then try then you can use the ServiceProcessInstaller class with InstallShield LE.

To get it to work with InstallShield, you have to go into the InstallShield "files" tree and right click on your file. Then check the checkbox for "Installer class" on the "COM and .NET settings" tab.

I have gotten it to work, but I've had problems on some OS's like Windows 2008R2. Your mileage may vary.

Here is an example: http://www.codeproject.com/Articles/14353/Creating-a-Basic-Windows-Service-in-C


For Visual Studio 2012 & InstallShield LE, do the following:

  • Run through the InstallShield project assistant and add the primary output of your service to the Application files section.
  • After you are done with the project assistant, double click the "Files" item under step two of the setup project.

Files section

  • Right click on the primary output of your service, and go to properties.
  • Click the "COM and .NET Settings" tab, and place a check in the "Installer Class" checkbox. enter image description here
  • Click Ok

Now, once you build and run your install, your service will show up in the Windows Services snap in.

Note that this assumes you added a "Project Installer" to your service project (Right click on the service design sheet and click "add installer"). I can confirm this work on Windows 8 with Visual Studio 2012 / InstallShield LE.


I've recently installed VS 2012 with Install Shield LE. At first I kept getting a ISEXP -5036 internal server error after a build (this was after setting up a ISLE project and running through the Install Shield Project Assistant). Eventually I found out that it was trying to create the MSI in the DVD-5 media type which is where it was failing. For some reason, creating the solution again from scratch somehow recognizes to only build to the CD_ROM and SingleImage media types which works.

Anyway to rectify the 5036 error, click the Build tab in VS 2012 (top menu), select configuration manager and you should see that your IS setup file is selected on the DVD-5 configuration. Change this to CD_ROM and click close. Once you build/rebuild it will complete with no IS 5036 error.

enter image description here


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.