I want to execute two CustomActions during uninstall, before the IIS is reconfigured and the files are removed. I have checked "Uninstall if same version found".
When I uninstall, and also when I execute installer to reinstall same version, CustomAction is not executed in time.
I have added the CustomActions in TableEditor to the table "InstallExecuteSequence" with the condition "UILevel = 2" and Sequence "1003"/"1004", but I guess I have chosen the wrong table or too late sequence? Which one it is?