I am trying to write an installer with two pages, a custom page using InstallOptions and the page InstFiles. After installing/updating some stuff, I need it to go back, expecting the user to give another input data. The user can close the program by pressing the Cancel button on the first page.
Unfortunately the Back button on the page InstFiles is disabled. The only working method that I found is Exec "$CMDLINE":
Function .onInstSuccess
Exec '$CMDLINE'
FunctionEnd but this way the program closes and reopens, and has to decompress everything once again. Another solution would be to add some more pages:Page custom ShowCustom
Page InstFiles
Page custom ShowCustom
Page InstFiles
Page custom ShowCustom
Page InstFiles but I don't want to have a limit - as the user may need to update one file or twenty-five.For this goal, the global label ".onceagain:" in ShowCustom, called by .onInstSuccess isn't working.
The best thing would be to enable the "Back" button on the page InstFiles. Do you have any idea how it could be done? I would apreciate any other idea/method that would work.
Thank you very much for your attention.
Petko