Windows Service Installation

D

dK

Hey Folks,

ive try to write an Windows Service. I have simply use the vs.net
Assistent. After i add an Installer. In the Source is the Username/Password
null. As the result of that they ask for the Userdata at the installation
Process. I hope that is right.

At the Installation process with the InstallUtil they ask for the Userdata.
I tryed all Windows Users but it never worked. It makes always an Installation
Rollback.

have you any idea

Sorry, about my bad english ;)

bye bye
 
J

Jonathan Ruckert

I have tried this before without any problems. What exception is it throwing
to rollback? Are you sure that it is a security exception?

Cheers,
Jonathan Ruckert
-- http://www.novaworks.com.au

Hey Folks,

ive try to write an Windows Service. I have simply use the vs.net
Assistent. After i add an Installer. In the Source is the Username/Password
null. As the result of that they ask for the Userdata at the installation
Process. I hope that is right.

At the Installation process with the InstallUtil they ask for the Userdata.
I tryed all Windows Users but it never worked. It makes always an
Installation
Rollback.

have you any idea

Sorry, about my bad english ;)

bye bye
 
G

Guest

I am also having such a problem. To specify

System.ComponentModel.Win32Exception: No mapping between account names and security IDs was done.

This occurs while running installUtil and the install transaction is rolled back. I specifically created an account for this example code; using other accounts (including admin) yield the same error. So far I have had no luck trying to define 'security ID' in this specific context. What/where is this mapping

Thanks.
 
D

dK

Thanks i have dissolved the problem.

But my next Problem ;) is that (i have a timer)
will not fired the Elapsed Event...
I create then, set the AutoReset and Enabled Properties and Start
the Timer.

Have you any Idea why ?


cheers Dennis

Hey Folks,

ive try to write an Windows Service. I have simply use the vs.net
Assistent. After i add an Installer. In the Source is the Username/Password
null. As the result of that they ask for the Userdata at the installation
Process. I hope that is right.

At the Installation process with the InstallUtil they ask for the Userdata.
I tryed all Windows Users but it never worked. It makes always an Installation
Rollback.

have you any idea

Sorry, about my bad english ;)

bye bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top