Hi I have two related questions:

1) As a precondition I check if some program is installed. Is there a way to
prevent uninstalling of the program later after my program is installed?

2) Let's say a service should be restarted during installation of my
program.
I do it this way:
<Component Id="ServiceControl" Guid="{GUID}" KeyPath="yes">
<ServiceControl Id="Restart" Name="ServiceName" Start="both" Stop="both"/>
</Component>
However if the service is uninstalled before my program is uninstalled, my
uninstall fails. How to prevent starting of the service on uninstall if the
component was installed, but the service doesn't exist anymore?
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to