Reference/!else: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "=!else= [if|ifdef|ifndef|ifmacrodef|ifmacrondef [...]] This command allows to easily insert different code when different defines or macros are set. You can create blocks l...") |
mNo edit summary |
||
| Line 10: | Line 10: | ||
OutFile installer.exe | OutFile installer.exe | ||
!endif</highlight-nsis> | !endif</highlight-nsis> | ||
''Command introduced with NSIS v1.2'' | |||
Latest revision as of 20:17, 4 June 2013
!else
[if|ifdef|ifndef|ifmacrodef|ifmacrondef [...]]
This command allows to easily insert different code when different defines or macros are set. You can create blocks like !ifdef/!else/!endif, !ifdef/!else ifdef/!else/!endif etc.
!ifdef VERSION OutFile installer-${VERSION}.exe !else OutFile installer.exe !endif
Command introduced with NSIS v1.2