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 1:23 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] InstallValidate Action check Windows Service or not? 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 demo, If I create a native Windows Service by using ATL, and a MSI by Wix to install it, start the service. Then during Uninstall, even the service is still running, I can see the process in Task Manager as well, Windows Installer just uninstall successfully. The service was stopped and removed, files got deleted. InstallValidate does not pop up Files In Use or Restart Manager during Uninstall. Does it mean, InstallValidate treat Windows Service and Windows Application differently? I'm testing on Win7 Pro, with UAC off. Thanks, William L. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users