Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st April 2005, 10:54   #1
romko
Junior Member
 
Join Date: Mar 2005
Location: Moscow, Russia
Posts: 18
Send a message via ICQ to romko
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.
romko is offline   Reply With Quote
Old 21st April 2005, 11:33   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
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

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 21st April 2005, 12:21   #3
romko
Junior Member
 
Join Date: Mar 2005
Location: Moscow, Russia
Posts: 18
Send a message via ICQ to romko
Quote:
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
romko is offline   Reply With Quote
Old 21st April 2005, 12:34   #4
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
Field 4 - Reboot Now
Field 5 - Reboot Later
Change "State" attrib of Field 4 from 1 to 0, and vice versa for Field 5.
glory_man is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump