delete execute_hook in installer.c