I'm using ISDev7.02. I have to run an executable file on uninstallation before the files will be removed. This custom action is under the Merge module that the executable file to be run is included. How will i do this??? Any idea???
I have tried to make a custom action (launch an executable/store in directory table type)
Source: INSTALLDIR
Target: -unregserver
(Immediate action/always execute)
I inserted it after CostFinalize of my main installer with the condition REMOVE And VersionNT. But it runs after the files are uninstalled. I tried to insert it between remove or unregister actions but i still got the same result.

Do you have any other way to do this. Please let me know if you have any idea. I really need to do this as soon as possible. I would be very grateful for any help.
Thanks in advace.
Dyerald