Jump to content

start 2 or more service in one computer


Wilton Ergon

Recommended Posts


I have a project that needs to be started as a service on different doors,
each will have its separate installation folder.
and the same project that needs to be started 2 times.

tried to set in create uniservicemodule
the name property

procedure TUniServiceModule.UniGUIServiceCreate(Sender: TObject);
var s:string;
begin
s :=LerNoIni2('CONFIG','NOME DO SERVICO');
displayname:='TaskReport Service'+s;
NAME       :='UniServiceModule'+s;
end;

 

image.thumb.png.6d0b5cc26b8b2b63eb53147cd2f7d52c.png

 


The service is installed but does not start.

only starts when the service name is not changed
that is
When
s: = LerNoIni2 ('CONFIG', 'SERVICE NAME');
it's empty

 

 

 

Link to comment
Share on other sites

 

I have 2 folders with the project, in the create of the servicemodule, I capture an ini key to allow changing the name of the service. I can install the 2 services via command prompt as an administrator by typing taskreportserver_s / install when I go to the list of windows services, and I try to start, it does not start .. starts only when the name property is not changed

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...