updating installer and fixing file open problem