Resolve the promise before firing install event