Community Forums
Results 1 to 2 of 2

Thread: Multiple Services using SRVANY.EXE

  1. #1
    Join Date
    May 2007
    Location
    Eden Praire, MN
    Posts
    780

    Multiple Services using SRVANY.EXE

    I have been tasked with making an installer for a system that has multiple services using SRVANY.EXE.
    I have it installing the services properly; but to do so I had to make SRVANY.EXE the Component for each service. I can name them appropriately. The problem is that because they all use the SRVANY.EXE Component I can't individually select/deselect services in the Feature Selection Tree.

    If I make separate components for them I am able to individually select/deselect services... but then I am not able to install the service!

    I am using something like the following command in an event to install the service.
    INETSRV.EXE "My Service Name" SRVANY.exe

    Does anyone have experience with this?

    Correction; I can Select/Deselect the services in the FST, but all the services get installed, regardless of the selection.
    Thanks for your ideas.
    Last edited by rguggisberg; 07-30-2018 at 09:20 AM. Reason: Correction

  2. #2
    Join Date
    May 2007
    Location
    Eden Praire, MN
    Posts
    780

    Resolved

    Got this working. The problem was that it created the service properly but would not delete the service if I tried to uninstall more than one service. It worked fine with one, but the log showed that it did not even attempt to uninstall services if there were more than one. So I handled the modification/uninstall aspect of it in a Custom Action.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •