Uninstall Service (IA 2005 Studio)

Got a problem you cannot solve? Try here.
Post Reply
zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Uninstall Service (IA 2005 Studio)

Post by zchris »

When I use the Install Service command the Service is not automatically removed on an uninstall (the service is not running).

Is this a bug or do I need any additional commands?
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

This is by design in Windows Installer. You need to use the Control Service command and specify the Stop and delete the service on uninstall control setting. This will take care of it for you. Note that its best if you place this command right after your Install Service command. Do not place it before Apply Uninstall - this command should execute in the same block that calls Apply Install, as it will log the action for uninstallation at install time.
zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Post by zchris »

Works perfectly!

Thanks!
Post Reply