How do I cook the installer.msi or .exe for windows?

Well i compiled engine from source and i didn’t need to add anything to registry to run editor (ofcorse i need it to do that for compiling), so the same should be with game