> Hello all I prepared a windows service and tried to install it with a
> small
[quoted text clipped - 19 lines]
>
> Anyone has an Idea on how to solve this bug?
I don't think it's a bug. I think you have a security or permission rights
issue.
It may work on your machine, because possibly, you are Admin on that machine
in which the bat file is running under that account.
On the other hand, the bat file is running under some account that doesn't
have the rights to do what it's doing, and the install is being aborted and
rolledback.
You can for sure test that if you went to a client machine and logged on as
machine/Admin and used InstallUtil to install the service. Or ran that
bat.file with proper rights.
Now, the link below is a different type of application, but I think it shows
that the issue you're having is security and permissions issue, and there is
no bug, per say.
http://support.microsoft.com/kb/890737