Hi,
Q1: Dialog ask to close Lotus Notes only if our appilcation (Java based) is running. Are you sure that it is normal behavior?
If one of the files from your application is in use (by any program) at the time of uninstall then the "FileInUse" dialog will appear asking you to close that application first. This is controlled by Windows Installer and is a normal behaviour.
Q2: How I can check running application (i don't ask about Lotus Notes) and close it before uninstall? An VBScripts?
A custom action can be done, but there is no guaranties that any application can be closed correctly (by sending a WM_CLOSE message to it's main window). For example an application can have a confirmation dialog on the close button.
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com