Alternatively, advanced users sometimes create .inf files to launch .exe files. This is not a conversion, but a method of script creation. For example, if a user wishes to run a specific executable during the Windows installation process, they might write an .inf file that points to the .exe file and instructs the system to run it. In this case, the two files work in tandem, but the .exe remains an executable and the .inf remains a text script.
Follow the prompts to finish. While this outputs an EXE, it creates the internal INF-like logic needed for standardized Windows installation routines. Important Considerations how to convert exe to inf file