If an application consists of services, generally they'll get captured and we have to confirm them whether they get captured or, right?

and if they are not captured where I have to add them?

Answer Summary:
See the below answers
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

You can add them in your ServiceInstall and ServiceControl tables.

Depending on the tool you are using for packaging you can also do this through GUI of that tool.

Answered 07/10/2012 by: piyushnasa
Red Belt

  • piyushnasa, generally they'll get captured or they won't?

    I'm using admin studio
  • Most of the time services are captured in registries. It is a good practice to add services via the ServiceInstall table. Also by Service Control Table u can have better control (disabling/stopping/uninstalling service) during installation/uninstall of the application :)
  • Which tool are you using. If you are using WISE, you will see them in the services table directly as tey are genrally captured.
    If you are using Admin Studio then you need to tick an option in Advanced tab of .irp file that Map NT services to services table. Else they will be in registry table.
Please log in to comment
1

If the services is having valid ImagePath then it will be captured in ServiceInstall table otherwise it will be captured in Registry table..

Answered 07/10/2012 by: jagadeish
Red Belt

  • What if they get captured in registry table and we have to do if they get captured in registry table?
  • If they get captured in registry table with ImagePath and the ImagePath is pointing to .exe,.vxd,.386 then you have to move it to ServiceInstall table and remove them from registry table otherwise you can leave it in registry table..
Please log in to comment
Answer this question or Comment on this question for clarity