Unfortunately this feature is not supported by Advanced Installer. I have added this on our TO-DO list and it will be implemented in a future version of Advanced Installer but we don't have an ETA for now as our development team is very busy.
Until then you could implement this scenario using your own custom action. Also, please take a look on this articles :