Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-12-2007, 09:30 AM
vovan
Newsgroup Contributor
 
Posts: n/a
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.InstallLog and MSFaxListener.InstallState. 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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-12-2007, 09:30 AM
  #2 (permalink)  
Old 02-12-2007, 10:01 AM
vovan
Newsgroup Contributor
 
Posts: n/a
Re: Windows Service Registration

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" <someone@vovan.com> wrote in message
news:OQF90jsTHHA.1552@TK2MSFTNGP05.phx.gbl...[color=blue]
>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.InstallLog and MSFaxListener.InstallState.
> 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
>
>[/color]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 02-12-2007, 12:33 PM
jayeldee
Newsgroup Contributor
 
Posts: n/a
Re: Windows Service Registration

On Feb 12, 11:49 am, "vovan" <some...@vovan.com> wrote:[color=blue]
> 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
>[/color]
\
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 02-12-2007, 01:33 PM
vovan
Newsgroup Contributor
 
Posts: n/a
Re: Windows Service Registration

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" <jayeldee******.com> wrote in message
news:1171311968.679827.35300@a75g2000cwd.googlegroups.com...[color=blue]
> On Feb 12, 11:49 am, "vovan" <some...@vovan.com> wrote:[color=green]
>> 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
>>[/color]
> \
> 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.
>[/color]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 02-12-2007, 03:47 PM
Phil Wilson
Newsgroup Contributor
 
Posts: n/a
Re: Windows Service Registration

Well this is the entry for that topic:

[url]http://msdn2.microsoft.com/en-us/library/ddhy0byf(VS.80).aspx[/url]

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" <someone@vovan.com> wrote in message
news:erO2yyuTHHA.5068@TK2MSFTNGP03.phx.gbl...[color=blue]
>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" <jayeldee******.com> wrote in message
> news:1171311968.679827.35300@a75g2000cwd.googlegroups.com...[color=green]
>> On Feb 12, 11:49 am, "vovan" <some...@vovan.com> wrote:[color=darkred]
>>> 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
>>>[/color]
>> \
>> 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.
>>[/color]
>
>[/color]


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista Registration Web Page Dude McDude Windows Vista 5 01-05-2008 05:00 AM
Copy&Paste Windows Registration Key Frank Windows XP 3 11-26-2007 03:20 AM
windows vista registration ericiko Windows Vista 2 05-08-2007 12:00 PM
Issues with Volume Shadow Copy Service: How do I "reset" registry/com dll registration? icnocop Windows XP 4 01-04-2007 07:13 AM
Windows Registration Requires a Modem?? ajhoop@gmail.com Windows XP 8 01-04-2007 06:37 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 05:18 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0