Solved: How to create a login script from an executable file (.exe)

Problem Symptom

I would like to make an executable file (.exe) into a login script so that I can deploy it using GPO. I have tried different .exe to .msi converter utilities without success.

Follow the below solution steps to create a login script from an executable file (.exe).

Solution

Run the exe with /? Option/argument. See whether it accepts parameters dealing with installation settings.
Or /a option that could be used to create an answer file.

Another option is to see whether in %userprofile\appdata\local\temp right after you run the executable without any action if it includes a msi it might expand it.

You could then use the msi with the answer/file in the GPO.