uninstall confirm page texts can be customized

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2966 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-09-26 12:34:59 +00:00
parent b1d43fb152
commit 0314c522cc
2 changed files with 15 additions and 5 deletions

View file

@ -218,9 +218,9 @@ will also help you to learn more about the Modern UI.</p>
<p class="sub2header">License Page Settings</p> <p class="sub2header">License Page Settings</p>
<div class="margin"> <div class="margin">
<p class="text"><span class="bold">MUI_LICENSEPAGE_TEXT </span><span class="parameter">text [buttontext]</span><br /> <p class="text"><span class="bold">MUI_LICENSEPAGE_TEXT </span><span class="parameter">text [buttontext]</span><br />
Texts to display on the inner dialog of the license page. See syntax information about setting multiple texts.</p> Texts to display on the license page. See syntax information about setting multiple texts.</p>
<p class="text"><span class="bold">MUI_LICENSEPAGE_TEXT_TOP </span><span class="parameter">text</span><br /> <p class="text"><span class="bold">MUI_LICENSEPAGE_TEXT_TOP </span><span class="parameter">text</span><br />
Text to display on the top of the inner dialog of the license page.</p> Text to display on the top of the license page.</p>
<p class="text"><span class="bold">MUI_LICENSEPAGE_CHECKBOX</span><br /> <p class="text"><span class="bold">MUI_LICENSEPAGE_CHECKBOX</span><br />
Display a checkbox the user has to check to agree with the license terms.</p> Display a checkbox the user has to check to agree with the license terms.</p>
<div class="margin"> <div class="margin">
@ -240,7 +240,7 @@ will also help you to learn more about the Modern UI.</p>
<p class="sub2header">Components Page Settings</p> <p class="sub2header">Components Page Settings</p>
<div class="margin"> <div class="margin">
<p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT </span><span class="parameter">text [subtext] [subtext2]</span><br /> <p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT </span><span class="parameter">text [subtext] [subtext2]</span><br />
Texts to display on the inner dialog of the components page. See syntax information about setting multiple texts.</p> Texts to display on the components page. See syntax information about setting multiple texts.</p>
<p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE </span><span class="parameter">text</span><br /> <p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE </span><span class="parameter">text</span><br />
Text to display on the of the top of the description box.</p> Text to display on the of the top of the description box.</p>
<p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO </span><span class="parameter">text</span><br /> <p class="text"><span class="bold">MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO </span><span class="parameter">text</span><br />
@ -249,7 +249,7 @@ will also help you to learn more about the Modern UI.</p>
<p class="sub2header">Directory Page Settings</p> <p class="sub2header">Directory Page Settings</p>
<div class="margin"> <div class="margin">
<p class="text"><span class="bold">MUI_DIRECTORYPAGE_TEXT </span><span class="parameter">text [subtext]</span><br /> <p class="text"><span class="bold">MUI_DIRECTORYPAGE_TEXT </span><span class="parameter">text [subtext]</span><br />
Texts to display on the inner dialog of the directory page. See syntax information about setting multiple texts.</p> Texts to display on the directory page. See syntax information about setting multiple texts.</p>
<p class="text"><span class="bold">MUI_DIRECTORYPAGE_VARIABLE </span><span class="parameter">variable</span><br /> <p class="text"><span class="bold">MUI_DIRECTORYPAGE_VARIABLE </span><span class="parameter">variable</span><br />
Variable in which to store the selected folder<br /> Variable in which to store the selected folder<br />
<i>Default: $INSTDIR</i></p> <i>Default: $INSTDIR</i></p>
@ -266,7 +266,7 @@ will also help you to learn more about the Modern UI.</p>
defines and define the values of the page of which you want to write the value, before inserting the defines and define the values of the page of which you want to write the value, before inserting the
MUI_STARTMENU_WRITE_BEGIN macro.</p> MUI_STARTMENU_WRITE_BEGIN macro.</p>
<p class="text"><span class="bold">MUI_STARTMENUPAGE_TEXT </span><span class="parameter">text </span><br /> <p class="text"><span class="bold">MUI_STARTMENUPAGE_TEXT </span><span class="parameter">text </span><br />
Text to display on the inner dialog of the Start Menu folder page.</p> Text to display on the Start Menu folder page.</p>
<p class="text"><span class="bold">MUI_STARTMENUPAGE_TEXT_CHECKBOX </span><span class="parameter">text </span><br /> <p class="text"><span class="bold">MUI_STARTMENUPAGE_TEXT_CHECKBOX </span><span class="parameter">text </span><br />
Text to display next to the checkbox to disable the Start Menu folder creation.</p> Text to display next to the checkbox to disable the Start Menu folder creation.</p>
<p class="text"><span class="bold">MUI_STARTMENUPAGE_VARIABLE </span><span class="parameter">variable</span><br /> <p class="text"><span class="bold">MUI_STARTMENUPAGE_VARIABLE </span><span class="parameter">variable</span><br />
@ -364,6 +364,11 @@ will also help you to learn more about the Modern UI.</p>
Define this option to save some space if you are not using the /REBOOTOK Define this option to save some space if you are not using the /REBOOTOK
flag or SetRebootFlag.</p> flag or SetRebootFlag.</p>
</div> </div>
<p class="sub2header">Uninstall Confirm Page Settings</p>
<div class="margin">
<p class="text"><span class="bold">MUI_UNCONFIMPAGE_TEXT </span><span class="parameter">text [subtext]</span><br />
Texts to display on the uninstall confirm page. See syntax information about setting multiple texts.</p>
</div>
<p class="sub2header">Advanced Page Settings</p> <p class="sub2header">Advanced Page Settings</p>
<div class="margin"> <div class="margin">
<p class="text">You can add your custom code to the page functions of Modern UI pages. <p class="text">You can add your custom code to the page functions of Modern UI pages.

View file

@ -864,6 +864,11 @@ Var MUI_TEMP2
Caption " " Caption " "
!ifdef MUI_UNCONFIRMPAGE_TEXT
UninstallText ${MUI_UNCONFIRMPAGE_TEXT}
!undef MUI_UNCONFIRMPAGE_TEXT
!endif
PageExEnd PageExEnd
!insertmacro MUI_UNFUNCTION_CONFIRMPAGE un.mui.ConfirmPre_${MUI_UNIQUEID} un.mui.ConfirmShow_${MUI_UNIQUEID} un.mui.ConfirmLeave_${MUI_UNIQUEID} !insertmacro MUI_UNFUNCTION_CONFIRMPAGE un.mui.ConfirmPre_${MUI_UNIQUEID} un.mui.ConfirmShow_${MUI_UNIQUEID} un.mui.ConfirmLeave_${MUI_UNIQUEID}