Make Inno Setup automatically add data from custom pages to .inf file

Viewed 1844

I created a installer with custom wizard pages. All works fine so far. Next I wanted to create a settings file using /SAVEINF (to start the installer later on in silent mode) using the following command:

Installer.exe /SAVEINF="Unattended.txt"

After entering all user input and running the installer, I looked at the file created. The only user input I see is the installation location but missing all my input on the custom wizard pages. All I see is:

[Setup]
Lang=en
Dir=C:\temp
Group=MyProgram
NoIcons=0
Tasks=

Why? What do I need to do to have the custom wizard page values also in the settings file?


To be more specific.
I start the installer I've created with option to create a settings file using the /SAVEINF option on the commandline. I expected all items to be added to this file including the one from my custom wizard pages, but that's not the case. I only see the installation location from the standard setup page.

Of course I can add them manually and implement in the installer code to read them from the file, but I expected it to be automated.

1 Answers
Related