473,811 Members | 3,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to install service in Vista

I have made a Windows Service and I have read that you should use
installutil.exe to register the service. However, no service appears in the
Control Panel Administrative Tools Services when I run installutil. How
can I install my service?

I get one message when using installutil that I don't know if it is an error
message or not:

"No public installers with the RunInstallerAtt ribute.Yes attribute could be
found in the C:\... assembly.
Remove InstallState file because there are no installers."

What does that mean?
May 7 '07 #1
3 16902
I have made a Windows Service and I have read that you should use
installutil.exe to register the service. However, no service appears
in the Control Panel Administrative Tools Services when I run
installutil. How can I install my service?

I get one message when using installutil that I don't know if it is an
error message or not:

"No public installers with the RunInstallerAtt ribute.Yes attribute
could be
found in the C:\... assembly.
Remove InstallState file because there are no installers."
What does that mean?
It means that it could find code that should do the installing.
See also here (might wrap):
http://msdn2.microsoft.com/en-us/lib...er(VS.80).aspx

Hans Kesting
May 7 '07 #2
Hello Joachim,

Check that u use installutil.exe from the latest installed FW folder "WINDOWS\Micros oft.NET\Framewo rk\v2.0.50727\"
and not the 1.1
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

JI have made a Windows Service and I have read that you should use
Jinstallutil.ex e to register the service. However, no service appears
Jin the Control Panel Administrative Tools Services when I run
Jinstallutil. How can I install my service?
J>
JI get one message when using installutil that I don't know if it is
Jan error message or not:
J>
J"No public installers with the RunInstallerAtt ribute.Yes attribute
Jcould be
Jfound in the C:\... assembly.
JRemove InstallState file because there are no installers."
JWhat does that mean?
J>
May 7 '07 #3
You need to have an Installer class in your service in order for Installutil
to be able to "install it". Look at a sample service for the code you need.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Joachim" wrote:
I have made a Windows Service and I have read that you should use
installutil.exe to register the service. However, no service appears in the
Control Panel Administrative Tools Services when I run installutil. How
can I install my service?

I get one message when using installutil that I don't know if it is an error
message or not:

"No public installers with the RunInstallerAtt ribute.Yes attribute could be
found in the C:\... assembly.
Remove InstallState file because there are no installers."

What does that mean?
May 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2682
by: Rob R. Ainscough | last post by:
I have a VS 2005 Windows Service with a Installer project as part of my solution. The Service installs fine but I can't seem to make either of these work: 1. Have the service start after install 2. Have the service interact with the SysTray In my ProjectInstaller.vb Private Sub ServiceInstaller1_AfterInstall(ByVal sender As
5
7716
by: Ajith Menon | last post by:
I have to install .NET framework 3.0. I already have .NET Framework 1.1 installed on my machine. I don't want to remove framework 1.1 since some of the critical applications are using it. While installing .NET framework 3.0 I got the error: "Microsoft .NET Framework 3.0 x86 has encountered a problem during setup. Setup did not complete correctly." Error Signature:
9
1441
by: Anthony Jones | last post by:
Help! Want to install vs 2005 on vista. Have sp1 and the vista update for vs. I plan to install vs, then s1 then the vista update. Will this work? Is there anything else I should be aware of? Thanks in advance. AJJ...
0
5986
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work on an old project that happens to run on IIS6/W2000/MSSQL7, but my W2000 machine couldn't handle the size of the database in question anymore. :-( My new Vista machine is 5 years younger and is a lot faster, so I started to figure out how to use...
0
1930
by: Office97User | last post by:
In reply to the thread at http://www.thescripts.com/forum/thread622173.html . I have a slightly modified version of the steps involved that worked on my computer. 1. Install Office 97, but exclude Outlook. Outlook will cause a problem with install. It will show up in the SR-2B install log. This is located in: c:\program files\Microsoft Office\Office\Setup . The log will show "Unable to move C:\Windows\system32\mapi32.dll". 2. Run the...
3
7007
by: litusahoo | last post by:
Hi i need to install oracle 9i on windows vista ultimate service pack1 .but everytime i try to install it it shows some error and stops , Please let me know how can i install oracle9i in windows vista ultimate service pack1. With Regards litu
6
5752
by: globalrev | last post by:
type "python setup.py install" that is used in most "addons" for python. well using windows vista, where the h*** am i supposed to type this? if it is not doable in windows, what do i have to do instead? just clicking the setup.py-file never works.
4
420
by: RajkiranPro | last post by:
i created a windows service and created a installer for it.. i just want to add a feature to it.. please guide me in doin that.. the serviceprocessinstaller allows me to specify the account type as the Local System account.. However i want enable the option Allow Service To Interact With The desktop while the installer installs insted of manually enabling the option...
2
2399
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I have a brand new Dell computer right out of the box. It was purchased with Windows Vista Basic. I have also separately purchased Windows Vista Ultimate and I want to install it on this new computer. What is the best approach to accomplish this task? Should I start up the new Dell computer and have it go through its Windows Vista Basic setup then upgrade to Vista Ultimate? Or should I start by inserting the Windows Vista Ultimate...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10405
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.