Home All Groups Group Topic Archive Search About

Windows Service ignores my installation parameters in manual insta

Author
3 Oct 2005 6:42 PM
Tarh ik
Hi Everybody!!!

     I created a Windows Service using VC++.NET, and for some odd reason the
..NET Install util fails to properly identify the Windows User ID and Password
specified in the line command during manual installation.

     In other words, in a command prompt, if I type the following:

C:\MyApp\MyService.Exe -install /username=MyComputer\MyLocalAdminUser
/Password=MyPetsName

     ... the .NET installation continues until I get a windows, asking me to
set the service login by providing (again) the user name and its password. If
I provide a valid windows account (including the same information as already
specified in the command prompt), the service will install successfully.

     The issue here is that I'm creating some installation scripts, and I
don't want the user to be asked for a windows account twice.

     Any help is greatelly appreciated!!!

     Tarh Ik

AddThis Social Bookmark Button