Bug Fixes in Installer and Smarty Compiler