html errors

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2332 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-03-18 13:44:42 +00:00
parent 9ddf36c054
commit 52933d9ee0
2 changed files with 38 additions and 36 deletions

View file

@ -399,7 +399,7 @@ numbers from 1 to NumFields. Each Field section can contain the following values
one to allow navigation between groups with the Tab key.</td></tr> one to allow navigation between groups with the Tab key.</td></tr>
<tr> <tr>
<td class="righttable">DISABLED</td> <td class="righttable">DISABLED</td>
<td class="righttable">Causes a control to be disabled.</</td></tr> <td class="righttable">Causes a control to be disabled.</td></tr>
</table></td></tr></table> </table></td></tr></table>
<p class="header">How to use</p> <p class="header">How to use</p>
<p class="subheader">Modern UI</p> <p class="subheader">Modern UI</p>
@ -520,9 +520,11 @@ FunctionEnd
<li>Works with SetStaticBkColor</li> <li>Works with SetStaticBkColor</li>
<li>DISABLED dir and file request fields now disable the browse button too</li> <li>DISABLED dir and file request fields now disable the browse button too</li>
<li>No more STATE value for labels</li> <li>No more STATE value for labels</li>
<li>Minor fixes <li>Minor fixes</li>
</ul> </ul></li>
</ul>
<p class="text"></p> <p class="text"></p>
<ul>
<li>DLL version 2.0 (1/4/2003) <li>DLL version 2.0 (1/4/2003)
<ul> <ul>
<li>Supports custom font and DPI settings (by Joost Verburg)</li> <li>Supports custom font and DPI settings (by Joost Verburg)</li>

View file

