PDA

View Full Version : how modify the finish dialog



lmodern1878
01-17-2016, 10:07 PM
I have created a setup that drops a few files, sets a few registry keys and now the fun...

how to prompt the user on the finish dialog to give a restart or restart later?

linder
01-18-2016, 02:17 AM
Hello,

1. Create a new runtime variable, e.g. %FINISH_TASK% and set the value to, say, 00000

2. In the Finish Dialog properties, enter your "Restart Now?" text in the "Checkbox Text" entry field

3. In the Finish Dialog properties, Advanced Tab, select the above created %FINISH_TASK% runtime variable in the "Store Selection Results in Variable" combo

4. After the last Loop Wizard, add your reboot logic:

If %FINISH_TASK% Equals "1" on Position "1" Then
! reboot logic goes here
End

That's it ;)

Friedrich