VS 2008 Project Wizzard - Windows Service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QWRyaWFuTW9ycmlz?=

    VS 2008 Project Wizzard - Windows Service

    Hi,

    I am trying to create a Windows Service for Vista/Server 2003/XP machines.

    I used the Wizard in VS 2008 to create the basic service. I am using Visual
    C++ and used the "Windows Service" template (Under CLR). It states that you
    install the compiled service by typing:

    MyService.exe -Install

    My blank service compiles perfectly. At a command prompt I attempt to
    install it using the above command. The response to this is:

    No public installers with the RunInstallerAtt ribute.Yes attribute could be
    found in the ........MyServi ce.exe assembly.

    I am at the first step of just compiling and running the MS generated
    code....Where am I going wrong?

    Kind Regards....Adri an

  • Mark Salsbery [MVP]

    #2
    Re: VS 2008 Project Wizzard - Windows Service


    "AdrianMorr is" <AdrianMorris@d iscussions.micr osoft.comwrote in message
    news:52AD64E6-0F8D-43D3-B44C-41CD9B5B1184@mi crosoft.com...
    Hi,
    >
    I am trying to create a Windows Service for Vista/Server 2003/XP machines.
    >
    I used the Wizard in VS 2008 to create the basic service. I am using
    Visual
    C++ and used the "Windows Service" template (Under CLR). It states that
    you
    install the compiled service by typing:
    >
    MyService.exe -Install
    >
    My blank service compiles perfectly. At a command prompt I attempt to
    install it using the above command. The response to this is:
    >
    No public installers with the RunInstallerAtt ribute.Yes attribute could be
    found in the ........MyServi ce.exe assembly.
    >
    I am at the first step of just compiling and running the MS generated
    code....Where am I going wrong?


    How to: Add Installers to Your Service Application


    Mark

    --
    Mark Salsbery
    Microsoft MVP - Visual C++

    >
    Kind Regards....Adri an
    >

    Comment

    • =?Utf-8?B?QWRyaWFuTW9ycmlz?=

      #3
      Re: VS 2008 Project Wizzard - Windows Service

      WOW!!!

      Many thanks!

      I have been searching for some documention like this for the last week!

      Have implemented, and all is working Perfectly.

      Many thanks for your prompt response - Have a great weekend

      Regards.......A drian


      "Mark Salsbery [MVP]" wrote:
      >
      "AdrianMorr is" <AdrianMorris@d iscussions.micr osoft.comwrote in message
      news:52AD64E6-0F8D-43D3-B44C-41CD9B5B1184@mi crosoft.com...
      Hi,

      I am trying to create a Windows Service for Vista/Server 2003/XP machines.

      I used the Wizard in VS 2008 to create the basic service. I am using
      Visual
      C++ and used the "Windows Service" template (Under CLR). It states that
      you
      install the compiled service by typing:

      MyService.exe -Install

      My blank service compiles perfectly. At a command prompt I attempt to
      install it using the above command. The response to this is:

      No public installers with the RunInstallerAtt ribute.Yes attribute could be
      found in the ........MyServi ce.exe assembly.

      I am at the first step of just compiling and running the MS generated
      code....Where am I going wrong?
      >
      >
      >
      How to: Add Installers to Your Service Application

      >
      Mark
      >
      --
      Mark Salsbery
      Microsoft MVP - Visual C++
      >
      >

      Kind Regards....Adri an
      >

      Comment

      • Mark Salsbery [MVP]

        #4
        Re: VS 2008 Project Wizzard - Windows Service


        "AdrianMorr is" <AdrianMorris@d iscussions.micr osoft.comwrote in message
        news:9CA0C5C1-2831-4A4F-90E2-26B95E21B6B1@mi crosoft.com...
        WOW!!!
        >
        Many thanks!
        >
        I have been searching for some documention like this for the last week!
        >
        Have implemented, and all is working Perfectly.
        >
        Many thanks for your prompt response - Have a great weekend

        Cool! You're welcome and have a great weekend yourself, thanks!

        Mark

        --
        Mark Salsbery
        Microsoft MVP - Visual C++

        >
        Regards.......A drian
        >
        >
        "Mark Salsbery [MVP]" wrote:
        >
        >>
        >"AdrianMorri s" <AdrianMorris@d iscussions.micr osoft.comwrote in message
        >news:52AD64E 6-0F8D-43D3-B44C-41CD9B5B1184@mi crosoft.com...
        Hi,
        >
        I am trying to create a Windows Service for Vista/Server 2003/XP
        machines.
        >
        I used the Wizard in VS 2008 to create the basic service. I am using
        Visual
        C++ and used the "Windows Service" template (Under CLR). It states that
        you
        install the compiled service by typing:
        >
        MyService.exe -Install
        >
        My blank service compiles perfectly. At a command prompt I attempt to
        install it using the above command. The response to this is:
        >
        No public installers with the RunInstallerAtt ribute.Yes attribute could
        be
        found in the ........MyServi ce.exe assembly.
        >
        I am at the first step of just compiling and running the MS generated
        code....Where am I going wrong?
        >>
        >>
        >>
        >How to: Add Installers to Your Service Application
        >http://msdn.microsoft.com/en-us/libr...yf(VS.80).aspx
        >>
        >Mark
        >>
        >--
        >Mark Salsbery
        >Microsoft MVP - Visual C++
        >>
        >>
        >
        Kind Regards....Adri an
        >
        >>

        Comment

        Working...