km5gn
Posts: 1
Joined: Mon May 01, 2006 6:58 pm

Uninstall isn't removing my service.

I am evaluating Adv.Installer 3.9. I've created an installation that consists of a service and an app that monitors the service. The install works fine.

However uninstalling the app does not remove the service.

What do I need to do so that the service is removed during the uninstall?

Steve
rustyshelf
Posts: 6
Joined: Thu Mar 30, 2006 1:55 am

Have you set up a control action to delete your service? You can do this by going to the 'services' page, then right-click on the 'Services to Install' folder and choose 'New Control Operation.

There is a graphical explanation here
http://www.advancedinstaller.com/user-g ... ne-service

Under the heading 'Setup Control Actions'. It's for a JAVA service, but you can ignore those bits.

Russell
sing
Posts: 3
Joined: Mon May 01, 2006 12:22 am

Many services are written with command line options to install or un-install themselves. In the custom actions section under Install, you could simply call your service *.exe with the appropriate command line options to install and start it. Under the Uninstall section, you could again call your service with the appropriate command line options to stop and uninstall itself.

Return to “Common Problems”