<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > PackDesigner > MSI / MST / RPP Based Projects > Visual Designer Mode > System Interaction > Services Add a Service Creator |
Note: Service manipulation objects have to be related to components. Please make sure to provide a component for your packaging project before the wizard for the creation of new server mnipulation objects is started. |
Service creator items are a set of service manipulation rules, that lead to the creation of a new service on the target machine at package installation. If an already existing service on the target machine has to be manipulated, users should create a new service controller item instead.
To add a new service creator, users have to:
1.Call the services view within the Visual Designer mode of PackDesigner.
2.Click on the Create new... button in the upper left corner of the view.
3.Select Create service from the options menu.
A new service creator object is automatically created and added to the list of service manipulation items in the left area of the services view. New service manipulation objects are named NewService by default. If an item with that name already exists, RayPack adds an incrementing index value to the default name (e. g. NewService_1).
The newly created service creator item is added to the ServiceInstall Installer database table. It is already equipped with some basic settings, such as:
•Service name - the default name mentioned above.
•Component relation - RayPack automatically adds the service creator object to one of the already existing components. The service executable is the components key path file.
•Create service - this option is predefined to be active.
•Display name - the same as the service name.
•Start-up type - the new service will start up automatically.
•Error control - the new service will log errors and continue on error.
•Service type - newly created services are set to run their own process in 32bit mode.
Especially the service name and component relation have to be adjusted in order to create the service according to the specific package needs.
Additional information, such as service control commands, permissions and required credentials, have to be added to the default object properties manually.
To adjust these settings, users have to edit the service manipulation item. Please refer to the specific help topic for details on how to do so.