Maybe you could try Unchecky.Don’t know if it is working with Avast installer.
http://unchecky.com/ or http://www.softpedia.com/get/System/OS-Enhancements/Unchecky.shtml
Edit: From changelog: Improved support for Avast installer