Board index » cppbuilder » What INSTALL actualy do?

What INSTALL actualy do?


2005-05-09 08:39:47 AM
cppbuilder8
I maneged to do what I wanted with this service application that
was to send e-mail whenever my computer is turned on. Now I would
like to know how it works, generaly.
First what happends when I execute my application with /INSTALL
parameter in command line? It is registered, OK. but mor exactly?
Perhaps someone would be so kind and give me some brife explanation.
I am not a specialist in programing, or systems or hardly
anything around that. I am just a modelmaker.... so have this in mind, and try if it is possible, not to go in to some details that i can have no idea about. My knowlage about windows and programing is however over avrage, so I think that explaining this issue to me is possible.
thanks in advance
Cris
 
 

Re:What INSTALL actualy do?

"Cris" < XXXX@XXXXX.COM >wrote in message
Quote
First what happends when I execute my application with
/INSTALL parameter in command line? It is registered, OK.
but mor exactly?
The executable loops through all of the TService objects that the executable
contains. For each TService, its BeforeInstall event is triggered before
than calling the Win32 API CreateService() function to actually register the
service with the SCM. CreateService() sets up the Registry values that the
SCM needs in order to know where the service executable resides and how to
load it.
Gambit