lmodern1878
01-17-2016, 11: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, 03: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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.