Hi, I have an installer which can install two components. These two components have individually windows services. During uninstallation, I need selection option of component to uninstall. If user select component 1 for Uninstaller the particular services of that component will be uninstalled with component and if the user select all component all services with their component will be uninstalled. right now i add this <setinstallervariable> <name>project.allowAddRemoveComponents</name> <value>1</value> </setinstallervariable>
For this particular component is uninstalled but service is not uninstalled. Please help me to out it.
asked 09 Dec '15, 09:24
You will have to call to the <deletewindowsservice> action in the pre/postUninstallationActionList to delete the service.
answered 10 Dec '15, 13:19
Thanks jesus for your reply,
I have tried this but it'snot working for me.
I added this in <preuninstallationactionlist>
its also not working
answered 11 Dec '15, 04:23