Skip to content
⌘ NSIS Forum Archive

How to call a macro?

3 posts

JohnChen#

How to call a macro?

For example, I define a macro like this,

!macro Test Name
MessageBox MB_OK "${Name}"
!macroend

I tried to call macro like,

!insertmacro Test "hello"

but it doesn't work.
JohnChen#
Originally Posted by Afrow UK View Post
What doesn't work?

Stu
Actually it works. Sorry for the false question.