G
Guest
Hi,
I am trying to make a service component required by my application.
If I use a custom component "Service Data" : The service shows up in the
services list. The problem is when I try to start the service, the message
appears "File not found". Another difference i have noticied between the same
service running on full XP and the image is that image service(which does not
start) shows the account selected as This Account, where as it should be
running under Local account.
I am not putting any value under startname as I want it to run under local
account.
The values under service data :
starttype : 2
start name :
service type : 16
Service name : name of my service ( it is unique)
Service display name : name of my service
Service binary : %16422%\.....path.....\servicename.exe
LoadorderGroup :
ErrorControl : 1
Dependencies : Null
If I try using an msi package made to install this service, I tried
including Custom component " Run Once Request " with values :
Filepath : %11%\msiexec
Arguments : -i %16422%\......Path.......\MyServiceSetup.msi /qn
Flags : 2
These arguments are to make it a silent install.
flag is 2 as i want to run it after everything gets installed because if i
keep the flag value 1, It tries to install a service after plug and play
devices and message appears " It requires .net framework 1.145 something. I
have tried making this service component dependent on >net framework also (by
build order dependency) but it simply does not work.
I have also tried using a custom component FBA generic command , nothign
happens.
Any help is highly appreciated.
I am trying to make a service component required by my application.
If I use a custom component "Service Data" : The service shows up in the
services list. The problem is when I try to start the service, the message
appears "File not found". Another difference i have noticied between the same
service running on full XP and the image is that image service(which does not
start) shows the account selected as This Account, where as it should be
running under Local account.
I am not putting any value under startname as I want it to run under local
account.
The values under service data :
starttype : 2
start name :
service type : 16
Service name : name of my service ( it is unique)
Service display name : name of my service
Service binary : %16422%\.....path.....\servicename.exe
LoadorderGroup :
ErrorControl : 1
Dependencies : Null
If I try using an msi package made to install this service, I tried
including Custom component " Run Once Request " with values :
Filepath : %11%\msiexec
Arguments : -i %16422%\......Path.......\MyServiceSetup.msi /qn
Flags : 2
These arguments are to make it a silent install.
flag is 2 as i want to run it after everything gets installed because if i
keep the flag value 1, It tries to install a service after plug and play
devices and message appears " It requires .net framework 1.145 something. I
have tried making this service component dependent on >net framework also (by
build order dependency) but it simply does not work.
I have also tried using a custom component FBA generic command , nothign
happens.
Any help is highly appreciated.