mlaski wrote:Yes from elevated rights.
That's what is bothering me. I create simple test file in initialization procedure. And this file is created when I'm running /instal AND /uninstall on computer with development tools. BUT, file is NOT created when service starts to run.
Please show your actual code. For instance, what path are you trying to write it to exactly, and does your project have write access to that folder during both installation and running? What user account, if any, is your service configured to run as? Or does it run as the local SYSTEM account?
mlaski wrote:On second computer, where service doesn't create file is also created when I run /install.
You said earlier that you can't even install the service on the other computer. That implies that either your service has a dependency that is missing on that computer, or the service is trying to do something it doesn't have rights to do on that computer.
mlaski wrote:Can't find solution.
Neither can anyone else here, because we can't see what your project is actually doing.
mlaski wrote:Will try to upload source code, but it's basicly the clean new service project.
There has to be something more to it than just that, or you wouldn't be having troubles with it.