367 |
367 |
368 !macro XPUI_INSTALLOPTIONS_EXTRACT FILE |
368 !macro XPUI_INSTALLOPTIONS_EXTRACT FILE |
369 !verbose push |
369 !verbose push |
370 !verbose ${XPUI_VERBOSE} |
370 !verbose ${XPUI_VERBOSE} |
371 InitPluginsDir |
371 InitPluginsDir |
372 File `/oname=$PLUGINSDIR\${FILE}` `${FILE}` |
372 IfFileExists "$PLUGINSDIR\${FILENAME}" +2 |
|
373 File `/oname=$PLUGINSDIR\${FILE}` `${FILE}` |
|
374 |
373 !insertmacro XPUI_INSTALLOPTIONS_WRITE `${FILE}` `Settings` `RTL` `$(^RTL)` |
375 !insertmacro XPUI_INSTALLOPTIONS_WRITE `${FILE}` `Settings` `RTL` `$(^RTL)` |
374 !verbose pop |
376 !verbose pop |
375 !macroend |
377 !macroend |
376 |
378 |
377 !macro XPUI_INSTALLOPTIONS_EXTRACT_AS FILE FILENAME |
379 !macro XPUI_INSTALLOPTIONS_EXTRACT_AS FILE FILENAME |
378 !verbose push |
380 !verbose push |
379 !verbose ${XPUI_VERBOSE} |
381 !verbose ${XPUI_VERBOSE} |
380 InitPluginsDir |
382 InitPluginsDir |
381 File `/oname=$PLUGINSDIR\${FILENAME}` `${FILE}` |
383 IfFileExists "$PLUGINSDIR\${FILENAME}" +2 |
|
384 File `/oname=$PLUGINSDIR\${FILENAME}` `${FILE}` |
|
385 |
382 !insertmacro XPUI_INSTALLOPTIONS_WRITE `${FILENAME}` `Settings` `RTL` `$(^RTL)` |
386 !insertmacro XPUI_INSTALLOPTIONS_WRITE `${FILENAME}` `Settings` `RTL` `$(^RTL)` |
383 !verbose pop |
387 !verbose pop |
384 !macroend |
388 !macroend |
385 |
389 |
386 !macro XPUI_INSTALLOPTIONS_DISPLAY FILE |
390 !macro XPUI_INSTALLOPTIONS_DISPLAY FILE |
1507 !endif |
1511 !endif |
1508 |
1512 |
1509 FindWindow $XPUI_HWND `#32770` `` $HWNDPARENT |
1513 FindWindow $XPUI_HWND `#32770` `` $HWNDPARENT |
1510 |
1514 |
1511 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1040 |
1515 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1040 |
1512 !insertmacro XPUI_CONTROL_SKIN $XPUI_TEMP1 |
1516 !insertmacro XPUI_CONTROL_SKIN_PAGE $XPUI_TEMP1 |
1513 SendMessage $XPUI_TEMP1 0xC 0 `STR:${XPUI_${XPUI_UN}LICENSEPAGE_TEXT_TOP}` |
1517 SendMessage $XPUI_TEMP1 0xC 0 `STR:${XPUI_${XPUI_UN}LICENSEPAGE_TEXT_TOP}` |
1514 |
1518 |
1515 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1006 |
1519 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1006 |
1516 !insertmacro XPUI_CONTROL_SKIN $XPUI_TEMP1 |
1520 !insertmacro XPUI_CONTROL_SKIN_PAGE $XPUI_TEMP1 |
1517 |
1521 |
1518 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1034 |
1522 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1034 |
1519 !insertmacro XPUI_CONTROL_SKIN_LIGHT $XPUI_TEMP1 |
1523 !insertmacro XPUI_CONTROL_SKIN_LIGHT $XPUI_TEMP1 |
1520 |
1524 |
1521 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1035 |
1525 GetDlgItem $XPUI_TEMP1 $XPUI_HWND 1035 |
1522 !insertmacro XPUI_CONTROL_SKIN_LIGHT $XPUI_TEMP1 |
1526 !insertmacro XPUI_CONTROL_SKIN_LIGHT $XPUI_TEMP1 |
1523 |
|
1524 !insertmacro XPUI_CONTROL_SKIN $XPUI_HWND |
|
1525 |
1527 |
1526 !ifndef XPUI_${XPUI_UN}LICENSEPAGE_RADIOBUTTONS |
1528 !ifndef XPUI_${XPUI_UN}LICENSEPAGE_RADIOBUTTONS |
1527 !ifndef XPUI_${XPUI_UN}LICENSEPAGE_CHECKBOX |
1529 !ifndef XPUI_${XPUI_UN}LICENSEPAGE_CHECKBOX |
1528 !insertmacro XPUI_INNERDIALOG_TEXT `${XPUI_${XPUI_UN}LICENSEPAGE_TEXT_BOTTOM}` 1006 |
1530 !insertmacro XPUI_INNERDIALOG_TEXT `${XPUI_${XPUI_UN}LICENSEPAGE_TEXT_BOTTOM}` 1006 |
1529 !endif |
1531 !endif |