Docs/ExperienceUI/pages/secdesc.htm
changeset 0 d5ce4c64ef88
equal deleted inserted replaced
-1:000000000000 0:d5ce4c64ef88
       
     1 <html>
       
     2   <head>
       
     3     <title>ExperienceUI Documentation Content Frame</title>
       
     4     <link rel=stylesheet href=style.css type=text/css>
       
     5   </head>
       
     6   
       
     7   <body bgcolor="#FFFFFF" style="background-color:#FFFFFF;margin:0px;padding:0px">
       
     8   
       
     9     <table border=0 width=100% height=100%>
       
    10     
       
    11       <tr>
       
    12       
       
    13         <td valign=top style=margin:10px;padding:10px>
       
    14     
       
    15 	<h1>Section Descriptions</h1>
       
    16 	
       
    17           <font face=Verdana color=#000000 size=2>
       
    18 	    <p style=margin-left:0.20in>
       
    19 	    Just like the Modern UI, the ExperienceUI allows descriptions for the various sections in your installer.
       
    20 	    Here is how to create the cool description-on-mouse-over effect:<br>
       
    21 	    <p style=margin-left:0.50in>
       
    22 	    <ol type=1>
       
    23 	      <li><b>Add index IDs to your sections.</b><br>
       
    24 	      <br>
       
    25 	      If you haven't done this already, add a unique code to the end of the line with the Section command. Example:<br>
       
    26 	      <br>
       
    27 	      <code>Section "My Section" <b>SecMySection</b><br>
       
    28 	      &lt;your code...&gt;<br>
       
    29 	      SectionEnd</code><br>
       
    30 	      <br>
       
    31 	      Sections must have a name or a "" as the first parameter in order for this to work.<br><br></li>
       
    32 	      <li><b>Insert the Section Description header macro.</b><br>
       
    33 	      <br>
       
    34 	      Insert the macro <b>XPUI_FUNCTION_DESCRIPTION_BEGIN</b> into your script after all of your sections, although you can put the
       
    35 	      uninstaller section(s) after this if you wish.<br><br></li>
       
    36 	      <li><b>Insert your description text.</b><br>
       
    37 	      <br>
       
    38 	      <b>XPUI_DESCRIPTION_TEXT</b> <font color=#294F75>Section_index_define "Section Description Text"</font> - Inserts description
       
    39 	      text into your installer.  Use only between the <b>XPUI_FUNCTION_DESCRIPTION_BEGIN</b> and <b>XPUI_FUNCTION_DESCRIPTION_END</b>
       
    40 	      macros.<br>
       
    41 	      <br>
       
    42 	      Insert the <b>XPUI_DESCRIPTION_TEXT</b> macro into your installer once for each section you want a description for, using the
       
    43 	      syntax given above. Example:<br>
       
    44 	      <br>
       
    45 	      <code>!insertmacro XPUI_FUNCTION_DESCRIPTION_BEGIN<br>
       
    46 	      !insertmacro XPUI_DESCRIPTION_TEXT ${SecMySection} "Description of the section 'My Section'"<br>
       
    47 	      &nbsp;...
       
    48 	      </code><br>
       
    49 	      <br></li>
       
    50 	      <li><b>Insert the closing macro.</b><br>
       
    51 	      <br>
       
    52 	      Insert the macro XPUI_FUNCTION_DESCRIPTION_END macro into your script after all of your description text.  Please note that
       
    53 	      if you have custom code for your .onMouseOverSection function, you will need to insert it before this macro.
       
    54 	    </ol>
       
    55 	    If you are using multiple languages in your installer, use language strings to write descriptions for each language, and
       
    56 	    then use the $(LANG_STRING) as the section description text.  Example:<br>
       
    57 	    <br>
       
    58 	    <font face="Courier New" style=font-size:8pt>
       
    59 	    <font color=#0000FF><b>Section</b> <font color=#008080>"Section One" <font color=#000000>Sec1<br>
       
    60 	    &nbsp;<font color=#000000>...<br>
       
    61 	    <font color=#0000FF><b>SectionEnd</b><br>
       
    62 	    <br>
       
    63 	    <font color=#0000FF><b>Section</b> <font color=#008080>"Section Two" <font color=#000000>Sec2<br>
       
    64 	    &nbsp;<font color=#000000>...<br>
       
    65 	    <font color=#0000FF><b>SectionEnd</b><br>
       
    66 	    <br>
       
    67 	    <font color=#0000FF><b>LangString</b><font color=#000000> DESC_SEC1 1033 <font color=#008080>"One"<br>
       
    68 	    <font color=#0000FF><b>LangString</b><font color=#000000> DESC_SEC1 1032 <font color=#008080>"Uno"<br>
       
    69 	    <font color=#0000FF><b>LangString</b><font color=#000000> DESC_SEC2 1033 <font color=#008080>"Two"<br>
       
    70 	    <font color=#0000FF><b>LangString</b><font color=#000000> DESC_SEC2 1032 <font color=#008080>"Dos"<br>
       
    71 	    <br>
       
    72 	    <font color=#008000>!insertmacro <font color=#000000>XPUI_FUNCTION_DESCRIPTION_BEGIN<br>
       
    73 	    &nbsp;&nbsp;<font color=#008000>!insertmacro<font color=#000000> XPUI_DESCRIPTION_TEXT <font color=#800000>${Sec1} <font color=#008080>"<font color=#800000>$<font color=#008080>(DESC_SEC1)"<br>
       
    74 	    &nbsp;&nbsp;<font color=#008000>!insertmacro<font color=#000000> XPUI_DESCRIPTION_TEXT <font color=#800000>${Sec2} <font color=#008080>"<font color=#800000>$<font color=#008080>(DESC_SEC2)"<br>
       
    75 	    <font color=#008000>!insertmacro <font color=#000000>XPUI_FUNCTION_DESCRIPTION_END
       
    76 	    </font>
       
    77 	    <font face=Verdana size=2 color=#000000>
       
    78 	    <br><br>
       
    79 	    The section description code for the ExperienceUI was based on the code from the Modern UI, written by <b>Joost Verburg</b>.
       
    80 	    Two thumbs up to him for writing this awesome code.
       
    81 	    </p>
       
    82 	    </font>
       
    83 	  
       
    84 	</td>
       
    85 	
       
    86       </tr>
       
    87       
       
    88       <tr>
       
    89       
       
    90         <td valign=bottom style=margin:0px;padding:0px>
       
    91     
       
    92           <p class=footer>Copyright &copy; 2004-2006 Dan Fuhry.  All rights except those explicitly given in the <a href=license_agreement.htm style=color:#A0A0D0 onmouseover="this.style.color='#A0A0A0'" onmouseout="this.style.color='#A0A0D0'">license agreement</a> reserved.</p>
       
    93   
       
    94         </td>
       
    95 	
       
    96       </tr>
       
    97       
       
    98     </table>
       
    99   
       
   100   </body>
       
   101   
       
   102 </html>