Wrox Programmer Forums
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 13th, 2004, 10:38 AM
Registered User
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WinServices Installer

Using the downloaded code as well as my own code written from the example I get an error when I use installutil.exe to try to install the service. After the "Set Service Login" dialog is displayed I enter the user name and password and click OK. I then get an error in the command window "An exception occurred during the Install phase. System.InvalidOperationException: User has canceled installation of services in
executable c:\dev\wrox downloaded code\pro c# 2\winservices\quoteservice\obj\debug\quoteservice. exe." The username can be used as the login for other services accessed through the services MMC.

Does anyone have any suggestions? Thanks in advance.

Old June 15th, 2004, 10:20 PM
Registered User
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


I have some problems with this example also. Plz check my topic "Issues about PerformanceCount er(Chapter 22)".
Referring ur issue, try one of two ways:
1) using [MachineName]\[ur login name] if ur count is the administrator, and run this installation on local machine;
2) set ServiceProcessInstaller.Account as LocalSystem;
I hope one of them can work, but u may still occur the problem which I mentioned in my topic. Good luck!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Installer Kedinik C# 0 June 7th, 2008 04:47 PM
Run an installer anubisascends Beginning PHP 0 June 24th, 2007 01:35 PM
Multi Installer VTfletch Need help with your homework? 0 December 18th, 2006 02:29 PM
WinServices - Chapter 32 Pro C# 3rd Edition CSharpNewbie BOOK: Professional C#, 2nd and 3rd Editions 2 March 3rd, 2005 05:15 PM
Installer Question mruthven Pro VB.NET 2002/2003 0 September 17th, 2003 12:28 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.