Uninstall Service (IA 2005 Studio)

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

Uninstall Service (IA 2005 Studio)

Postby zchris » Thu Mar 03, 2005 7:27 am

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Mar 03, 2005 5:42 pm

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

Postby zchris » Fri Mar 04, 2005 3:20 am

Works perfectly!

Thanks!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 46 guests