Service Installer Credentials Dialog

by James on 11/1/2007 3:40:00 AM I've created an installer for a windows service. When you install the
service, the user is prompted for Windows Service credentials. If the
username and/or password don't match (ie mispelling), the installer
does a rollback. How do you prevent this from happening? Instead, I
want the installer to allow the user to put in the correct information
or cancel if they want to back out.

Thanks for any help.

 

Re: Service Installer Credentials Dialog

by Ignacio Machin ( .NET/ C# MVP ) on 11/1/2007 10:34:00 AM Hi,

What if the user do not put the correct info? The rollback is a Cancel after
all

have you consider using a ssytem account instead?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"James" <jhogansjr@yahoo.com> wrote in message
news:1193938828.393128.104240@y42g2000hsy.googlegroups.com...
> I've created an installer for a windows service. When you install the
> service, the user is prompted for Windows Service credentials. If the
> username and/or password don't match (ie mispelling), the installer
> does a rollback. How do you prevent this from happening? Instead, I
> want the installer to allow the user to put in the correct information
> or cancel if they want to back out.
>
> Thanks for any help.
>