[WiX-users] InstallValidate Action check Windows Service or not?

2012-02-18 Thread william lee
Hi, I met a common problem when create an app installer. The app is running 24x7, like a daemon process. When Uninstall the app, the InstallValidate try trigger Files In Use dialog or Restart Manager, because it is still running when Uninstall. This is easy to understand. I just create a simple

Re: [WiX-users] InstallValidate Action check Windows Service or not?

2012-02-18 Thread Rob Mensching
I think the difference is Restart Manager not Windows installer. RM knows how to stop services and processes with a top level visible window (IIRC) so it doesn't complain about those. Your daemon is probably invisible and thus gets the less desirable behavior. From: william lee Sent: 2/18/2012

Re: [WiX-users] InstallValidate Action check Windows Service or not?

2012-02-18 Thread william lee
Hi Rob, You are correct, my daemon process is totally invisible to user. Does this mean, we can assume Windows Service is more friendly to RM when uninstall than a daemon way? If it is true, then we should create all background worker process as Service then. Thanks! William L. On Sun, Feb 19,