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
Post a Comment