Archive: Change reboot radio button FinishPage


Change reboot radio button FinishPage
Hi All,

Software installation doesn't need reboot. User can install and work without reboot but some functionality limitations.
Question:

1. How to show reboot radio button on finish page if SetRebootFlag false?
2. How to change radio button from Reboot now to Rebbot after? By Default set Reboot now.


You should use !insertmacro MUI_INSTALLOPTIONS_WRITE to modify ioSpecial.ini in the Finish page's PRE function.
You can modify the text by writing to the Text attribute. To hide the check-box, you'd probably have to delete the whole INI file Field section with DeleteINISec "$PLUGINSDIR\ioSpecial.ini" "Field #"

-Stu


Originally posted by Afrow UK
You should use !insertmacro MUI_INSTALLOPTIONS_WRITE to modify ioSpecial.ini in the Finish page's PRE function.
You can modify the text by writing to the Text attribute. To hide the check-box, you'd probably have to delete the whole INI file Field section with DeleteINISec "$PLUGINSDIR\ioSpecial.ini" "Field #"

-Stu
Don't hide radio reboot button. I need change selected radio button from Reboot now to Rebott later

Field 4 - Reboot Now
Field 5 - Reboot Later
Change "State" attrib of Field 4 from 1 to 0, and vice versa for Field 5.