Thank You, Dirk! > Yuri, > > I'd recommend using MSI-internal functions to uninstall and uninstall > services instead of Custom Actions. See > http://wix.sourceforge.net/manual-wix3/wix_xsd_serviceinstall.htm for > installation and > http://wix.sourceforge.net/manual-wix3/wix_xsd_servicecontrol.htm for > removal. > I've tried to use the ServiceControl element
<Component Id='ServerExe' Guid='A_GUID'> <ServiceControl Id="ServiceRemover" Name="tvnserver" Remove="uninstall" Stop="uninstall" Wait="yes" /> <!-- tvnserver.exe --> <File Id='tvnserverEXE' Name='tvnserver.exe' DiskId='1' Source='$(var.BinFolder)\tvnserver.exe' KeyPath='yes'> and nothing has changed. The message appears again and the service removes too. > To avoid the message, simply stop the service before MSI runs its > validation routines. > I didn't understand completely how I can stop the service before MSI runs its validation routines. Did you mean MSI means? Without privilege elevation? Thank you! -- Best Regards, Yuri Sevastyanov, TightVNC Team ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users