NSIS scripts-Changing header text. Also using same variable in both installer and uninstaller section -


I am writing an installer using NSIS. Want to know how to change or write a description (text on white headers) on a custom page? For example: I want to put a customized page after the directory page and the details remain the same.Eninstall the location ... but I want to change it according to the need of my page. How should I change this text? Also, I want to use a variable in the Uninstaller section, which is set in the installer section with some strings. Please help me on this ...

OK, you have two questions .. maybe most Well to post them separately :)

To set the title of the customized page, just use the following macro (by calling me my nsDialogs :: Create ) Previously placed)

 ! Insertmacro MUI_HEADER_TEXT $ (MY_CUSTOM_TITLE) $ (MY_CUSTOM_SUBTITLE)  

Where MY_CUSTOM_TITLE and MY_CUSTOM_SUBTITLE variables are set elsewhere.


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

mysql - Can mysql_pconnect be called multiple times in one php page? -