| 1 |
/* |
| 2 |
|
| 3 |
NSIS Modern User Interface |
| 4 |
Deprecated code - display warnings |
| 5 |
|
| 6 |
*/ |
| 7 |
|
| 8 |
|
| 9 |
!macro MUI_LEGACY_MAP_NOSTRETCH NAME R |
| 10 |
!if "${R}" != "" |
| 11 |
!ifdef ${NAME}NOSTRETCH |
| 12 |
!define /IfNDef ${NAME}STRETCH NoStretchNoCropNoAlign |
| 13 |
!endif |
| 14 |
!else |
| 15 |
!insertmacro ${__MACRO__} ${NAME}BITMAP_ 1 |
| 16 |
!insertmacro ${__MACRO__} ${NAME}BITMAP_RTL_ 1 |
| 17 |
!insertmacro ${__MACRO__} ${NAME}UNBITMAP_ 1 |
| 18 |
!insertmacro ${__MACRO__} ${NAME}UNBITMAP_RTL_ 1 |
| 19 |
!endif |
| 20 |
!macroend |
| 21 |
|
| 22 |
|
| 23 |
;-------------------------------- |
| 24 |
;InstallOptions |
| 25 |
|
| 26 |
!define INSTALLOPTIONS_ERROR "MUI_INSTALLOPTIONS_* macros are no longer a part of MUI2. Include InstallOptions.nsh and use INSTALLOPTIONS_* macros instead. It is also recommended to upgrade to nsDialogs." |
| 27 |
|
| 28 |
!macro MUI_INSTALLOPTIONS_EXTRACT FILE |
| 29 |
|
| 30 |
!error "${INSTALLOPTIONS_ERROR}" |
| 31 |
|
| 32 |
!macroend |
| 33 |
|
| 34 |
!macro MUI_INSTALLOPTIONS_EXTRACT_AS FILE FILENAME |
| 35 |
|
| 36 |
!error "${INSTALLOPTIONS_ERROR}" |
| 37 |
|
| 38 |
!macroend |
| 39 |
|
| 40 |
!macro MUI_INSTALLOPTIONS_DISPLAY FILE |
| 41 |
|
| 42 |
!error "${INSTALLOPTIONS_ERROR}" |
| 43 |
|
| 44 |
!macroend |
| 45 |
|
| 46 |
!macro MUI_INSTALLOPTIONS_DISPLAY_RETURN FILE |
| 47 |
|
| 48 |
!error "${INSTALLOPTIONS_ERROR}" |
| 49 |
|
| 50 |
!macroend |
| 51 |
|
| 52 |
!macro MUI_INSTALLOPTIONS_INITDIALOG FILE |
| 53 |
|
| 54 |
!error "${INSTALLOPTIONS_ERROR}" |
| 55 |
|
| 56 |
!macroend |
| 57 |
|
| 58 |
!macro MUI_INSTALLOPTIONS_SHOW |
| 59 |
|
| 60 |
!error "${INSTALLOPTIONS_ERROR}" |
| 61 |
|
| 62 |
!macroend |
| 63 |
|
| 64 |
!macro MUI_INSTALLOPTIONS_SHOW_RETURN |
| 65 |
|
| 66 |
!error "${INSTALLOPTIONS_ERROR}" |
| 67 |
|
| 68 |
!macroend |
| 69 |
|
| 70 |
!macro MUI_INSTALLOPTIONS_READ VAR FILE SECTION KEY |
| 71 |
|
| 72 |
!error "${INSTALLOPTIONS_ERROR}" |
| 73 |
|
| 74 |
!macroend |
| 75 |
|
| 76 |
!macro MUI_INSTALLOPTIONS_WRITE FILE SECTION KEY VALUE |
| 77 |
|
| 78 |
!error "${INSTALLOPTIONS_ERROR}" |
| 79 |
|
| 80 |
!macroend |
| 81 |
|
| 82 |
!macro MUI_RESERVEFILE_INSTALLOPTIONS |
| 83 |
|
| 84 |
!error `MUI_RESERVEFILE_INSTALLOPTIONS is no longer supported as InstallOptions is no longer used by MUI2. Instead, use "ReserveFile /plugin InstallOptions.dll". It is also recommended to upgrade to nsDialogs.` |
| 85 |
|
| 86 |
!macroend |