ehsansad
27th April 2012 09:51 UTC
How to create a Summary page
Hello,
Does anyone have a good idea on how to create a summary page. I need to show what the user has chosen before the install page. I have tried to use "nsRichEdit" plugin but the problem is that the file must be created before hand.
Any suggestions?
-ehsan
MSG
27th April 2012 10:23 UTC
Simply create a custom page using nsDialogs. There's an excellent tutorial in the nsDialogs readme: http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html
You can use ${If} ${SectionIsSelected} for all sections to make a list of selected components. If you're using the MUI startmenu shortcuts page, it'll be a little bit tricky to check if the user enabled or disabled startmenu shortcuts. Look in NSIS\Contrib\Modern UI 2\Pages\StartMenu.nsh , in the MUI_STARTMENU_WRITE_BEGIN macro. Basically, if the user disabled shortcuts, the first char of the startmenu folder variable will be ">".
ehsansad
27th April 2012 11:55 UTC
Thanks,
The idea was to show all the user's input. I found this
http://nsis.sourceforge.net/NsDialog...eTextMultiline
right after I posted the question, just had to make it only read only.