Archive: Mui_finishpage_showreadme_function


Mui_finishpage_showreadme_function
where can I find the simple example how to use this
MUI_FINISHPAGE_SHOWREADME_FUNCTION?

I want to insert serveral lines of text at FINISHPAGE.
It will be appreciated.


MUI_FINISHPAGE_SHOWREADME_FUNCTION function_name
Call a function instead of showing a file (define MUI_FINISHPAGE_SHOWREADME without parameters).
1. You can use the function to show multiple files
2. You can change the checkbox name
3. You use it for other things.

The above is the description from http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html

Any example would be nice -


erm. if i understand you right, then, perhaps you should use

MUI_FINISHPAGE_TEXT text
Text to display on the page. Use \r\n for a newline.

or

MUI_FINISHPAGE_TEXT_LARGE
Extra space for the text area (if using checkboxes).

about MUI_FINISHPAGE_SHOWREADME_FUNCTION

MUI_FINISHPAGE_SHOWREADME_FUNCTION function_name
Call a function instead of showing a file (define MUI_FINISHPAGE_SHOWREADME without parameters). You can use the function to show multiple files or you can change the checkbox name and use it for other things.

if i missed smth read http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html


mmleyr - you are right but \n \r doesn't work -
1. \n or \r don't work. what I did below.

!define MUI_FINISHPAGE_TEXT "HIHIHIH Hello --------------------- $\n HiHI -"


And next that I would test, mmleyr,
1. The string value around the double quote
can be the output of function?
2. or concatination of global variable?


< To mmleyr >
I developed the function that checks whether certain software has been installed or not.

I need to inform user to

"You must install the following software

* this
* that
"

this or that software is stored in the global variable.
If all required software have been installed, then
I don't show at all.

I could implement this?
I am in dilemma... so many restrictions.


When I look at MUI doc, this --> \r\n
I thought it has a mistake \r or \n
But, it is exactly \r\n two things have to be connected to each other as a one string.

Whee-Wha ! Interesting idea.


But, it seems to me that MUI_FINISHPAGE_TEXT
is final String. It cannot be used for the output of
function... or value of Global variable.

!define MUI_FINISHPAGE_TEXT $myGlobalValue

Print out $myGlobalValue at FINISHPAGE... Alas -


MUI_FINISHPAGE_TEXT is not a final string. Make sure you modify the variable used in it before it's read. Modify it before the Finish page show callback function. You can modify it in the pre callback function or in a section.


2 paulSeldon
try ${myGlobalValue}. (don't will it work or not)

And listen to the Kichik - he's one of the guru here. =))

Best regards.


2 kichik
As a newbie, I need some examples to implement what you wrote. I tried to find in Wide World Web, couldn't.

Would you? But, I still try to implement...:confused: