InstallShield 2015 Express Edition
Edition: The Express edition of InstallShield includes support for installing a service during installation, and removing the service during uninstallation. It also has support for optionally starting the service after installing it, starting it automatically every time that the system starts, or starting it on demand (when the service is requested through the Service Control Manager).
The Premier and Professional editions of InstallShield include additional flexibility for services. These editions enable you to start, stop, or delete the service during installation or uninstallation. These editions also let you configure extended service customization options that are available with Windows Installer 5. In addition, the Premier and Professional editions let you configure a service that is already present on the target system.
Windows services are executable files that Windows–based systems run in the background to manage various system tasks, even if no user is currently logged in. A service is an executable file, but it must be designed as a service; you cannot automatically use an arbitrary executable file as a service. Windows services can be installed to run every time that the system starts or on demand when needed. InstallShield enables you to install new Windows services and configure existing services. Windows has a Services administrative tool with which you can view and configure the services that are installed on a system.
You can use the Services view to specify information about a service that you want to install during installation and remove during uninstallation.
To install a service:
1. | Add the service executable file to your project. For information on adding files, see Adding Files and Folders to a Project. |
Note that the service must be a single executable file (.exe), since the Windows Installer does not support driver services.
Also note that the Remote Installation setting for the service’s feature must be set to Favor Local. For more information, see Setting a Feature’s Remote Installation Setting.
2. | In the View List under Configure the Target System, click Services. |
3. | Right-click the Services node and then click Add Service. The Browse for a Destination File dialog box opens. |
4. | Browse to the executable file that you added to your project in step 1. InstallShield adds a new service. |
5. | Type a new name for the service now, or click it and then press F2 later to rename it. |
The name that you enter must match the name that is shown on the service’s Properties dialog box. (To access an installed service’s properties: In the Services administrative tool, right-click the service and then click Properties.)
6. | Select the service that you added, and then configure the settings that are displayed in the right pane as needed. For information about each of the settings, see Services View. |
Note: You must be familiar with the technical details of your service before you can configure its settings.
See Also
InstallShield 2015 Express Edition Help LibraryJune 2015 |
Copyright Information | Contact Us |