home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Programming / nsis-2.46-setup.exe / Contrib / Modern UI 2 / Deprecated.nsh next >
Encoding:
Text File  |  2007-12-22  |  1.5 KB  |  73 lines

  1. /*
  2.  
  3. NSIS Modern User Interface
  4. Deprecated code - display warnings
  5.  
  6. */
  7.  
  8. ;--------------------------------
  9. ;InstallOptions
  10.  
  11. !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."
  12.  
  13. !macro MUI_INSTALLOPTIONS_EXTRACT FILE
  14.  
  15.   !error "${INSTALLOPTIONS_ERROR}"
  16.  
  17. !macroend
  18.  
  19. !macro MUI_INSTALLOPTIONS_EXTRACT_AS FILE FILENAME
  20.  
  21.   !error "${INSTALLOPTIONS_ERROR}"
  22.  
  23. !macroend
  24.  
  25. !macro MUI_INSTALLOPTIONS_DISPLAY FILE
  26.  
  27.   !error "${INSTALLOPTIONS_ERROR}"
  28.  
  29. !macroend
  30.  
  31. !macro MUI_INSTALLOPTIONS_DISPLAY_RETURN FILE
  32.  
  33.   !error "${INSTALLOPTIONS_ERROR}"
  34.  
  35. !macroend
  36.  
  37. !macro MUI_INSTALLOPTIONS_INITDIALOG FILE
  38.  
  39.   !error "${INSTALLOPTIONS_ERROR}"
  40.  
  41. !macroend
  42.  
  43. !macro MUI_INSTALLOPTIONS_SHOW
  44.  
  45.   !error "${INSTALLOPTIONS_ERROR}"
  46.  
  47. !macroend
  48.  
  49. !macro MUI_INSTALLOPTIONS_SHOW_RETURN
  50.  
  51.   !error "${INSTALLOPTIONS_ERROR}"
  52.  
  53. !macroend
  54.  
  55. !macro MUI_INSTALLOPTIONS_READ VAR FILE SECTION KEY
  56.  
  57.   !error "${INSTALLOPTIONS_ERROR}"
  58.  
  59. !macroend
  60.  
  61. !macro MUI_INSTALLOPTIONS_WRITE FILE SECTION KEY VALUE
  62.  
  63.   !error "${INSTALLOPTIONS_ERROR}"
  64.  
  65. !macroend
  66.  
  67. !macro MUI_RESERVEFILE_INSTALLOPTIONS
  68.  
  69.   !define MUI_DOLLAR "$"
  70.   !error "MUI_RESERVEFILE_INSTALLOPTIONS is no longer supported as InstallOptions is no longer used by MUI2. Instead, use ReserveFile '${MUI_DOLLAR}{NSISDIR}\Plugins\InstallOptions.dll'. It is also recommended to upgrade to nsDialogs."
  71.  
  72. !macroend
  73.