How does a .exe file read instructions from a file

Hi Team,

  1. I have an installer xyz.exe

  2. While installing the products through the UI of the installer, I have chosen the option to make a script, an added feature provided with the installer itself.

  3. The products are installed successfully.

  4. The products are now uninstalled & I would like to use the same script to install the products. But this time I want to do it via command prompt or powershell.

  5. The script is in a file in my Desktop.

  6. How do I pass the script file to the xyz.exe in the command prompt so that the products are installed.

Hello avik.day
you can try
install the package with running the exe as script
./xyz.exe
then the prompt will ask you if you want to include an additional script then add the path for this script.

Thanks,
KodeKloud Support