PDA

View Full Version : Howto Show Wizard entries in the Ready to Install summary



ccordes
07-21-2017, 01:57 PM
Hi,
I have an install that requires the user to enter an application folder (the usual install folder) and a data folder where they want to keep the data (%DataDest%)

I set the Datadest from a default, first, then check for the registry entry and set it if that exists and then allow the user to change it if they want. However, if the user changes the location, the Ready to install dialog displays the default value rather than the entered value.

So, Where is the best place or method to use to get the value currently entered during the wizard to show up in that final summary dialog?

Thanks so much for any suggestions.

Chris C

linder
07-25-2017, 04:53 AM
Chris,

I have developed a simple demo project for you:

http://www.lindersoft.com/projects/ccordes.zip

Does this help?

Friedrich

ccordes
07-25-2017, 06:53 AM
Thanks, Friedrich!
After posting here I took a break, stopped flailing and looked at what I was doing. I went back to the docs and realized I was over-thinking the issue.
It really takes very little coding to make the dialog loop wizard work properly.
Your example confirms what I suspected.
I am back to work!

- A note to others: (correct me if I am wrong)
The Loop Wizard loop is an accept loop waiting for events to occur.
The main event of course is the Button click.
Next sets the %_SB_DIALOGID% , Back sets the ID to 0 so it skips any processing.

I don't know why it wasn't obvious from the start.

Thanks again,
Chris C