@ -134,7 +134,7 @@ follow these steps:</p>
<p class="subheader">1. Include the header file</p> <p class="subheader">1. Include the header file</p>
<pre class="margin">!include "MUI.nsh"</pre> <pre class="margin">!include "MUI.nsh"</pre>
<p class="text">MUI.nsh is in the Include directory, so you don't have <p class="text">MUI.nsh is in the Include directory, so you don't have
to specify a path. to specify a path.</p>
<p class="subheader">2. Define the name and version of your software</p> <p class="subheader">2. Define the name and version of your software</p>
<pre class="margin"> <pre class="margin">
!define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_PRODUCT "Test Software" ;Define your own software name here
@ -177,13 +177,12 @@ follow these steps:</p>
Show the Start Menu Folder selection page.<br /><br /> Show the Start Menu Folder selection page.<br /><br />
If you did not disable the 'Do not create shortcuts' checkbox, If you did not disable the 'Do not create shortcuts' checkbox,
put the script code to write the shortcuts between these macro's, put the script code to write the shortcuts between these macro's,
because the creation can be disabled by the user: because the creation can be disabled by the user:</p>
<pre class="margin"> <pre class="margin">
!insertmacro MUI_STARTMENU_WRITE_BEGIN !insertmacro MUI_STARTMENU_WRITE_BEGIN
...create the shortcuts... ...create the shortcuts...
!insertmacro MUI_STARTMENU_WRITE_END !insertmacro MUI_STARTMENU_WRITE_END
</pre> </pre>
</p>
<div class="margin"> <div class="margin">
<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 />
Variable to store the current Start Menu Folder. Default is $9. Variable to store the current Start Menu Folder. Default is $9.
@ -278,7 +277,7 @@ follow these steps:</p>
<span class="bold">MUI_FONTSTYLE_HEADER </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br /> <span class="bold">MUI_FONTSTYLE_HEADER </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br />
The font for the title in the header.<br /><i>Defaults: MS Shell Dlg, 8, 700</i></p> The font for the title in the header.<br /><i>Defaults: MS Shell Dlg, 8, 700</i></p>
<p class="text"><span class="bold">MUI_FONT_TITLE </span><span class="parameter">font_name</span><br /> <p class="text"><span class="bold">MUI_FONT_TITLE </span><span class="parameter">font_name</span><br />
<span class="bold">MUI_FONTSIZE_TITLE </span><span class="parameter">font_size</span></br /> <span class="bold">MUI_FONTSIZE_TITLE </span><span class="parameter">font_size</span><br />
<span class="bold">MUI_FONTSTYLE_TITLE </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br /> <span class="bold">MUI_FONTSTYLE_TITLE </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br />
The font for the title on the Welcome and Finish page.<br /><i>Defaults: Verdana, 12, 700</i></p> The font for the title on the Welcome and Finish page.<br /><i>Defaults: Verdana, 12, 700</i></p>
<p class="text"><span class="bold">MUI_INSTALLCOLORS </span><span class="parameter">(/windows | (foreground color: RRBBGG) <p class="text"><span class="bold">MUI_INSTALLCOLORS </span><span class="parameter">(/windows | (foreground color: RRBBGG)
@ -286,7 +285,7 @@ follow these steps:</p>
<br />The colors of the details screen. Use /windows instead of the colors to use the Windows <br />The colors of the details screen. Use /windows instead of the colors to use the Windows
colors (the default).<br /><i>Default: /windows</i></p> colors (the default).<br /><i>Default: /windows</i></p>
<p class="text"><span class="bold">MUI_PROGRESSBAR </span><span class="parameter">("" | colored | smooth)</span><br /> <p class="text"><span class="bold">MUI_PROGRESSBAR </span><span class="parameter">("" | colored | smooth)</span><br />
The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.</br /><i>Default: smooth</i></p> The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.<br /><i>Default: smooth</i></p>
<p class="text"><span class="bold">MUI_HEADERBITMAP </span><span class="parameter">bmp_file</span><br /> <p class="text"><span class="bold">MUI_HEADERBITMAP </span><span class="parameter">bmp_file</span><br />
Bitmap to display in the white header. With the default DPI, a bitmap with a size 150x57 Bitmap to display in the white header. With the default DPI, a bitmap with a size 150x57
won't have to be resized. The NSIS Setup uses the ${NSISDIR}\Contrib\Icons\modern-header.bmp bitmap, won't have to be resized. The NSIS Setup uses the ${NSISDIR}\Contrib\Icons\modern-header.bmp bitmap,
@ -511,7 +510,7 @@ ReserveFile "ioFile.ini" ;Your own InstallOptions INI files
<p class="text">To modify the Welcome and Finish dialog, edit the Install <p class="text">To modify the Welcome and Finish dialog, edit the Install
Options INI File ioWizard.ini in the 'Contrib\Modern UI' directory.</p> Options INI File ioWizard.ini in the 'Contrib\Modern UI' directory.</p>
<p class="header">Customize Modern UI Functions</p> <p class="header">Customize Modern UI Functions</p>
<a name="customFunctions"><p class="text">If you want add your own code to functions <a name="customFunctions"></a><p class="text">If you want add your own code to functions
inserted by the Modern UI, such as the .onGUIInit function and the Page functions, inserted by the Modern UI, such as the .onGUIInit function and the Page functions,
create your own function and let the Modern UI functions call them. Use the defines create your own function and let the Modern UI functions call them. Use the defines
to define the name of your functions.</p> to define the name of your functions.</p>
@ -524,64 +523,63 @@ Function myGUIInit
FunctionEnd FunctionEnd
</pre> </pre>
<p class="text"> <p class="text">
<span class="bold">GUI Init</span><br> <span class="bold">GUI Init</span><br />
MUI_CUSTOMFUNCTION_GUIINIT<br> MUI_CUSTOMFUNCTION_GUIINIT<br />
MUI_CUSTOMFUNCTION_UNGUIINIT MUI_CUSTOMFUNCTION_UNGUIINIT
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Welcome Page</span><br> <span class="bold">Welcome Page</span><br />
MUI_CUSTOMFUNCTION_WELCOME_PRE<br> MUI_CUSTOMFUNCTION_WELCOME_PRE<br />
MUI_CUSTOMFUNCTION_WELCOME_SHOW - ${MUI_TEMP1} contains HWND of Welcome dialog MUI_CUSTOMFUNCTION_WELCOME_SHOW - ${MUI_TEMP1} contains HWND of Welcome dialog
</p> </p>
<p class="text"> <p class="text">
<span class="bold">License Page</span><br> <span class="bold">License Page</span><br />
MUI_CUSTOMFUNCTION_LICENSE_PRE<br> MUI_CUSTOMFUNCTION_LICENSE_PRE<br />
MUI_CUSTOMFUNCTION_LICENSE_SHOW<br> MUI_CUSTOMFUNCTION_LICENSE_SHOW<br />
MUI_CUSTOMFUNCTION_LICENSE_LEAVE MUI_CUSTOMFUNCTION_LICENSE_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Components Page</span><br> <span class="bold">Components Page</span><br />
MUI_CUSTOMFUNCTION_COMPONENTS_PRE<br> MUI_CUSTOMFUNCTION_COMPONENTS_PRE<br />
MUI_CUSTOMFUNCTION_COMPONENTS_SHOW<br> MUI_CUSTOMFUNCTION_COMPONENTS_SHOW<br />
MUI_CUSTOMFUNCTION_COMPONENTS_LEAVE MUI_CUSTOMFUNCTION_COMPONENTS_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Directory Page</span><br> <span class="bold">Directory Page</span><br />
MUI_CUSTOMFUNCTION_DIRECTORY_PRE<br> MUI_CUSTOMFUNCTION_DIRECTORY_PRE<br />
MUI_CUSTOMFUNCTION_DIRECTORY_SHOW<br> MUI_CUSTOMFUNCTION_DIRECTORY_SHOW<br />
MUI_CUSTOMFUNCTION_DIRECTORY_LEAVE MUI_CUSTOMFUNCTION_DIRECTORY_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Start Menu Folder Page</span><br> <span class="bold">Start Menu Folder Page</span><br />
MUI_CUSTOMFUNCTION_STARTMENU_PRE MUI_CUSTOMFUNCTION_STARTMENU_PRE
MUI_CUSTOMFUNCTION_STARTMENU_LEAVE MUI_CUSTOMFUNCTION_STARTMENU_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Install Files Page</span><br> <span class="bold">Install Files Page</span><br />
MUI_CUSTOMFUNCTION_INSTFILES_PRE<br> MUI_CUSTOMFUNCTION_INSTFILES_PRE<br />
MUI_CUSTOMFUNCTION_INSTFILES_SHOW<br> MUI_CUSTOMFUNCTION_INSTFILES_SHOW<br />
MUI_CUSTOMFUNCTION_INSTFILES_LEAVE MUI_CUSTOMFUNCTION_INSTFILES_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Finish Page</span><br> <span class="bold">Finish Page</span><br />
MUI_CUSTOMFUNCTION_FINISH_PRE<br> MUI_CUSTOMFUNCTION_FINISH_PRE<br />
MUI_CUSTOMFUNCTION_FINISH_SHOW - ${MUI_TEMP1} contains HWND of Finish dialog MUI_CUSTOMFUNCTION_FINISH_SHOW - ${MUI_TEMP1} contains HWND of Finish dialog
</p> </p>
</p>
<p class="text"> <p class="text">
<span class="bold">Installer Abort</span><br> <span class="bold">Installer Abort</span><br />
MUI_CUSTOMFUNCTION_ABORT MUI_CUSTOMFUNCTION_ABORT
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Uninstaller - Confirm Page</span><br> <span class="bold">Uninstaller - Confirm Page</span><br />
MUI_UNCUSTOMFUNCTION_CONFIRM_PRE<br> MUI_UNCUSTOMFUNCTION_CONFIRM_PRE<br />
MUI_UNCUSTOMFUNCTION_CONFIRM_SHOW<br> MUI_UNCUSTOMFUNCTION_CONFIRM_SHOW<br />
MUI_UNCUSTOMFUNCTION_CONFIRM_LEAVE MUI_UNCUSTOMFUNCTION_CONFIRM_LEAVE
</p> </p>
<p class="text"> <p class="text">
<span class="bold">Uninstaller - Uninstall Files Page</span><br> <span class="bold">Uninstaller - Uninstall Files Page</span><br />
MUI_UNCUSTOMFUNCTION_INSTFILES_PRE<br> MUI_UNCUSTOMFUNCTION_INSTFILES_PRE<br />
MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW<br> MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW<br />
MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE
</p> </p>
<p class="header">Version history</p> <p class="header">Version history</p>
@ -607,7 +605,9 @@ MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE
<li>Minor fixes</li> <li>Minor fixes</li>
<li>No changed language strings</li> <li>No changed language strings</li>
</ul></li> </ul></li>
</ul>
<p class="text"></p> <p class="text"></p>
<ul>
<li>1.62 - February 2, 2003 <li>1.62 - February 2, 2003
<ul> <ul>
<li>Final version for NSIS 2 beta 1</li> <li>Final version for NSIS 2 beta 1</li>