[wix-users] Problem Updating
Nir Bar
nir.bar at panel-sw.com
Tue Mar 6 00:11:42 PST 2018
Component condition just says whether or not the component is to be installed.
So setting it to 'NOT REMOVE="ALL"' will always evaluate to true since during install REMOVE is definitely not "ALL".
Setting ServiceControl Start="both" is odd since it means you want to start the service during uninstall. This is required only when you're stopping services that are not part of your MSI (such as IIS).
I think you only need to change Start="install" and remove the condition altogether.
--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework
More information about the wix-users
mailing list