Just a nit here, that it would be nice to indicate the the host has to have 'pe_installer' set for this function to work correctly.