473,546 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Service Registration

I created Windows Service in VB 2005.
Using InstallUtil.exe I register it on any machine with Windows XP, Windows
2003 Server without any problem. I even never had to learn that process.
After registration I see a couple of new files in the folder where I have My
Service EXE file (MSFaxListener. exe).
Their names are MSFaxListener.I nstallLog and MSFaxListener.I nstallState. In
the list of Services I see MSFaxListener service.

I tried to install my service on the machine with Vista Business. DOS window
appears for a portion of second. New files do not appear in MyServices
folder and there is no MSFaxListener service in the list of registered
services.
I checked permissions on MyServices Folder. Everything looks OK.

What am I missing? How do I register Windows Service on Vista machine?

Vovan
Feb 12 '07 #1
4 3388
I was able to register the service by using cmd (run as Administrator). But
due to the number of typed characters (cannot use copy/paste in DOS) and
inconvenience I'm still looking for a simpler way to register my service.
Thank you

Vovan

"vovan" <so*****@vovan. comwrote in message
news:OQ******** ******@TK2MSFTN GP05.phx.gbl...
>I created Windows Service in VB 2005.
Using InstallUtil.exe I register it on any machine with Windows XP,
Windows 2003 Server without any problem. I even never had to learn that
process. After registration I see a couple of new files in the folder
where I have My Service EXE file (MSFaxListener. exe).
Their names are MSFaxListener.I nstallLog and MSFaxListener.I nstallState.
In the list of Services I see MSFaxListener service.

I tried to install my service on the machine with Vista Business. DOS
window appears for a portion of second. New files do not appear in
MyServices folder and there is no MSFaxListener service in the list of
registered services.
I checked permissions on MyServices Folder. Everything looks OK.

What am I missing? How do I register Windows Service on Vista machine?

Vovan


Feb 12 '07 #2
On Feb 12, 11:49 am, "vovan" <some...@vovan. comwrote:
I was able to register the service by using cmd (run as Administrator). But
due to the number of typed characters (cannot use copy/paste in DOS) and
inconvenience I'm still looking for a simpler way to register my service.
Thank you

Vovan
\
Have you tried using a setup project and Installer object with the
service to get it installed on Vista? I use that for all my setups
rather than using installutil.exe manually but I have not tested any
of them on Vista.

Feb 12 '07 #3
I spent on this project just several hours awhile ago. I followed the steps
from MS help. My project contains 2 modules - one is my service and another
one is Installer. After I compiled it I copied EXE into the target machine
and used InstallUtil.exe (as MS suggested).
I do not know how to use it with setup project.
Could you please give me some more information
Thank you

Vovan

"jayeldee" <ja******@gmail .comwrote in message
news:11******** *************@a 75g2000cwd.goog legroups.com...
On Feb 12, 11:49 am, "vovan" <some...@vovan. comwrote:
>I was able to register the service by using cmd (run as Administrator).
But
due to the number of typed characters (cannot use copy/paste in DOS) and
inconvenienc e I'm still looking for a simpler way to register my service.
Thank you

Vovan
\
Have you tried using a setup project and Installer object with the
service to get it installed on Vista? I use that for all my setups
rather than using installutil.exe manually but I have not tested any
of them on Vista.

Feb 12 '07 #4
Well this is the entry for that topic:

http://msdn2.microsoft.com/en-us/lib...yf(VS.80).aspx

where it talks about installer classes, custom actions etc. However if you
just launch the MSI file, the Installer classes can't install Services
because the custom action code ends up running as a limited user. You will
need to generate and use the setup.exe launcher because that elevates when
it starts and consequently the MSI setup runs elevated.
--
Phil Wilson
[Microsoft MVP Windows Installer]

"vovan" <so*****@vovan. comwrote in message
news:er******** ******@TK2MSFTN GP03.phx.gbl...
>I spent on this project just several hours awhile ago. I followed the steps
from MS help. My project contains 2 modules - one is my service and another
one is Installer. After I compiled it I copied EXE into the target machine
and used InstallUtil.exe (as MS suggested).
I do not know how to use it with setup project.
Could you please give me some more information
Thank you

Vovan

"jayeldee" <ja******@gmail .comwrote in message
news:11******** *************@a 75g2000cwd.goog legroups.com...
>On Feb 12, 11:49 am, "vovan" <some...@vovan. comwrote:
>>I was able to register the service by using cmd (run as Administrator).
But
due to the number of typed characters (cannot use copy/paste in DOS) and
inconvenien ce I'm still looking for a simpler way to register my
service.
Thank you

Vovan
\
Have you tried using a setup project and Installer object with the
service to get it installed on Vista? I use that for all my setups
rather than using installutil.exe manually but I have not tested any
of them on Vista.


Feb 12 '07 #5

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

Similar topics

0
1328
by: matt | last post by:
Since I'm on the topic of pyzeroconf today, I might as well keep posting ;) So on to another platform... windows. Has anyone used pyzeroconf on Windows recently? It doesn't appear to work (and it isn't the 127.0.0.1 thing either). Running python Zeroconf.py gives the following: Multicast DNS Service Discovery for Python, version 0.12 1....
7
34373
by: scarred wind | last post by:
when i run my program, an error message prompt me that i should add the installutil.exe. How do i checked for the installutil.exe? How can i add it to my Timer program? ---------------------------------------------- when you fear to fail, you fear something that has not yet happened. *** Sent via Developersdex...
3
56939
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I want to test this service on a Windows Server 2003 box that doesn't have the Visual Studio Command prompt. How do I go about installing the...
6
1901
by: dotNeter | last post by:
The services, talked here, are things used in IServiceContainer, IServiceProvider, etc. In my opinion, everything can be a service, and a service is generally used for providing specific features for service consumers, at design time. But, I think the cnsumers must completely know all aspects of that service. This sounds not good, and breaks...
4
8671
by: Mark Rae | last post by:
Hi, I have created a Windows service and have followed Microsoft' instructions here: http://support.microsoft.com/kb/816169 in order to create a setup project for it so it can be installed on a server. When I click on the setup.exe file, it appears to go through the installation wizard correctly, and generates no warnings or errors. At...
5
2382
by: =?Utf-8?B?Y2FzaGRlc2ttYWM=?= | last post by:
Hi, is it possible to start a windows application from within a windows service? I was thinking of having a windows service on a set of clients poll a central machine for messages. If one arrives for a certain client I would start up a windows application to notify the user. Is this possible?
1
15193
by: eblackmo | last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they can no longer connect to the domain controller. Ping resolves the domain controllers name to the correct ip nslookup finds the ip but can not resolve...
2
2115
by: =?Utf-8?B?UGV0ZQ==?= | last post by:
I have a .Net application (VB, VS 2005, FX 2) running in more than one country. As part of the product registration process, some information on the computer is collected and sent to a web service; this includes the operating system which is obtained using the My.Computer.Info.OSFullName function. For some machines we get "Microsoft Windows XP...
0
7504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7461
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...
0
7792
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...
0
6026
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5360
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...
0
5080
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...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
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

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.