Contrib/ExperienceUI/Lang.nsh
changeset 0 d5ce4c64ef88
child 2 ccebbad46f6a
equal deleted inserted replaced
-1:000000000000 0:d5ce4c64ef88
       
     1 ; MULTI-LANGUAGE SUPPORT
       
     2 
       
     3 ; SELECTION DIALOG
       
     4 
       
     5 !tempfile "XPUI_LANGPAGE_CHECKFILE"
       
     6 
       
     7 !macro XPUI_LANGDLL_SAVELANGUAGE
       
     8 !ifndef XPUI_PAGE_UNINSTALLER
       
     9 IfAbort XPUI.langdllsavelanguage_abort
       
    10 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
    11 WriteRegStr `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}` $LANGUAGE
       
    12 !endif
       
    13 XPUI.langdllsavelanguage_abort:
       
    14 !endif
       
    15 
       
    16 !macroend
       
    17 
       
    18 !macro XPUI_LANGDLL_DISPLAY
       
    19 !verbose push
       
    20 !verbose ${XPUI_VERBOSE}
       
    21 !ifdef NSIS_CONFIG_SILENT_SUPPORT
       
    22 IfSilent XPUI.langdll_done
       
    23 !endif
       
    24 !insertmacro XPUI_DEFAULT XPUI_LANGDLL_WINDOWTITLE `Installer Language`
       
    25 !insertmacro XPUI_DEFAULT XPUI_LANGDLL_INFO `Please select a language.`
       
    26 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
    27 ReadRegStr $XPUI_TEMP1 `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}`
       
    28 StrCmp $XPUI_TEMP1 `` XPUI.langdll_show
       
    29 StrCpy $LANGUAGE $XPUI_TEMP1
       
    30 !ifndef XPUI_LANGDLL_ALWAYSSHOW
       
    31 Goto XPUI.langdll_done
       
    32 !endif
       
    33 XPUI.langdll_show:
       
    34 !endif
       
    35 LangDLL::LangDialog `${XPUI_LANGDLL_WINDOWTITLE}` `${XPUI_LANGDLL_INFO}` A ${XPUI_LANGDLL_PUSHLIST} ``
       
    36 Pop $LANGUAGE
       
    37 StrCmp $LANGUAGE `cancel` 0 XPUI.langdll_noquit
       
    38 Abort
       
    39 XPUI.langdll_noquit:
       
    40 !ifdef NSIS_CONFIG_SILENT_SUPPORT
       
    41 XPUI.langdll_done:
       
    42 !else ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
    43 XPUI.langdll_done:
       
    44 !endif
       
    45 !insertmacro XPUI_LANGDLL_SAVELANGUAGE
       
    46 !verbose pop
       
    47 !macroend
       
    48 
       
    49 !macro XPUI_LANGPAGE_COMPILE_ATTRIB ATTRIB_NAME
       
    50   !ifndef XPUI_LANGPAGE_COMPILE_PARAMS
       
    51     !ifdef ${ATTRIB_NAME}
       
    52       !define XPUI_LANGPAGE_COMPILE_PARAMS `"/D${ATTRIB_NAME}=${${ATTRIB_NAME}}"`
       
    53     !endif
       
    54   !else
       
    55     !ifdef ${ATTRIB_NAME}
       
    56       !define XPUI_LANGPAGE_COMPILE_PARAMS_TEMP `${XPUI_LANGPAGE_COMPILE_PARAMS}`
       
    57       !undef XPUI_LANGPAGE_COMPILE_PARAMS
       
    58       !define XPUI_LANGPAGE_COMPILE_PARAMS `${XPUI_LANGPAGE_COMPILE_PARAMS_TEMP} "/D${ATTRIB_NAME}=${${ATTRIB_NAME}}"`
       
    59       !undef XPUI_LANGPAGE_COMPILE_PARAMS_TEMP
       
    60     !endif
       
    61   !endif
       
    62 !macroend
       
    63 
       
    64 !macro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE ATTRIB_NAME
       
    65   !ifndef XPUI_LANGPAGE_COMPILE_PARAMS
       
    66       !define XPUI_LANGPAGE_COMPILE_PARAMS `"/D${ATTRIB_NAME}=${${ATTRIB_NAME}}"`
       
    67   !else
       
    68       !define XPUI_LANGPAGE_COMPILE_PARAMS_TEMP `${XPUI_LANGPAGE_COMPILE_PARAMS}`
       
    69       !undef XPUI_LANGPAGE_COMPILE_PARAMS
       
    70       !define XPUI_LANGPAGE_COMPILE_PARAMS `${XPUI_LANGPAGE_COMPILE_PARAMS_TEMP} "/D${ATTRIB_NAME}=${${ATTRIB_NAME}}"`
       
    71       !undef XPUI_LANGPAGE_COMPILE_PARAMS_TEMP
       
    72   !endif
       
    73 !macroend
       
    74 
       
    75 !macro XPUI_LANGPAGE_COMPILE_ATTRIB_NOVAL ATTRIB_NAME
       
    76   !ifndef XPUI_LANGPAGE_COMPILE_PARAMS
       
    77     !ifdef ${ATTRIB_NAME}
       
    78       !define XPUI_LANGPAGE_COMPILE_PARAMS `"/D${ATTRIB_NAME}"`
       
    79     !endif
       
    80   !else
       
    81     !ifdef ${ATTRIB_NAME}
       
    82       !define XPUI_LANGPAGE_COMPILE_PARAMS_TEMP `${XPUI_LANGPAGE_COMPILE_PARAMS}`
       
    83       !undef XPUI_LANGPAGE_COMPILE_PARAMS
       
    84       !define XPUI_LANGPAGE_COMPILE_PARAMS `${XPUI_LANGPAGE_COMPILE_PARAMS_TEMP} "/D${ATTRIB_NAME}"`
       
    85       !undef XPUI_LANGPAGE_COMPILE_PARAMS_TEMP
       
    86     !endif
       
    87   !endif
       
    88 !macroend
       
    89 
       
    90 !macro XPUI_LANGPAGE_COMPILE
       
    91 ; This next block of code compiles a specialized language selection dialog app.  This is because NSIS only allows
       
    92 ; you to select the language in .onInit. (ahem, KiCHiK?) If just looking at it makes you feel braindead, I'll tell
       
    93 ; you what it does: it detects all of your visual settings that are currently being used, and then it launches
       
    94 ; MakeNSIS with the corresponding compiler flags.
       
    95 
       
    96 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB XPUI_SKIN
       
    97 
       
    98 !ifdef XPUI_WANSIS
       
    99 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB       XPUI_WANSIS_SKIN
       
   100 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_NOVAL XPUI_WANSIS
       
   101 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_WANSIS_GEN
       
   102 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_WANSIS_GENEX
       
   103 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_NOVAL XPUI_WANSIS_HEADERIMAGE
       
   104 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB       XPUI_WANSIS_HEADERIMAGE_BMP
       
   105 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_NOVAL XPUI_WANSIS_NODIVIDER
       
   106 !endif
       
   107 
       
   108 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_NOVAL XPUI_NOBOTTOMIMAGE
       
   109 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB       XPUI_BOTTOMIMAGE_BMP
       
   110 
       
   111 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_TEXT_COLOR
       
   112 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_TEXT_BGCOLOR
       
   113 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_TEXT_LIGHTCOLOR
       
   114 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_HEADERIMAGE
       
   115 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_LEFTLOGO
       
   116 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_HEADER_TEXT_COLOR
       
   117 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT
       
   118 
       
   119 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_FG
       
   120 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_BG
       
   121 
       
   122 !execute `"${NSISDIR}\MakeNSIS.exe" "/NOCD" "/V0" "/DCHECKLIST=${XPUI_LANGPAGE_CHECKFILE}" "/DXPUI_LANGINI_LIST_B=${XPUI_LANGINI_LIST}" "/DXPUI_LANGIDLIST_LIST_B=${XPUI_LANGIDLIST_LIST}" ${XPUI_LANGPAGE_COMPILE_PARAMS} "${XPUI_SYSDIR}\LangPage.nsi"`
       
   123 
       
   124 !macroend
       
   125 
       
   126 !macro XPUI_LANGPAGE_DISPLAY
       
   127 
       
   128 !verbose push
       
   129 !verbose ${XPUI_VERBOSE}
       
   130 
       
   131 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   132   ReadRegStr $XPUI_TEMP1 `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}`
       
   133   StrCmp $XPUI_TEMP1 `` XPUI.langdll_show
       
   134   StrCpy $LANGUAGE $XPUI_TEMP1
       
   135   !ifndef XPUI_LANGDLL_ALWAYSSHOW
       
   136     Goto XPUI.langdll_done
       
   137   !endif
       
   138   XPUI.langdll_show:
       
   139 !endif
       
   140 !insertmacro XPUI_LANGPAGE_COMPILE
       
   141 InitPluginsDir
       
   142 SetOutPath $PLUGINSDIR
       
   143 File `${XPUI_SYSDIR}\LangDialog.exe`
       
   144 !system `del "${XPUI_SYSDIR}\LangDialog.exe"`
       
   145 ExecWait $PLUGINSDIR\LangDialog.exe $LANGUAGE
       
   146 Delete $PLUGINSDIR\LangDialog.exe
       
   147 StrCmp $LANGUAGE 1 `` +2
       
   148 Abort
       
   149 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   150   WriteRegStr `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}` $LANGUAGE
       
   151 !endif
       
   152 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   153 !ifndef XPUI_LANGDLL_ALWAYSSHOW
       
   154 XPUI.langdll_done:
       
   155 !endif
       
   156 !endif
       
   157 !verbose pop
       
   158 !delfile `${XPUI_LANGPAGE_CHECKFILE}`
       
   159 !macroend
       
   160 
       
   161 !macro XPUI_UNGETLANGUAGE_PAGE
       
   162 !verbose push
       
   163 !verbose ${XPUI_VERBOSE}
       
   164 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   165 ReadRegStr $XPUI_TEMP1 `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}`
       
   166 StrCmp $XPUI_TEMP1 `` 0 XPUI.ungetlanguage_setlang
       
   167 !endif
       
   168 !insertmacro XPUI_LANGPAGE_DISPLAY
       
   169 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   170 Goto XPUI.ungetlanguage_done
       
   171 XPUI.ungetlanguage_setlang:
       
   172 StrCpy $LANGUAGE $XPUI_TEMP1
       
   173 XPUI.ungetlanguage_done:
       
   174 !endif
       
   175 !verbose pop
       
   176 !macroend
       
   177 
       
   178 !macro XPUI_UNGETLANGUAGE
       
   179 !verbose push
       
   180 !verbose ${XPUI_VERBOSE}
       
   181 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   182 ReadRegStr $XPUI_TEMP1 `${XPUI_LANGDLL_REGISTRY_ROOT}` `${XPUI_LANGDLL_REGISTRY_KEY}` `${XPUI_LANGDLL_REGISTRY_VALUENAME}`
       
   183 StrCmp $XPUI_TEMP1 `` 0 XPUI.ungetlanguage_setlang
       
   184 !endif
       
   185 !insertmacro XPUI_LANGDLL_DISPLAY
       
   186 !ifdef XPUI_LANGDLL_REGISTRY_ROOT & XPUI_LANGDLL_REGISTRY_KEY & XPUI_LANGDLL_REGISTRY_VALUENAME
       
   187 Goto XPUI.ungetlanguage_done
       
   188 XPUI.ungetlanguage_setlang:
       
   189 StrCpy $LANGUAGE $XPUI_TEMP1
       
   190 XPUI.ungetlanguage_done:
       
   191 !endif
       
   192 !verbose pop
       
   193 !macroend
       
   194 
       
   195 ; FILES
       
   196 !macro XPUI_LANGUAGE LANGUAGE
       
   197 
       
   198   !echo "ExperienceUI Language: ${LANGUAGE}"
       
   199 
       
   200   !verbose push
       
   201   !verbose ${XPUI_VERBOSE}
       
   202 
       
   203   !ifndef XPUI_INTERNAL_LANG_INSERTED
       
   204     !define XPUI_INTERNAL_LANG_INSERTED
       
   205   !endif
       
   206   
       
   207     !include `${XPUI_SYSDIR}\Language files\${LANGUAGE}.nsh`
       
   208   !verbose pop
       
   209 !macroend
       
   210 
       
   211 !macro XPUI_LANGUAGEFILE_BEGIN LANGUAGE
       
   212 !ifndef `XPUI_LANGUAGEFILE_${LANGUAGE}_USED`
       
   213 !define `XPUI_LANGUAGEFILE_${LANGUAGE}_USED`
       
   214 LoadLanguageFile `${NSISDIR}\Contrib\Language files\${LANGUAGE}.nlf`
       
   215 !else
       
   216 !error `ExperienceUI language file ${LANGUAGE} included twice!`
       
   217 !endif
       
   218 !insertmacro XPUI_UNSET XPUI_LANGNAME
       
   219 !insertmacro XPUI_UNSET MUI_LANGNAME
       
   220 
       
   221 !ifndef XPUI_INTERNAL_INTERFACE_INSERTED
       
   222   !define XPUI_INTERNAL_INTERFACE_INSERTED
       
   223   !insertmacro XPUI_INTERFACE
       
   224 !endif
       
   225 
       
   226 !macroend
       
   227 
       
   228 
       
   229 !macro XPUI_LANGUAGEFILE_LANGSTRING NAME
       
   230 LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   231 !insertmacro XPUI_UNSET `${NAME}`
       
   232 !macroend
       
   233 
       
   234 !macro XPUI_LANGUAGEFILE_UNLANGSTRING NAME
       
   235 !ifdef XPUI_UNINSTALLER
       
   236 LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   237 !insertmacro XPUI_UNSET `${NAME}`
       
   238 !else
       
   239 !insertmacro XPUI_UNSET `${NAME}`
       
   240 !endif
       
   241 !macroend
       
   242 
       
   243 !macro XPUI_LANGUAGEFILE_LANGSTRING_PAGE PAGE NAME
       
   244 !ifdef XPUI_INTERNAL_PAGEUSED_${PAGE}
       
   245   !echo `${NAME}$\n${${NAME}}`
       
   246   LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   247 !endif
       
   248 !insertmacro XPUI_UNSET `${NAME}`
       
   249 !macroend
       
   250 
       
   251 !macro XPUI_LANGUAGEFILE_LANGSTRING_ALIAS_PAGE PAGE NEW OLD
       
   252 !ifdef XPUI_INTERNAL_PAGEUSED_${PAGE}
       
   253   !echo `${NEW}$\n${${OLD}}`
       
   254   LangString `${NEW}` ${LANG_${XPUI_LANGNAME}} `${${OLD}}`
       
   255 !endif
       
   256 !macroend
       
   257 
       
   258 !macro XPUI_LANGUAGEFILE_UNLANGSTRING_PAGE PAGE NAME
       
   259 !ifdef XPUI_UNINSTALLER
       
   260   !ifdef XPUI_UN${PAGE}PAGE
       
   261     LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   262    !insertmacro XPUI_UNSET `${NAME}`
       
   263   !else
       
   264     !insertmacro XPUI_UNSET `${NAME}`
       
   265   !endif
       
   266   !else
       
   267     !insertmacro XPUI_UNSET `${NAME}`
       
   268   !endif
       
   269 !macroend
       
   270 
       
   271 !macro XPUI_LANGUAGEFILE_MULTILANGSTRING_PAGE PAGE NAME
       
   272 LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   273 !insertmacro XPUI_UNSET `${NAME}`
       
   274 !macroend
       
   275 
       
   276 !macro XPUI_LANGUAGEFILE_LANGSTRING_DEFINE DEFINE NAME
       
   277 !ifdef `${DEFINE}`
       
   278 LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   279 !endif
       
   280 !insertmacro XPUI_UNSET `${NAME}`
       
   281 !macroend
       
   282 
       
   283 !macro XPUI_LANGUAGEFILE_DEFAULT NAME VALUE
       
   284 !ifndef `${NAME}`
       
   285 !define `${NAME}` `${VALUE}`
       
   286 !ifndef MUI_LANGUAGEFILE_DEFAULT_USED
       
   287 !define MUI_LANGUAGEFILE_DEFAULT_USED
       
   288 !endif
       
   289 !endif
       
   290 !macroend
       
   291 
       
   292 !macro XPUI_LANGUAGEFILE_DEFINE DEFINE NAME
       
   293 !ifndef `${DEFINE}`
       
   294 !define `${DEFINE}` `${${NAME}}`
       
   295 !endif
       
   296 !insertmacro XPUI_UNSET `${NAME}`
       
   297 !macroend
       
   298 
       
   299 !macro MUI_LANGUAGEFILE_LANGSTRING_PAGE PAGE NAME
       
   300 
       
   301   !ifdef MUI_${PAGE}PAGE
       
   302   !ifdef ${NAME}
       
   303     LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   304   !endif
       
   305     !insertmacro XPUI_UNSET `${NAME}`
       
   306   !else
       
   307     !insertmacro XPUI_UNSET `${NAME}`
       
   308   !endif
       
   309 
       
   310 !macroend
       
   311 
       
   312 !macro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE PAGE NAME
       
   313 
       
   314   !ifdef MUI_UNINSTALLER
       
   315     !ifdef MUI_UN${PAGE}PAGE
       
   316     !ifdef ${NAME}
       
   317       LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   318       !insertmacro XPUI_UNSET `${NAME}`
       
   319     !endif
       
   320     !else
       
   321       !insertmacro XPUI_UNSET `${NAME}`
       
   322     !endif
       
   323   !else
       
   324     !insertmacro XPUI_UNSET `${NAME}`
       
   325   !endif
       
   326 
       
   327 !macroend
       
   328 
       
   329 !macro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE PAGE NAME
       
   330 
       
   331   !ifdef MUI_${PAGE}PAGE | MUI_UN${PAGE}PAGE
       
   332     !ifdef ${NAME}
       
   333     LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   334     !insertmacro XPUI_UNSET `${NAME}`
       
   335     !endif
       
   336   !else
       
   337     !insertmacro XPUI_UNSET `${NAME}`
       
   338   !endif
       
   339 
       
   340 !macroend
       
   341 
       
   342 !macro MUI_LANGUAGEFILE_LANGSTRING_DEFINE DEFINE NAME
       
   343 
       
   344   !ifdef `${DEFINE}`
       
   345     LangString `${NAME}` ${LANG_${XPUI_LANGNAME}} `${${NAME}}`
       
   346   !endif
       
   347   !insertmacro XPUI_UNSET `${NAME}`
       
   348 
       
   349 !macroend
       
   350 
       
   351 !macro MUI_LANGUAGEFILE_DEFINE DEFINE NAME
       
   352 
       
   353   !ifndef `${DEFINE}`
       
   354     !define `${DEFINE}` `${${NAME}}`
       
   355   !endif
       
   356   !insertmacro XPUI_UNSET `${NAME}`
       
   357 
       
   358 !macroend
       
   359 
       
   360 !macro XPUI_LANGUAGEFILE_END
       
   361 !insertmacro XPUI_LANGUAGE_CONVERT
       
   362 
       
   363 !include `${XPUI_SYSDIR}\Language files\Default.nsh`
       
   364   !ifdef XPUI_LANGUAGEFILE_DEFAULT_USED
       
   365     !undef XPUI_LANGUAGEFILE_DEFAULT_USED
       
   366     !warning `${LANGUAGE} Modern UI language file version doesn't match. Using default English texts for missing strings.`
       
   367   !endif
       
   368 
       
   369   !ifndef XPUI_LANGINI_LIST
       
   370     !define XPUI_LANGINI_LIST `${XPUI_${LANGUAGE}_LANGNAME}`
       
   371    !else
       
   372      !ifdef XPUI_LANGINI_LIST_TEMP
       
   373        !undef XPUI_LANGINI_LIST_TEMP
       
   374      !endif
       
   375 
       
   376      !define XPUI_LANGINI_LIST_TEMP `${XPUI_LANGINI_LIST}`
       
   377      !undef XPUI_LANGINI_LIST
       
   378      !define XPUI_LANGINI_LIST `${XPUI_LANGINI_LIST_TEMP}|${XPUI_${LANGUAGE}_LANGNAME}`
       
   379    !endif
       
   380 
       
   381    !ifndef XPUI_LANGIDLIST_LIST
       
   382     !define XPUI_LANGIDLIST_LIST `${LANG_${LANGUAGE}}`
       
   383    !else
       
   384      !ifdef XPUI_LANGIDLIST_LIST_TEMP
       
   385        !undef XPUI_LANGIDLIST_LIST_TEMP
       
   386      !endif
       
   387 
       
   388      !define XPUI_LANGIDLIST_LIST_TEMP `${XPUI_LANGIDLIST_LIST}`
       
   389      !undef XPUI_LANGIDLIST_LIST
       
   390      !define XPUI_LANGIDLIST_LIST `${XPUI_LANGIDLIST_LIST_TEMP}${LANG_${LANGUAGE}}`
       
   391    !endif
       
   392    
       
   393    !appendfile `${XPUI_LANGPAGE_CHECKFILE}` `StrCmp $XPUI_NOABORTWARNING "${XPUI_LANGNAME}" 0 +3$\r$\nSetErrorLevel ${LANG_${LANGUAGE}}$\r$\nReturn$\r$\n`
       
   394 
       
   395   !ifdef XPUI_LANGNAME
       
   396     !insertmacro XPUI_LANGUAGEFILE_DEFINE `XPUI_${LANGUAGE}_LANGNAME` `XPUI_LANGNAME`
       
   397   !else
       
   398     !insertmacro XPUI_LANGUAGEFILE_DEFINE `XPUI_${LANGUAGE}_LANGNAME` `MUI_LANGNAME`
       
   399   !endif
       
   400 
       
   401   !ifndef XPUI_LANGDLL_PUSHLIST
       
   402     !ifdef XPUI_${LANGUAGE}_LANGNAME
       
   403       !define XPUI_LANGDLL_PUSHLIST `'${XPUI_${LANGUAGE}_LANGNAME}' ${LANG_${LANGUAGE}} `
       
   404     !else
       
   405       !define XPUI_LANGDLL_PUSHLIST `'${MUI_${LANGUAGE}_LANGNAME}' ${LANG_${LANGUAGE}} `
       
   406     !endif
       
   407   !else
       
   408     !ifdef XPUI_LANGDLL_PUSHLIST_TEMP
       
   409       !undef XPUI_LANGDLL_PUSHLIST_TEMP
       
   410     !endif
       
   411     !define XPUI_LANGDLL_PUSHLIST_TEMP `${XPUI_LANGDLL_PUSHLIST}`
       
   412     !undef XPUI_LANGDLL_PUSHLIST
       
   413 
       
   414     !ifdef XPUI_${LANGUAGE}_LANGNAME
       
   415       !define XPUI_LANGDLL_PUSHLIST `'${XPUI_${LANGUAGE}_LANGNAME}' ${LANG_${LANGUAGE}} ${XPUI_LANGDLL_PUSHLIST_TEMP}`
       
   416     !else
       
   417       !define XPUI_LANGDLL_PUSHLIST `'${MUI_${LANGUAGE}_LANGNAME}' ${LANG_${LANGUAGE}} ${XPUI_LANGDLL_PUSHLIST_TEMP}`
       
   418     !endif
       
   419   !endif
       
   420 
       
   421 ; +---------+
       
   422 ; | INSTALL |
       
   423 ; +---------+
       
   424 
       
   425 ; BUTTONS
       
   426 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_BUTTONTEXT_NEXT
       
   427 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_BUTTONTEXT_BACK
       
   428 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_BUTTONTEXT_CANCEL
       
   429 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_BUTTONTEXT_CLOSE
       
   430 
       
   431 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_ABORTWARNING_TEXT
       
   432 
       
   433 ; WELCOME PAGE
       
   434 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_WELCOMEPAGE_TEXT_TOP
       
   435 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_WELCOMEPAGE_TEXT
       
   436 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_WELCOMEPAGE_TITLE
       
   437 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_WELCOMEPAGE_SUBTITLE
       
   438 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_WELCOMEPAGE_CAPTION
       
   439 
       
   440 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_UNWELCOMEPAGE_TEXT_TOP
       
   441 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_UNWELCOMEPAGE_TEXT
       
   442 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_UNWELCOMEPAGE_TITLE
       
   443 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_UNWELCOMEPAGE_SUBTITLE
       
   444 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME XPUI_UNWELCOMEPAGE_CAPTION
       
   445 
       
   446 ; WELCOME PAGE STYLE 2
       
   447 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_WELCOMEPAGE2_TEXT_TOP
       
   448 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_WELCOMEPAGE2_TEXT
       
   449 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_WELCOMEPAGE2_TITLE
       
   450 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_WELCOMEPAGE2_SUBTITLE
       
   451 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_WELCOMEPAGE2_CAPTION
       
   452 
       
   453 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_UNWELCOMEPAGE2_TEXT_TOP
       
   454 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_UNWELCOMEPAGE2_TEXT
       
   455 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_UNWELCOMEPAGE2_TITLE
       
   456 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_UNWELCOMEPAGE2_SUBTITLE
       
   457 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME2 XPUI_UNWELCOMEPAGE2_CAPTION
       
   458 
       
   459 ; LICENSE PAGE
       
   460 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_CAPTION
       
   461 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT
       
   462 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE
       
   463 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TEXT_CHECKBOX
       
   464 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_SUBTITLE
       
   465 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TITLE
       
   466 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TEXT_TOP
       
   467 !ifndef XPUI_LICENSEPAGE_RADIOBUTTONS
       
   468   !ifndef XPUI_LICENSEPAGE_CHECKBOX
       
   469     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TEXT_BOTTOM
       
   470   !endif
       
   471 !endif
       
   472 !ifndef XPUI_LICENSEPAGE_RADIOBUTTONS
       
   473   !ifdef XPUI_LICENSEPAGE_CHECKBOX
       
   474     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TEXT_BOTTOM
       
   475   !endif
       
   476 !endif
       
   477 !ifdef XPUI_LICENSEPAGE_RADIOBUTTONS
       
   478   !ifndef XPUI_LICENSEPAGE_CHECKBOX
       
   479     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_LICENSEPAGE_TEXT_BOTTOM
       
   480   !endif
       
   481 !endif
       
   482 
       
   483 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_CAPTION
       
   484 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT
       
   485 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE
       
   486 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TEXT_CHECKBOX
       
   487 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_SUBTITLE
       
   488 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TITLE
       
   489 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TEXT_TOP
       
   490 !ifndef XPUI_UNLICENSEPAGE_RADIOBUTTONS
       
   491   !ifndef XPUI_UNLICENSEPAGE_CHECKBOX
       
   492     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TEXT_BOTTOM
       
   493   !endif
       
   494 !endif
       
   495 !ifndef XPUI_UNLICENSEPAGE_RADIOBUTTONS
       
   496   !ifdef XPUI_UNLICENSEPAGE_CHECKBOX
       
   497     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TEXT_BOTTOM
       
   498   !endif
       
   499 !endif
       
   500 !ifdef XPUI_UNLICENSEPAGE_RADIOBUTTONS
       
   501   !ifndef XPUI_UNLICENSEPAGE_CHECKBOX
       
   502     !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE XPUI_UNLICENSEPAGE_TEXT_BOTTOM
       
   503   !endif
       
   504 !endif
       
   505 
       
   506 ; COMPONENTS PAGE
       
   507 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_CAPTION
       
   508 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_SUBTITLE
       
   509 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_TITLE
       
   510 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE
       
   511 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO
       
   512 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_COMPONENTSPAGE_TEXT_SECLIST_NOINSTTYPE
       
   513 
       
   514 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_CAPTION
       
   515 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_SUBTITLE
       
   516 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_TITLE
       
   517 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_TEXT_DESCRIPTION_TITLE
       
   518 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_TEXT_DESCRIPTION_INFO
       
   519 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS XPUI_UNCOMPONENTSPAGE_TEXT_SECLIST_NOINSTTYPE
       
   520 
       
   521 ; DIRECTORY PAGE
       
   522 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_CAPTION
       
   523 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_TEXT_TOP
       
   524 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_TEXT_DESTINATION
       
   525 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_TEXT_BROWSE
       
   526 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_TEXT_BROWSEDIALOG
       
   527 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_TITLE
       
   528 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_DIRECTORYPAGE_SUBTITLE
       
   529 
       
   530 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_CAPTION
       
   531 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_TEXT_TOP
       
   532 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_TEXT_DESTINATION
       
   533 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_TEXT_BROWSE
       
   534 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_TEXT_BROWSEDIALOG
       
   535 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_TITLE
       
   536 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY XPUI_UNDIRECTORYPAGE_SUBTITLE
       
   537 
       
   538 ; START MENU PAGE
       
   539 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_STARTMENUPAGE_CAPTION
       
   540 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_STARTMENUPAGE_TITLE
       
   541 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_STARTMENUPAGE_SUBTITLE
       
   542 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_STARTMENUPAGE_TEXT
       
   543 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_STARTMENUPAGE_CHECKBOX
       
   544 
       
   545 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_UNSTARTMENUPAGE_CAPTION
       
   546 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_UNSTARTMENUPAGE_TITLE
       
   547 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_UNSTARTMENUPAGE_SUBTITLE
       
   548 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_UNSTARTMENUPAGE_TEXT
       
   549 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU XPUI_UNSTARTMENUPAGE_CHECKBOX
       
   550 
       
   551 ; INSTALL CONFIRM PAGE
       
   552 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_INSTCONFIRMPAGE_CAPTION
       
   553 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_INSTCONFIRMPAGE_SUBTITLE
       
   554 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_INSTCONFIRMPAGE_TITLE
       
   555 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_INSTCONFIRMPAGE_TEXT_TOP
       
   556 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_INSTCONFIRMPAGE_TEXT_BOTTOM
       
   557 
       
   558 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_UNINSTCONFIRMPAGE_CAPTION
       
   559 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_UNINSTCONFIRMPAGE_SUBTITLE
       
   560 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_UNINSTCONFIRMPAGE_TITLE
       
   561 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_UNINSTCONFIRMPAGE_TEXT_TOP
       
   562 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTCONFIRM XPUI_UNINSTCONFIRMPAGE_TEXT_BOTTOM
       
   563 
       
   564 ; INSTFILES PAGE
       
   565 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_CAPTION
       
   566 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_SUBTITLE
       
   567 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_TITLE
       
   568 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_DONE_TITLE
       
   569 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_DONE_SUBTITLE
       
   570 
       
   571 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_CAPTION
       
   572 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_SUBTITLE
       
   573 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_TITLE
       
   574 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_DONE_TITLE
       
   575 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_DONE_SUBTITLE
       
   576 
       
   577 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_FAIL_TITLE
       
   578 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_INSTFILESPAGE_FAIL_SUBTITLE
       
   579 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_FAIL_TITLE
       
   580 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES XPUI_UNINSTFILESPAGE_FAIL_SUBTITLE
       
   581 
       
   582 ; INSTALL SUCCESS PAGE
       
   583 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_INSTSUCCESSPAGE_CAPTION
       
   584 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_INSTSUCCESSPAGE_SUBTITLE
       
   585 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_INSTSUCCESSPAGE_TITLE
       
   586 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_INSTSUCCESSPAGE_TEXT_TOP
       
   587 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_INSTSUCCESSPAGE_TEXT_BOTTOM
       
   588 
       
   589 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_UNINSTSUCCESSPAGE_CAPTION
       
   590 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_UNINSTSUCCESSPAGE_SUBTITLE
       
   591 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_UNINSTSUCCESSPAGE_TITLE
       
   592 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_UNINSTSUCCESSPAGE_TEXT_TOP
       
   593 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE INSTSUCCESS XPUI_UNINSTSUCCESSPAGE_TEXT_BOTTOM
       
   594 
       
   595 ; FINISH PAGE
       
   596 
       
   597 ; compatibility
       
   598 ;!insertmacro XPUI_LANGUAGEFILE_LANGSTRING_ALIAS_PAGE FINISH XPUI_UNFINISHPAGE_CHECKBOX_RUN  XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_RUN
       
   599 ;!insertmacro XPUI_LANGUAGEFILE_LANGSTRING_ALIAS_PAGE FINISH XPUI_UNFINISHPAGE_CHECKBOX_DOCS XPUI_${XPUI_UN}FINISHPAGE_CHECKBOX_DOCS
       
   600 
       
   601 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TITLE
       
   602 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_SUBTITLE
       
   603 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_CAPTION
       
   604 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TEXT_TOP
       
   605 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TEXT_TOP_ALT
       
   606 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TEXT_RUN
       
   607 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TEXT_REBOOT
       
   608 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_TEXT
       
   609 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_CHECKBOX_RUN
       
   610 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_CHECKBOX_DOCS
       
   611 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_RADIOBUTTON_REBOOT
       
   612 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_RADIOBUTTON_NOREBOOT
       
   613 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_FINISHPAGE_REBOOT_MESSAGEBOX
       
   614 
       
   615 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TITLE
       
   616 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_SUBTITLE
       
   617 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_CAPTION
       
   618 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TEXT_TOP
       
   619 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TEXT_TOP_ALT
       
   620 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TEXT_REBOOT
       
   621 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TEXT
       
   622 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_TEXT_RUN
       
   623 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_RADIOBUTTON_REBOOT
       
   624 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_RADIOBUTTON_NOREBOOT
       
   625 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_CHECKBOX_RUN
       
   626 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_CHECKBOX_DOCS
       
   627 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH XPUI_UNFINISHPAGE_REBOOT_MESSAGEBOX
       
   628 
       
   629 ; UNINST CONFIRM PAGE
       
   630 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_UNINSTCONFIRMPAGE_NSIS_CAPTION
       
   631 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_UNINSTCONFIRMPAGE_NSIS_SUBTITLE
       
   632 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_UNINSTCONFIRMPAGE_NSIS_TITLE
       
   633 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_TOP
       
   634 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING XPUI_UNINSTCONFIRMPAGE_NSIS_TEXT_FOLDER
       
   635 
       
   636 ; ABORT PAGE
       
   637 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_ABORTPAGE_TEXT_TOP
       
   638 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_ABORTPAGE_TEXT
       
   639 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_ABORTPAGE_TITLE
       
   640 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_ABORTPAGE_SUBTITLE
       
   641 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_ABORTPAGE_CAPTION
       
   642 
       
   643 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_UNABORTPAGE_TEXT_TOP
       
   644 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_UNABORTPAGE_TEXT
       
   645 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_UNABORTPAGE_TITLE
       
   646 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_UNABORTPAGE_SUBTITLE
       
   647 !insertmacro XPUI_LANGUAGEFILE_LANGSTRING_PAGE ABORT XPUI_UNABORTPAGE_CAPTION
       
   648 
       
   649   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME `MUI_TEXT_WELCOME_INFO_TITLE`
       
   650   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE WELCOME `MUI_TEXT_WELCOME_INFO_TEXT`
       
   651 
       
   652   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE `MUI_TEXT_LICENSE_TITLE`
       
   653   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE `MUI_TEXT_LICENSE_SUBTITLE`
       
   654   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE LICENSE `MUI_INNERTEXT_LICENSE_TOP`
       
   655 
       
   656   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE `MUI_INNERTEXT_LICENSE_BOTTOM`
       
   657   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE `MUI_INNERTEXT_LICENSE_BOTTOM_CHECKBOX`
       
   658   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE LICENSE `MUI_INNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS`
       
   659 
       
   660   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS `MUI_TEXT_COMPONENTS_TITLE`
       
   661   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE COMPONENTS `MUI_TEXT_COMPONENTS_SUBTITLE`
       
   662   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE COMPONENTS `MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE`
       
   663   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE COMPONENTS `MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO`
       
   664 
       
   665   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY `MUI_TEXT_DIRECTORY_TITLE`
       
   666   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE DIRECTORY `MUI_TEXT_DIRECTORY_SUBTITLE`
       
   667 
       
   668   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU `MUI_TEXT_STARTMENU_TITLE`
       
   669   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU `MUI_TEXT_STARTMENU_SUBTITLE`
       
   670   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU `MUI_INNERTEXT_STARTMENU_TOP`
       
   671   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE STARTMENU `MUI_INNERTEXT_STARTMENU_CHECKBOX`
       
   672 
       
   673   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_INSTALLING_TITLE`
       
   674   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_INSTALLING_SUBTITLE`
       
   675 
       
   676   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_FINISH_TITLE`
       
   677   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_FINISH_SUBTITLE`
       
   678 
       
   679   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_ABORT_TITLE`
       
   680   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE INSTFILES `MUI_TEXT_ABORT_SUBTITLE`
       
   681 
       
   682   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE FINISH `MUI_BUTTONTEXT_FINISH`
       
   683   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_INFO_TITLE`
       
   684   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_INFO_TEXT`
       
   685   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_INFO_REBOOT`
       
   686   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_REBOOTNOW`
       
   687   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_REBOOTLATER`
       
   688   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_RUN`
       
   689   !insertmacro MUI_LANGUAGEFILE_MULTILANGSTRING_PAGE FINISH `MUI_TEXT_FINISH_SHOWREADME`
       
   690 
       
   691   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_DEFINE MUI_ABORTWARNING `MUI_TEXT_ABORTWARNING`
       
   692 
       
   693 
       
   694   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE WELCOME `MUI_UNTEXT_WELCOME_INFO_TITLE`
       
   695   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE WELCOME `MUI_UNTEXT_WELCOME_INFO_TEXT`
       
   696 
       
   697   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE CONFIRM `MUI_UNTEXT_CONFIRM_TITLE`
       
   698   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE CONFIRM `MUI_UNTEXT_CONFIRM_SUBTITLE`
       
   699 
       
   700   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE LICENSE `MUI_UNTEXT_LICENSE_TITLE`
       
   701   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE LICENSE `MUI_UNTEXT_LICENSE_SUBTITLE`
       
   702 
       
   703   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE LICENSE `MUI_UNINNERTEXT_LICENSE_BOTTOM`
       
   704   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE LICENSE `MUI_UNINNERTEXT_LICENSE_BOTTOM_CHECKBOX`
       
   705   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE LICENSE `MUI_UNINNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS`
       
   706 
       
   707   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE COMPONENTS `MUI_UNTEXT_COMPONENTS_TITLE`
       
   708   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE COMPONENTS `MUI_UNTEXT_COMPONENTS_SUBTITLE`
       
   709 
       
   710   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE DIRECTORY `MUI_UNTEXT_DIRECTORY_TITLE`
       
   711   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE DIRECTORY  `MUI_UNTEXT_DIRECTORY_SUBTITLE`
       
   712 
       
   713   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_UNINSTALLING_TITLE`
       
   714   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_UNINSTALLING_SUBTITLE`
       
   715 
       
   716   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_FINISH_TITLE`
       
   717   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_FINISH_SUBTITLE`
       
   718 
       
   719   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_ABORT_TITLE`
       
   720   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE INSTFILES `MUI_UNTEXT_ABORT_SUBTITLE`
       
   721 
       
   722   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE FINISH `MUI_UNTEXT_FINISH_INFO_TITLE`
       
   723   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE FINISH `MUI_UNTEXT_FINISH_INFO_TEXT`
       
   724   !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE FINISH `MUI_UNTEXT_FINISH_INFO_REBOOT`
       
   725 
       
   726   !insertmacro MUI_LANGUAGEFILE_LANGSTRING_DEFINE MUI_UNABORTWARNING `MUI_UNTEXT_ABORTWARNING`
       
   727 
       
   728 !macroend