This demonstrates how files (whether keyfile or not) can be restored (if missing):
msiexec.exe /fa "C:\MSI\some.msi" /qn /l*v "c:\tmp\repair.log"