Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to unregister a windows service?

How to unregister a windows service?

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpcomtutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aseem Sharma
    wrote on last edited by
    #1

    I have made a .net application which uses a COM component hosted by a C++ service. The service is a simple C++ service developed using ATL (and not using MFC). Everything works fine on my dev machine as most of the work is done by VisualStudio itself. Now I have to make installer of my application (application should be able to get install on XP, VISTA and Windows 7). I am following below steps to register my service: "C:\Program Files\MyApplication\MyService.exe" -service (For registering the service) "C:\Program Files\MyApplication\MyService.exe" -Embedding (For registering the COM component hosted by service) And to unregister my service and COM component hosted by it I am following below step: "C:\Program Files\MyApplication\MyService.exe" -UnregServer Q: Please let me know if steps to register and unregister the service and COM component it hosts, are correct or I am doing something wrong. Or I am missing something. I don't have VISTA and Windows 7 on my machine and have not ever worked on them. So its important to confirm before I release my application. Thanks in Advance Regards Aseem

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups