Archive: MUI_SYSTEM macro not found


MUI_SYSTEM macro not found
Newbie question:

I have inherited a .nsi script created about two years ago and run sucessfully by my predecessor.

I tried to compile this script after installing NSIS2.0 on my machine resulting in the following:

!define: "MUI_NAME"="FAMAS Network Client Build 105"
!define: "VER_MAJOR"="2"
!define: "VER_MINOR"="0b0"
!define: "MUI_WELCOMEPAGE"=""
!define: "MUI_DIRECTORYPAGE"=""
!define: "MUI_FINISHPAGE"=""
!define: "MUI_FINISHPAGE_NOREBOOTSUPPORT"=""
!define: "MUI_ABORTWARNING"=""
!define: "MUI_TEXT_WELCOME_INFO"="\r\n\r\nThis will install FAMAS on your computer.\r\n\r\n\r\n\r\n"
!define: "MUI_UI"="C:\Program Files\NSIS\Contrib\UIs\modern.exe"
!insertmacro: MUI_LANGUAGE
warning: !warning: The MUI_PRODUCT and MUI_VERSION defines have been removed. Use a normal Name command now.
(macro:MUI_INSERT:3)
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_SYSTEM
!insertmacro: macro named "MUI_SYSTEM" not found!
Error in script "C:\PRG\famas\Source\Installers\famas_client.nsi" on line 15 -- aborting creation process

Am I seeing a version issue hear? Should I be using NSIS1?

I have attached the script.

Thank you for any help!

Jonathan


This is script code for a old development version of NSIS.

Have a look at the Modern UI Readme and the examples and update your code.

There have also been many topics about these things, please search the forum.


Thank you Joost. I will follow your suggestions!

Jonathan