| 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] |