Hi,
Here is some info on how to create your custom action: Create a Visual C++ project (dll or exe). You can use FindWindow (read about this function in MSDN) function to detect (by giving hes name) the window handle of your application. Now that you have the window handle you need to post a WM_CLOSE message to this window using PostMessage function.
Hope this helps.
Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging