Adds the option to generate a registry file.