I have been searching for this - not sure if it is possible or not.
Q: If I have an installer, is there a way for me to list the tasks that it has defined?
I am not sure if this is specific to inno setup installers or not. But inno setup help has this help section on tasks here and you can often tell the installer to run some specific tasks and skip others.