Service not installing

For several years I have successfully installed the Services within my Program without any issues.
Today one of my installation did not work ie: the service was not installed via Setup.
Therefore I manually tried installing via Command Prompt (elevated).
'MyService /Install'  and I got below error. I also tried giving full path.

Service "Here shows the descriptive name" failed to install with
error: "System Error. Code:2.
The system cannot find the file specified"

This was on Win7 and my application is Delphi XE2
Allan_FernandesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

qz8dswCommented:
have to tried the solution here?
http://stackoverflow.com/questions/19799669/new-windows-service-installed-fails-to-start-system-error-2-system-cannot

"My built in service installer uses three properties: ServiceName, ServiceTitle, ServiceDescription. On installing, I found that it writes full service path to the registry, but it doesn’t just take the actual exe (assembly) name, it uses the ServiceName property to build the path! My issue was that the ServiceName and assembly name didn’t match, hence file not found."
0
Allan_FernandesAuthor Commented:
I had checked that one out before writing here then I had also checked the customers registry and there was no trace of my service entry. I am suspecting the Antivirus MacFee interference but have not been able to confirm as yet. Will do so shortly.
0
Allan_FernandesAuthor Commented:
Confirmed that it was due to the AntiVirus. What is odd is that no notification from the AntiVirus.
Thanks anyways
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Allan_FernandesAuthor Commented:
NA
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.