Installshield register windows service




















Note: You must be familiar with the technical details of your service before you can configure its settings. See Also. Services View. Add the service executable file to your project. For information on adding files, see Adding Files and Folders to a Project. Right-click the Services node and then click Add Service.

The Browse for a Destination File dialog box opens. Browse to the executable file that you added to your project in step 1. InstallShield adds a new service. NET Windows service applications by executing the installation components in specified assemblies.

You can create such a service using a Visual Studio project template called Windows Service , and add installation components that can install resources associated with your service application in the Component Designer of Visual Studio. For more information about creating Windows service applications, see the following Microsoft articles:.

After you create and build the application, you can create an installation for your service using InstallShield. The procedure is slightly different, depending on what edition of InstallShield that you are using. For the Premier or Professional edition of InstallShield :. InstallShield adds the custom actions that call the InstallUtil API to install your service when you build your installation. If you create a Visual Studio or earlier setup project that installs a service, Visual Studio adds the same custom actions to your project as soon as you add the Windows service application file in the Custom Actions view.

The Services view is available under the Advanced Settings section of components, and it enables you configure the properties of your services and how you control them during installation. InstallShield introduced the following improvements related to Windows Services:. The old method of using Installer classes to install Windows services which was previously the only method available to Express and Limited users, described in the blog article is fragile and generally not recommended.

For more information on the support that is available in the Premier and Professional editions of InstallShield and later, see the following help topics:. Note that the Express and Limited editions of InstallShield include support for installing a service during installation, and removing the service during uninstallation.

These editions also have support for optionally starting the service during installation. 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 target systems.



0コメント

  • 1000 / 1000