My installation is being spawned by another application which needs to be updated during the installation. This is a "Catch 22" situation since this application is running in the background while the Installer is trying to overwirte it, so the InstallValidate displays the FilesInUse dialog. The problem with the FilesInUse dialog is that since this application doesn't have a UI the user won't know how to close it; requiring them to press Ctrl+Alt+Del is something too advanced for most of our users. I can instruct them to click ignore but then when the PC finished rebooting the exe's name is meesed up since the name of the applicaiton has 9 characters not 8.
So, the best solution I can think of is that early on in the installtion I will detect the fact that this application is running and I will close it programatically within this CA. The question is how to do it? Does InstallScript have a function for this? Do I need to call a function in the standard Win32 API, and which one(s)?
I am using ISWI 2.03.