Deploying a Service in Windows 2K

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I am learning how to write services in C#. I wrote at and made the
deployment package but when I try to install by running the .msi file that I
created it begins the setup just fine but then it asks me for a user name and
password (which I am assuming a Service needs to use when it starts). I give
the administrator name and password but then it says that it si invalid. I
have checked it many times but it still does the same thing. I have also
confirmed that the user is also an administrator but it still says I entered
an invalid username and password and won't continue with the installation.
Can anyone help me please? Thank you!
 
If you want the Service to run under the local system account, set the
ServiceProcessInstaller Account property to a ServiceAccount value that's
not User (which is probably why it's prompting you). Entering a valid user
account there should work fine, you might have a domain issue, and if so,
using <machine name>\Administrator and the valid password might work.
 
Thanks Phil. I love you. J/K
-----Original Message-----
If you want the Service to run under the local system account, set the
ServiceProcessInstaller Account property to a ServiceAccount value that's
not User (which is probably why it's prompting you). Entering a valid user
account there should work fine, you might have a domain issue, and if so,
using <machine name>\Administrator and the valid password might work.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

news:F33194BD-481A-43AB-85D5-
(e-mail address removed)...
Hi. I am learning how to write services in C#. I wrote at and made the
deployment package but when I try to install by running the .msi file that
I
created it begins the setup just fine but then it asks me for a user name
and
password (which I am assuming a Service needs to use when it starts). I
give
the administrator name and password but then it says that it si invalid. I
have checked it many times but it still does the same thing. I have also
confirmed that the user is also an administrator but it still says I
entered
an invalid username and password and won't continue with the installation.
Can anyone help me please? Thank you!


.
 
Back
Top