Page 1 of 1

uninstall not removing/stopping service

Posted: Mon Jan 05, 2015 11:50 am
by gibbie99
I am generating an installer using IA 18, and I can't get services to stop/uninstall. Do I need to add code before/after Install/Remove MSI Package $PRODUCTCODE$

If so, my installer has several branches (component tree) and installs 3 different services depending on what the user selects. How can I figure out what branch the user has selected, so I can figure out the right service to uninstall?

Re: uninstall not removing/stopping service

Posted: Mon Jan 05, 2015 2:13 pm
by FrancescoT
Dear Gibbie99,

I suggest you to use the "Control Service" command to stop the service before to effectively un-install it.

For what concerns the Feature selection, please have a look at the "Features sample (2)" from;
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772

It demonstrates how to use "Load Feature Selections" and "Save Feature Selections" commands, in order to retrieve Feature's selection state with different version of a setup.

Regards