David Watson wrote:

> Are you still using your CA to uninstall the service as well?
>   

No, the CA has been commented. I used the ServiceControl element only.

> Try making a log to see what order everything is happening in and what files
> are locking it.
>   

There is no point to see the log because I know which file is locked. 
It's tvnserver.exe because it still running as service.


Dirk Räder wrote:
> Hi Yuri,
>
> I did not necessarily mean MSI means. You could also ask the user to
> stop the service, but I suppose that this is not the way of choice for
> a userfriendly (un)installer.
>   

Our software lets  users to control a desktop remotely. And I want to 
give the users a chance to reinstall product  remotely (on their own 
risk). Thats why I can't ask a user to stop the service before.

> You could use a CA to stop the service by executing "sc.exe stop
> tvnserver" and schedule it before InstallValidate.
>   

Unfortunately, I can't use the CA to stop service before InstallValidate 
because the CA must have elevated privileges. Even if I stop the service 
before InstallValidate, I'm not sure that a new version of service will 
be run because a MSI dialog can stop the installation and there is no 
way to connect to this machine.

Thank you!



P.S. Is there any body who was solved the same problem?

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

Reply via email to