Skip to content
⌘ NSIS Forum Archive

where to find 'PRINT' macro

4 posts

mhavoc#

where to find 'PRINT' macro

There are many awesome examples that uses lines such as...

!insertmacro PRINT "$(ERROR_MDAC_INVALID_PATH)"

but I can't seem to find the definition for or an example file for the PRINT macro. Can someone point me towards it?

thank you.
mhavoc#
There are a couple of examples in the archive that contain it...

Installing the .net Framework


Installing MDAC


Both examples appear to be by 'zimsms' (very nice examples btw), so I suppose they will be the ultimate answer but I wondered if it was a standard macro.

thanks.
kichik#
If zimsms wrote those examples, he's probably your best chance of getting the macro defintion.

According to other posts by zimsms, I think the macro is:
!macro PRINT text
SetDetailsPrint both
DetailPrint `${text}`
SetDetailsPrint none